RTEMS 4.11
Annotated Report
Tue Jan 25 17:46:00 2011

ffc0da90 <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 ) {                                              
ffc0da90:	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;                                   
ffc0da94:	81 23 00 10 	lwz     r9,16(r3)                              
  switch( node->type ) {                                              
ffc0da98:	80 0b 00 4c 	lwz     r0,76(r11)                             
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
ffc0da9c:	81 29 00 34 	lwz     r9,52(r9)                              
  switch( node->type ) {                                              
ffc0daa0:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc0daa4:	41 9d 00 28 	bgt-    cr7,ffc0dacc <IMFS_Set_handlers+0x3c>  <== NEVER TAKEN
ffc0daa8:	3d 60 ff c2 	lis     r11,-62                                
ffc0daac:	39 6b a2 98 	addi    r11,r11,-23912                         
ffc0dab0:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0dab4:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0dab8:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0dabc:	7d 69 03 a6 	mtctr   r11                                    
ffc0dac0:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
ffc0dac4:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0dac8:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0dacc:	38 60 00 00 	li      r3,0                                   
ffc0dad0:	4e 80 00 20 	blr                                            
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
ffc0dad4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0dad8:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0dadc:	38 60 00 00 	li      r3,0                                   
ffc0dae0:	4e 80 00 20 	blr                                            
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
ffc0dae4:	3d 20 ff c2 	lis     r9,-62                                 
ffc0dae8:	38 09 a3 38 	addi    r0,r9,-23752                           
ffc0daec:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0daf0:	38 60 00 00 	li      r3,0                                   
ffc0daf4:	4e 80 00 20 	blr                                            
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
ffc0daf8:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0dafc:	90 03 00 08 	stw     r0,8(r3)                               
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0db00:	38 60 00 00 	li      r3,0                                   
ffc0db04:	4e 80 00 20 	blr                                            
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
ffc0db08:	3d 20 ff c2 	lis     r9,-62                                 
ffc0db0c:	38 09 a2 c8 	addi    r0,r9,-23864                           
ffc0db10:	90 03 00 08 	stw     r0,8(r3)                               
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0db14:	38 60 00 00 	li      r3,0                                   
ffc0db18:	4e 80 00 20 	blr                                            
                                                                      

ffc0d748 <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
ffc0d748:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0d74c:	7c 08 02 a6 	mflr    r0                                     
ffc0d750:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0d754:	93 e1 00 24 	stw     r31,36(r1)                             
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
ffc0d758:	83 e3 00 00 	lwz     r31,0(r3)                              
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
ffc0d75c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0d760:	7c bd 2b 78 	mr      r29,r5                                 
ffc0d764:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0d768:	7c 9e 23 78 	mr      r30,r4                                 
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
ffc0d76c:	48 00 13 f9 	bl      ffc0eb64 <geteuid>                     
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
ffc0d770:	a0 1f 00 3c 	lhz     r0,60(r31)                             
ffc0d774:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc0d778:	41 9e 00 0c 	beq-    cr7,ffc0d784 <IMFS_chown+0x3c>         
ffc0d77c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d780:	40 9e 00 40 	bne-    cr7,ffc0d7c0 <IMFS_chown+0x78>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
ffc0d784:	b3 df 00 3c 	sth     r30,60(r31)                            
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc0d788:	38 61 00 08 	addi    r3,r1,8                                
ffc0d78c:	38 80 00 00 	li      r4,0                                   
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
ffc0d790:	b3 bf 00 3e 	sth     r29,62(r31)                            
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc0d794:	4b ff 73 e1 	bl      ffc04b74 <gettimeofday>                
ffc0d798:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc0d79c:	38 60 00 00 	li      r3,0                                   
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc0d7a0:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc0d7a4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0d7a8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d7ac:	7c 08 03 a6 	mtlr    r0                                     
ffc0d7b0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d7b4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d7b8:	38 21 00 28 	addi    r1,r1,40                               
ffc0d7bc:	4e 80 00 20 	blr                                            
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0d7c0:	48 00 5c 75 	bl      ffc13434 <__errno>                     
ffc0d7c4:	38 00 00 01 	li      r0,1                                   
ffc0d7c8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0d7cc:	38 60 ff ff 	li      r3,-1                                  
ffc0d7d0:	4b ff ff d4 	b       ffc0d7a4 <IMFS_chown+0x5c>             
                                                                      

ffc0d880 <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
ffc0d880:	7d 80 00 26 	mfcr    r12                                    
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
ffc0d884:	7c 69 1b 79 	mr.     r9,r3                                  
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0d888:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d88c:	7c 08 02 a6 	mflr    r0                                     
ffc0d890:	93 61 00 0c 	stw     r27,12(r1)                             
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
ffc0d894:	3b 60 00 00 	li      r27,0                                  
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0d898:	93 81 00 10 	stw     r28,16(r1)                             
ffc0d89c:	7c fc 3b 78 	mr      r28,r7                                 
ffc0d8a0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0d8a4:	7c 9f 23 78 	mr      r31,r4                                 
ffc0d8a8:	90 01 00 24 	stw     r0,36(r1)                              
ffc0d8ac:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0d8b0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0d8b4:	91 81 00 08 	stw     r12,8(r1)                              
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
ffc0d8b8:	41 82 00 b4 	beq-    ffc0d96c <IMFS_create_node+0xec>       <== NEVER TAKEN
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0d8bc:	2e 04 00 07 	cmpwi   cr4,r4,7                               
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0d8c0:	81 69 00 10 	lwz     r11,16(r9)                             
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
ffc0d8c4:	83 a9 00 00 	lwz     r29,0(r9)                              
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0d8c8:	83 cb 00 34 	lwz     r30,52(r11)                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0d8cc:	41 92 00 d0 	beq-    cr4,ffc0d99c <IMFS_create_node+0x11c>  
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
ffc0d8d0:	3d 20 00 00 	lis     r9,0                                   
ffc0d8d4:	81 29 27 24 	lwz     r9,10020(r9)                           
ffc0d8d8:	7c a4 2b 78 	mr      r4,r5                                  
ffc0d8dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d8e0:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0d8e4:	7c c5 00 78 	andc    r5,r6,r0                               
ffc0d8e8:	4b ff fe ed 	bl      ffc0d7d4 <IMFS_allocate_node>          
  if ( !node )                                                        
ffc0d8ec:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0d8f0:	41 82 00 7c 	beq-    ffc0d96c <IMFS_create_node+0xec>       
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
ffc0d8f4:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
ffc0d8f8:	41 9e 00 3c 	beq-    cr7,ffc0d934 <IMFS_create_node+0xb4>   
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
ffc0d8fc:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
ffc0d900:	41 9e 00 f4 	beq-    cr7,ffc0d9f4 <IMFS_create_node+0x174>  
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
ffc0d904:	2f 9f 00 04 	cmpwi   cr7,r31,4                              
ffc0d908:	41 9e 00 ec 	beq-    cr7,ffc0d9f4 <IMFS_create_node+0x174>  
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
ffc0d90c:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc0d910:	41 9e 00 d0 	beq-    cr7,ffc0d9e0 <IMFS_create_node+0x160>  
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
ffc0d914:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc0d918:	41 9e 00 e8 	beq-    cr7,ffc0da00 <IMFS_create_node+0x180>  
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
ffc0d91c:	2f 9f 00 05 	cmpwi   cr7,r31,5                              
ffc0d920:	41 9e 00 fc 	beq-    cr7,ffc0da1c <IMFS_create_node+0x19c>  
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
  } else if ( type == IMFS_FIFO ) {                                   
ffc0d924:	40 b2 00 28 	bne+    cr4,ffc0d94c <IMFS_create_node+0xcc>   <== NEVER TAKEN
    node->info.fifo.pipe = NULL;                                      
ffc0d928:	38 00 00 00 	li      r0,0                                   
ffc0d92c:	90 1b 00 50 	stw     r0,80(r27)                             
ffc0d930:	48 00 00 1c 	b       ffc0d94c <IMFS_create_node+0xcc>       
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 );                        
ffc0d934:	39 3b 00 54 	addi    r9,r27,84                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
ffc0d938:	38 1b 00 50 	addi    r0,r27,80                              
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d93c:	91 3b 00 50 	stw     r9,80(r27)                             
  head->previous = NULL;                                              
ffc0d940:	39 20 00 00 	li      r9,0                                   
ffc0d944:	91 3b 00 54 	stw     r9,84(r27)                             
  tail->previous = head;                                              
ffc0d948:	90 1b 00 58 	stw     r0,88(r27)                             
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
ffc0d94c:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0d950:	38 7d 00 50 	addi    r3,r29,80                              
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
ffc0d954:	93 bb 00 08 	stw     r29,8(r27)                             
ffc0d958:	7f 64 db 78 	mr      r4,r27                                 
  node->st_ino = ++fs_info->ino_count;                                
ffc0d95c:	38 09 00 01 	addi    r0,r9,1                                
ffc0d960:	90 1e 00 04 	stw     r0,4(r30)                              
ffc0d964:	90 1b 00 38 	stw     r0,56(r27)                             
ffc0d968:	4b ff c1 8d 	bl      ffc09af4 <_Chain_Append>               
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
ffc0d96c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d970:	7f 63 db 78 	mr      r3,r27                                 
ffc0d974:	81 81 00 08 	lwz     r12,8(r1)                              
ffc0d978:	7c 08 03 a6 	mtlr    r0                                     
ffc0d97c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d980:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d984:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0d988:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d98c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d990:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d994:	38 21 00 20 	addi    r1,r1,32                               
ffc0d998:	4e 80 00 20 	blr                                            
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0d99c:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0d9a0:	3d 60 ff c2 	lis     r11,-62                                
ffc0d9a4:	38 0b a2 30 	addi    r0,r11,-24016                          
ffc0d9a8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0d9ac:	40 be ff 24 	bne-    cr7,ffc0d8d0 <IMFS_create_node+0x50>   
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
ffc0d9b0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d9b4:	7f 63 db 78 	mr      r3,r27                                 
ffc0d9b8:	81 81 00 08 	lwz     r12,8(r1)                              
ffc0d9bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0d9c0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d9c4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d9c8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0d9cc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d9d0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d9d4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d9d8:	38 21 00 20 	addi    r1,r1,32                               
ffc0d9dc:	4e 80 00 20 	blr                                            
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
ffc0d9e0:	81 3c 00 00 	lwz     r9,0(r28)                              
    node->info.device.minor = info->device.minor;                     
ffc0d9e4:	80 1c 00 04 	lwz     r0,4(r28)                              
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
ffc0d9e8:	91 3b 00 50 	stw     r9,80(r27)                             
    node->info.device.minor = info->device.minor;                     
ffc0d9ec:	90 1b 00 54 	stw     r0,84(r27)                             
ffc0d9f0:	4b ff ff 5c 	b       ffc0d94c <IMFS_create_node+0xcc>       
  if ( type == IMFS_DIRECTORY ) {                                     
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
ffc0d9f4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0d9f8:	90 1b 00 50 	stw     r0,80(r27)                             
ffc0d9fc:	4b ff ff 50 	b       ffc0d94c <IMFS_create_node+0xcc>       
  } 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;                              
ffc0da00:	39 20 00 00 	li      r9,0                                   
ffc0da04:	39 40 00 00 	li      r10,0                                  
ffc0da08:	91 3b 00 50 	stw     r9,80(r27)                             
    node->info.linearfile.direct    = 0;                              
ffc0da0c:	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;                              
ffc0da10:	91 5b 00 54 	stw     r10,84(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0da14:	90 1b 00 58 	stw     r0,88(r27)                             
ffc0da18:	4b ff ff 34 	b       ffc0d94c <IMFS_create_node+0xcc>       
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
ffc0da1c:	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;                            
ffc0da20:	39 20 00 00 	li      r9,0                                   
      node->info.file.indirect        = 0;                            
ffc0da24:	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;                            
ffc0da28:	39 40 00 00 	li      r10,0                                  
ffc0da2c:	91 3b 00 50 	stw     r9,80(r27)                             
ffc0da30:	91 5b 00 54 	stw     r10,84(r27)                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
ffc0da34:	90 1b 00 5c 	stw     r0,92(r27)                             
      node->info.file.triply_indirect = 0;                            
ffc0da38:	90 1b 00 60 	stw     r0,96(r27)                             
ffc0da3c:	4b ff ff 10 	b       ffc0d94c <IMFS_create_node+0xcc>       
                                                                      

ffc073a0 <IMFS_dump_directory>: */ void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
ffc073a0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc073a4:	7d 80 00 26 	mfcr    r12                                    
ffc073a8:	7c 08 02 a6 	mflr    r0                                     
ffc073ac:	93 41 00 18 	stw     r26,24(r1)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc073b0:	3b 43 00 54 	addi    r26,r3,84                              
ffc073b4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc073b8:	7c 9d 23 78 	mr      r29,r4                                 
ffc073bc:	90 01 00 34 	stw     r0,52(r1)                              
ffc073c0:	93 01 00 10 	stw     r24,16(r1)                             
ffc073c4:	93 21 00 14 	stw     r25,20(r1)                             
ffc073c8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc073cc:	93 81 00 20 	stw     r28,32(r1)                             
ffc073d0:	93 c1 00 28 	stw     r30,40(r1)                             
ffc073d4:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc073d8:	91 81 00 0c 	stw     r12,12(r1)                             
 *                                                                    
 */                                                                   
int IMFS_memfile_maximum_size( void )                                 
{                                                                     
  return IMFS_MEMFILE_MAXIMUM_SIZE;                                   
}                                                                     
ffc073dc:	83 63 00 50 	lwz     r27,80(r3)                             
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc073e0:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc073e4:	41 9e 00 68 	beq-    cr7,ffc0744c <IMFS_dump_directory+0xac>
ffc073e8:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc073ec:	3f 80 ff c3 	lis     r28,-61                                
ffc073f0:	3b 9c b0 a4 	addi    r28,r28,-20316                         
ffc073f4:	3f 20 00 00 	lis     r25,0                                  
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
ffc073f8:	3b 04 00 01 	addi    r24,r4,1                               
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
ffc073fc:	41 90 00 30 	blt-    cr4,ffc0742c <IMFS_dump_directory+0x8c><== NEVER TAKEN
ffc07400:	3b e0 00 00 	li      r31,0                                  
ffc07404:	3b d9 27 78 	addi    r30,r25,10104                          
      fprintf(stdout, "...." );                                       
ffc07408:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0740c:	7f 83 e3 78 	mr      r3,r28                                 
ffc07410:	38 80 00 01 	li      r4,1                                   
ffc07414:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc07418:	38 a0 00 04 	li      r5,4                                   
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
ffc0741c:	3b ff 00 01 	addi    r31,r31,1                              
      fprintf(stdout, "...." );                                       
ffc07420:	48 01 2a 01 	bl      ffc19e20 <fwrite>                      
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
ffc07424:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc07428:	40 9c ff e0 	bge+    cr7,ffc07408 <IMFS_dump_directory+0x68>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
ffc0742c:	7f 63 db 78 	mr      r3,r27                                 
ffc07430:	4b ff fd e9 	bl      ffc07218 <IMFS_print_jnode>            
    if ( the_jnode->type == IMFS_DIRECTORY )                          
ffc07434:	80 1b 00 4c 	lwz     r0,76(r27)                             
ffc07438:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0743c:	41 9e 00 48 	beq-    cr7,ffc07484 <IMFS_dump_directory+0xe4>
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
ffc07440:	83 7b 00 00 	lwz     r27,0(r27)                             
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc07444:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc07448:	40 9e ff b4 	bne+    cr7,ffc073fc <IMFS_dump_directory+0x5c>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
ffc0744c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07450:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc07454:	7c 08 03 a6 	mtlr    r0                                     
ffc07458:	83 01 00 10 	lwz     r24,16(r1)                             
ffc0745c:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07460:	7d 80 81 20 	mtcrf   8,r12                                  
ffc07464:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07468:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0746c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07470:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07474:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07478:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0747c:	38 21 00 30 	addi    r1,r1,48                               
ffc07480:	4e 80 00 20 	blr                                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
ffc07484:	7f 63 db 78 	mr      r3,r27                                 
ffc07488:	7f 04 c3 78 	mr      r4,r24                                 
ffc0748c:	4b ff ff 15 	bl      ffc073a0 <IMFS_dump_directory>         
ffc07490:	4b ff ff b0 	b       ffc07440 <IMFS_dump_directory+0xa0>    
                                                                      

ffc0dc24 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
ffc0dc24:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc0dc28:	7c 08 02 a6 	mflr    r0                                     
ffc0dc2c:	90 01 00 74 	stw     r0,116(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 ) ) {                       
ffc0dc30:	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 */       
                   )                                                  
{                                                                     
ffc0dc34:	93 01 00 50 	stw     r24,80(r1)                             
ffc0dc38:	7c b8 2b 78 	mr      r24,r5                                 
ffc0dc3c:	93 41 00 58 	stw     r26,88(r1)                             
ffc0dc40:	7c 7a 1b 78 	mr      r26,r3                                 
ffc0dc44:	93 81 00 60 	stw     r28,96(r1)                             
ffc0dc48:	7c dc 33 78 	mr      r28,r6                                 
ffc0dc4c:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc0dc50:	7c 9f 23 78 	mr      r31,r4                                 
ffc0dc54:	92 c1 00 48 	stw     r22,72(r1)                             
ffc0dc58:	92 e1 00 4c 	stw     r23,76(r1)                             
ffc0dc5c:	93 21 00 54 	stw     r25,84(r1)                             
ffc0dc60:	93 61 00 5c 	stw     r27,92(r1)                             
ffc0dc64:	93 a1 00 64 	stw     r29,100(r1)                            
ffc0dc68:	93 c1 00 68 	stw     r30,104(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 ) ) {                       
ffc0dc6c:	40 82 02 9c 	bne-    ffc0df08 <IMFS_eval_path+0x2e4>        <== NEVER TAKEN
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
ffc0dc70:	83 a6 00 00 	lwz     r29,0(r6)                              
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
ffc0dc74:	3b c0 00 00 	li      r30,0                                  
ffc0dc78:	3b 61 00 20 	addi    r27,r1,32                              
ffc0dc7c:	3b 21 00 08 	addi    r25,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 )
ffc0dc80:	3e e0 00 00 	lis     r23,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 );  
ffc0dc84:	7c 7a f2 14 	add     r3,r26,r30                             
ffc0dc88:	7f e4 fb 78 	mr      r4,r31                                 
ffc0dc8c:	7f 65 db 78 	mr      r5,r27                                 
ffc0dc90:	7f 26 cb 78 	mr      r6,r25                                 
ffc0dc94:	48 00 09 79 	bl      ffc0e60c <IMFS_get_token>              
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0dc98:	81 3c 00 00 	lwz     r9,0(r28)                              
   *  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 );  
ffc0dc9c:	7c 76 1b 78 	mr      r22,r3                                 
    pathnamelen -= len;                                               
ffc0dca0:	80 01 00 08 	lwz     r0,8(r1)                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0dca4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dca8:	41 9e 02 18 	beq-    cr7,ffc0dec0 <IMFS_eval_path+0x29c>    <== 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 )                                  
ffc0dcac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
ffc0dcb0:	7f e0 f8 50 	subf    r31,r0,r31                             
    i += len;                                                         
ffc0dcb4:	7f de 02 14 	add     r30,r30,r0                             
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0dcb8:	40 9e 00 44 	bne-    cr7,ffc0dcfc <IMFS_eval_path+0xd8>     
   *  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 ) {                               
ffc0dcbc:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0dcc0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0dcc4:	41 9e 01 50 	beq-    cr7,ffc0de14 <IMFS_eval_path+0x1f0>    
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0dcc8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0dccc:	4b ff fd c5 	bl      ffc0da90 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0dcd0:	7f 04 c3 78 	mr      r4,r24                                 
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0dcd4:	7c 76 1b 78 	mr      r22,r3                                 
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0dcd8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0dcdc:	4b ff fe 41 	bl      ffc0db1c <IMFS_evaluate_permission>    
ffc0dce0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0dce4:	40 be 00 d8 	bne+    cr7,ffc0ddbc <IMFS_eval_path+0x198>    
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0dce8:	48 00 57 4d 	bl      ffc13434 <__errno>                     
ffc0dcec:	38 00 00 0d 	li      r0,13                                  
ffc0dcf0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0dcf4:	3a c0 ff ff 	li      r22,-1                                 
ffc0dcf8:	48 00 00 c4 	b       ffc0ddbc <IMFS_eval_path+0x198>        
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
ffc0dcfc:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc0dd00:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0dd04:	41 9e 00 f4 	beq-    cr7,ffc0ddf8 <IMFS_eval_path+0x1d4>    
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0dd08:	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;                                      
ffc0dd0c:	7d 3d 4b 78 	mr      r29,r9                                 
                                                                      
    switch( type ) {                                                  
ffc0dd10:	41 9e 00 1c 	beq-    cr7,ffc0dd2c <IMFS_eval_path+0x108>    
ffc0dd14:	2f 96 00 04 	cmpwi   cr7,r22,4                              
ffc0dd18:	41 9e 00 94 	beq-    cr7,ffc0ddac <IMFS_eval_path+0x188>    
ffc0dd1c:	2f 16 00 02 	cmpwi   cr6,r22,2                              
ffc0dd20:	41 9a 00 50 	beq-    cr6,ffc0dd70 <IMFS_eval_path+0x14c>    
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0dd24:	40 9e ff 60 	bne+    cr7,ffc0dc84 <IMFS_eval_path+0x60>     <== ALWAYS TAKEN
ffc0dd28:	4b ff ff 94 	b       ffc0dcbc <IMFS_eval_path+0x98>         <== NOT EXECUTED
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0dd2c:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0dd30:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0dd34:	41 9e 01 a0 	beq-    cr7,ffc0ded4 <IMFS_eval_path+0x2b0>    
	   * It would be a design error if we evaluated the link and         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0dd38:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0dd3c:	41 9e 01 f4 	beq-    cr7,ffc0df30 <IMFS_eval_path+0x30c>    
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
ffc0dd40:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0dd44:	40 9e 01 d8 	bne-    cr7,ffc0df1c <IMFS_eval_path+0x2f8>    
                                                                      
        /*                                                            
         *  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 ) {                   
ffc0dd48:	80 fd 00 5c 	lwz     r7,92(r29)                             
ffc0dd4c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0dd50:	40 9e 00 d0 	bne-    cr7,ffc0de20 <IMFS_eval_path+0x1fc>    
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
ffc0dd54:	7f a3 eb 78 	mr      r3,r29                                 
ffc0dd58:	7f 64 db 78 	mr      r4,r27                                 
ffc0dd5c:	48 00 07 fd 	bl      ffc0e558 <IMFS_find_match_in_dir>      
        if ( !node )                                                  
ffc0dd60:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0dd64:	41 82 01 5c 	beq-    ffc0dec0 <IMFS_eval_path+0x29c>        
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
ffc0dd68:	93 bc 00 00 	stw     r29,0(r28)                             
ffc0dd6c:	4b ff ff 18 	b       ffc0dc84 <IMFS_eval_path+0x60>         
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0dd70:	81 77 27 24 	lwz     r11,10020(r23)                         
ffc0dd74:	80 0b 00 18 	lwz     r0,24(r11)                             
ffc0dd78:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0dd7c:	41 be ff 08 	beq-    cr7,ffc0dc84 <IMFS_eval_path+0x60>     
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
ffc0dd80:	80 fc 00 10 	lwz     r7,16(r28)                             
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
ffc0dd84:	80 07 00 1c 	lwz     r0,28(r7)                              
ffc0dd88:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0dd8c:	41 9e 01 60 	beq-    cr7,ffc0deec <IMFS_eval_path+0x2c8>    
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0dd90:	83 a9 00 08 	lwz     r29,8(r9)                              
ffc0dd94:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0dd98:	40 9e ff d0 	bne+    cr7,ffc0dd68 <IMFS_eval_path+0x144>    
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0dd9c:	48 00 56 99 	bl      ffc13434 <__errno>                     
ffc0dda0:	92 c3 00 00 	stw     r22,0(r3)                              
ffc0dda4:	3a c0 ff ff 	li      r22,-1                                 
ffc0dda8:	48 00 00 14 	b       ffc0ddbc <IMFS_eval_path+0x198>        
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0ddac:	48 00 56 89 	bl      ffc13434 <__errno>                     
ffc0ddb0:	38 00 00 5b 	li      r0,91                                  
ffc0ddb4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ddb8:	3a c0 ff ff 	li      r22,-1                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0ddbc:	80 01 00 74 	lwz     r0,116(r1)                             
ffc0ddc0:	7e c3 b3 78 	mr      r3,r22                                 
ffc0ddc4:	82 e1 00 4c 	lwz     r23,76(r1)                             
ffc0ddc8:	7c 08 03 a6 	mtlr    r0                                     
ffc0ddcc:	82 c1 00 48 	lwz     r22,72(r1)                             
ffc0ddd0:	83 01 00 50 	lwz     r24,80(r1)                             
ffc0ddd4:	83 21 00 54 	lwz     r25,84(r1)                             
ffc0ddd8:	83 41 00 58 	lwz     r26,88(r1)                             
ffc0dddc:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc0dde0:	83 81 00 60 	lwz     r28,96(r1)                             
ffc0dde4:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc0dde8:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc0ddec:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc0ddf0:	38 21 00 70 	addi    r1,r1,112                              
ffc0ddf4:	4e 80 00 20 	blr                                            
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0ddf8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ddfc:	38 80 00 01 	li      r4,1                                   
ffc0de00:	4b ff fd 1d 	bl      ffc0db1c <IMFS_evaluate_permission>    
ffc0de04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0de08:	41 be fe e0 	beq-    cr7,ffc0dce8 <IMFS_eval_path+0xc4>     
ffc0de0c:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc0de10:	4b ff fe f8 	b       ffc0dd08 <IMFS_eval_path+0xe4>         
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
ffc0de14:	80 e9 00 5c 	lwz     r7,92(r9)                              
ffc0de18:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0de1c:	41 be fe ac 	beq-    cr7,ffc0dcc8 <IMFS_eval_path+0xa4>     
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de20:	80 81 00 08 	lwz     r4,8(r1)                               
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
ffc0de24:	81 27 00 28 	lwz     r9,40(r7)                              
ffc0de28:	81 07 00 1c 	lwz     r8,28(r7)                              
ffc0de2c:	81 47 00 20 	lwz     r10,32(r7)                             
ffc0de30:	81 67 00 24 	lwz     r11,36(r7)                             
ffc0de34:	80 07 00 2c 	lwz     r0,44(r7)                              
ffc0de38:	90 01 00 1c 	stw     r0,28(r1)                              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de3c:	7c 64 f0 50 	subf    r3,r4,r30                              
ffc0de40:	7c 7a 1a 14 	add     r3,r26,r3                              
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
ffc0de44:	91 01 00 0c 	stw     r8,12(r1)                              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de48:	7c 9f 22 14 	add     r4,r31,r4                              
ffc0de4c:	7f 05 c3 78 	mr      r5,r24                                 
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
ffc0de50:	91 41 00 10 	stw     r10,16(r1)                             
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de54:	7f 86 e3 78 	mr      r6,r28                                 
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
ffc0de58:	91 61 00 14 	stw     r11,20(r1)                             
ffc0de5c:	91 21 00 18 	stw     r9,24(r1)                              
      *pathloc = newloc;                                              
ffc0de60:	90 1c 00 10 	stw     r0,16(r28)                             
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de64:	80 09 00 00 	lwz     r0,0(r9)                               
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
ffc0de68:	91 1c 00 00 	stw     r8,0(r28)                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de6c:	7c 09 03 a6 	mtctr   r0                                     
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
ffc0de70:	91 5c 00 04 	stw     r10,4(r28)                             
ffc0de74:	91 7c 00 08 	stw     r11,8(r28)                             
ffc0de78:	91 3c 00 0c 	stw     r9,12(r28)                             
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de7c:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0de80:	80 01 00 74 	lwz     r0,116(r1)                             
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0de84:	7c 76 1b 78 	mr      r22,r3                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0de88:	82 e1 00 4c 	lwz     r23,76(r1)                             
ffc0de8c:	7c 08 03 a6 	mtlr    r0                                     
ffc0de90:	7e c3 b3 78 	mr      r3,r22                                 
ffc0de94:	83 01 00 50 	lwz     r24,80(r1)                             
ffc0de98:	82 c1 00 48 	lwz     r22,72(r1)                             
ffc0de9c:	83 21 00 54 	lwz     r25,84(r1)                             
ffc0dea0:	83 41 00 58 	lwz     r26,88(r1)                             
ffc0dea4:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc0dea8:	83 81 00 60 	lwz     r28,96(r1)                             
ffc0deac:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc0deb0:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc0deb4:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc0deb8:	38 21 00 70 	addi    r1,r1,112                              
ffc0debc:	4e 80 00 20 	blr                                            
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
ffc0dec0:	48 00 55 75 	bl      ffc13434 <__errno>                     
ffc0dec4:	38 00 00 02 	li      r0,2                                   
ffc0dec8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0decc:	3a c0 ff ff 	li      r22,-1                                 
ffc0ded0:	4b ff fe ec 	b       ffc0ddbc <IMFS_eval_path+0x198>        
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
          IMFS_evaluate_hard_link( pathloc, 0 );                      
ffc0ded4:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ded8:	38 80 00 00 	li      r4,0                                   
ffc0dedc:	4b ff fc e1 	bl      ffc0dbbc <IMFS_evaluate_hard_link>     
          node = pathloc->node_access;                                
ffc0dee0:	83 bc 00 00 	lwz     r29,0(r28)                             
ffc0dee4:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc0dee8:	4b ff fe 58 	b       ffc0dd40 <IMFS_eval_path+0x11c>        
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
ffc0deec:	80 81 00 08 	lwz     r4,8(r1)                               
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
ffc0def0:	81 27 00 14 	lwz     r9,20(r7)                              
ffc0def4:	81 07 00 08 	lwz     r8,8(r7)                               
ffc0def8:	81 47 00 0c 	lwz     r10,12(r7)                             
ffc0defc:	81 67 00 10 	lwz     r11,16(r7)                             
ffc0df00:	80 07 00 18 	lwz     r0,24(r7)                              
ffc0df04:	4b ff ff 34 	b       ffc0de38 <IMFS_eval_path+0x214>        
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
ffc0df08:	48 00 55 2d 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc0df0c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0df10:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0df14:	3a c0 ff ff 	li      r22,-1                                 <== NOT EXECUTED
ffc0df18:	4b ff fe a4 	b       ffc0ddbc <IMFS_eval_path+0x198>        <== NOT EXECUTED
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
ffc0df1c:	48 00 55 19 	bl      ffc13434 <__errno>                     
ffc0df20:	38 00 00 14 	li      r0,20                                  
ffc0df24:	90 03 00 00 	stw     r0,0(r3)                               
ffc0df28:	3a c0 ff ff 	li      r22,-1                                 
ffc0df2c:	4b ff fe 90 	b       ffc0ddbc <IMFS_eval_path+0x198>        
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
ffc0df30:	7f 83 e3 78 	mr      r3,r28                                 
ffc0df34:	38 80 00 00 	li      r4,0                                   
ffc0df38:	48 00 00 1d 	bl      ffc0df54 <IMFS_evaluate_sym_link>      
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
ffc0df3c:	83 bc 00 00 	lwz     r29,0(r28)                             
          if ( result == -1 )                                         
ffc0df40:	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 );              
ffc0df44:	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 )                                         
ffc0df48:	41 be fe 74 	beq-    cr7,ffc0ddbc <IMFS_eval_path+0x198>    <== NEVER TAKEN
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
ffc0df4c:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc0df50:	4b ff fd f0 	b       ffc0dd40 <IMFS_eval_path+0x11c>        
                                                                      

ffc0e120 <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 */ ) {
ffc0e120:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0e124:	7c 08 02 a6 	mflr    r0                                     
ffc0e128:	7d 80 00 26 	mfcr    r12                                    
ffc0e12c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0e130:	92 e1 00 54 	stw     r23,84(r1)                             
ffc0e134:	7c b7 2b 78 	mr      r23,r5                                 
ffc0e138:	93 01 00 58 	stw     r24,88(r1)                             
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e13c:	3f 00 00 00 	lis     r24,0                                  
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
ffc0e140:	93 21 00 5c 	stw     r25,92(r1)                             
ffc0e144:	3b 21 00 08 	addi    r25,r1,8                               
ffc0e148:	93 41 00 60 	stw     r26,96(r1)                             
ffc0e14c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc0e150:	93 61 00 64 	stw     r27,100(r1)                            
ffc0e154:	3b 61 00 20 	addi    r27,r1,32                              
ffc0e158:	93 81 00 68 	stw     r28,104(r1)                            
  int                                 i = 0;                          
ffc0e15c:	3b 80 00 00 	li      r28,0                                  
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
ffc0e160:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc0e164:	7c 9d 23 78 	mr      r29,r4                                 
ffc0e168:	93 c1 00 70 	stw     r30,112(r1)                            
ffc0e16c:	93 e1 00 74 	stw     r31,116(r1)                            
ffc0e170:	92 a1 00 4c 	stw     r21,76(r1)                             
ffc0e174:	92 c1 00 50 	stw     r22,80(r1)                             
ffc0e178:	91 81 00 48 	stw     r12,72(r1)                             
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
ffc0e17c:	83 c4 00 00 	lwz     r30,0(r4)                              
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
ffc0e180:	48 00 65 3d 	bl      ffc146bc <strlen>                      
ffc0e184:	7c 7f 1b 78 	mr      r31,r3                                 
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0e188:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e18c:	7c 7a e2 14 	add     r3,r26,r28                             
ffc0e190:	7f 65 db 78 	mr      r5,r27                                 
ffc0e194:	7f 26 cb 78 	mr      r6,r25                                 
ffc0e198:	48 00 04 75 	bl      ffc0e60c <IMFS_get_token>              
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e19c:	81 3d 00 00 	lwz     r9,0(r29)                              
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0e1a0:	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 );          
ffc0e1a4:	7c 76 1b 78 	mr      r22,r3                                 
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e1a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0e1ac:	7f f5 f8 50 	subf    r31,r21,r31                            
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0e1b0:	41 9e 01 7c 	beq-    cr7,ffc0e32c <IMFS_evaluate_for_make+0x20c><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0e1b4:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc0e1b8:	40 92 00 5c 	bne-    cr4,ffc0e214 <IMFS_evaluate_for_make+0xf4>
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
ffc0e1bc:	48 00 52 79 	bl      ffc13434 <__errno>                     
ffc0e1c0:	38 00 00 11 	li      r0,17                                  
ffc0e1c4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e1c8:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e1cc:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0e1d0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e1d4:	81 81 00 48 	lwz     r12,72(r1)                             
ffc0e1d8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e1dc:	82 a1 00 4c 	lwz     r21,76(r1)                             
ffc0e1e0:	82 c1 00 50 	lwz     r22,80(r1)                             
ffc0e1e4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0e1e8:	82 e1 00 54 	lwz     r23,84(r1)                             
ffc0e1ec:	83 01 00 58 	lwz     r24,88(r1)                             
ffc0e1f0:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc0e1f4:	83 41 00 60 	lwz     r26,96(r1)                             
ffc0e1f8:	83 61 00 64 	lwz     r27,100(r1)                            
ffc0e1fc:	83 81 00 68 	lwz     r28,104(r1)                            
ffc0e200:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc0e204:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc0e208:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0e20c:	38 21 00 78 	addi    r1,r1,120                              
ffc0e210:	4e 80 00 20 	blr                                            
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
ffc0e214:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e218:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e21c:	41 9e 01 24 	beq-    cr7,ffc0e340 <IMFS_evaluate_for_make+0x220>
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0e220:	2f 96 00 02 	cmpwi   cr7,r22,2                              
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
ffc0e224:	7f 9c aa 14 	add     r28,r28,r21                            
    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;                                      
ffc0e228:	7d 3e 4b 78 	mr      r30,r9                                 
                                                                      
    switch( type ) {                                                  
ffc0e22c:	41 9e 00 88 	beq-    cr7,ffc0e2b4 <IMFS_evaluate_for_make+0x194>
ffc0e230:	2b 96 00 02 	cmplwi  cr7,r22,2                              
ffc0e234:	40 9d 00 28 	ble-    cr7,ffc0e25c <IMFS_evaluate_for_make+0x13c>
ffc0e238:	2f 96 00 03 	cmpwi   cr7,r22,3                              
ffc0e23c:	41 9e 00 28 	beq-    cr7,ffc0e264 <IMFS_evaluate_for_make+0x144>
ffc0e240:	2f 96 00 04 	cmpwi   cr7,r22,4                              
ffc0e244:	40 9e ff 44 	bne+    cr7,ffc0e188 <IMFS_evaluate_for_make+0x68><== NEVER TAKEN
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0e248:	48 00 51 ed 	bl      ffc13434 <__errno>                     
ffc0e24c:	38 00 00 5b 	li      r0,91                                  
ffc0e250:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e254:	3b c0 ff ff 	li      r30,-1                                 
ffc0e258:	4b ff ff 74 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0e25c:	41 b2 ff 60 	beq-    cr4,ffc0e1bc <IMFS_evaluate_for_make+0x9c><== NEVER TAKEN
ffc0e260:	4b ff ff 28 	b       ffc0e188 <IMFS_evaluate_for_make+0x68> 
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
ffc0e264:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0e268:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0e26c:	41 9e 01 c4 	beq-    cr7,ffc0e430 <IMFS_evaluate_for_make+0x310>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
ffc0e270:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0e274:	41 9e 01 bc 	beq-    cr7,ffc0e430 <IMFS_evaluate_for_make+0x310>
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
ffc0e278:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e27c:	41 9e 01 88 	beq-    cr7,ffc0e404 <IMFS_evaluate_for_make+0x2e4><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
ffc0e280:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e284:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e288:	40 9e 01 7c 	bne-    cr7,ffc0e404 <IMFS_evaluate_for_make+0x2e4>
	/*                                                                   
	 * 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 ) {                   
ffc0e28c:	80 fe 00 5c 	lwz     r7,92(r30)                             
ffc0e290:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0e294:	40 9e 01 84 	bne-    cr7,ffc0e418 <IMFS_evaluate_for_make+0x2f8>
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
ffc0e298:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e29c:	7f 64 db 78 	mr      r4,r27                                 
ffc0e2a0:	48 00 02 b9 	bl      ffc0e558 <IMFS_find_match_in_dir>      
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
ffc0e2a4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0e2a8:	41 82 00 48 	beq-    ffc0e2f0 <IMFS_evaluate_for_make+0x1d0>
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
ffc0e2ac:	93 dd 00 00 	stw     r30,0(r29)                             
ffc0e2b0:	4b ff fe d8 	b       ffc0e188 <IMFS_evaluate_for_make+0x68> 
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0e2b4:	81 78 27 24 	lwz     r11,10020(r24)                         
ffc0e2b8:	80 0b 00 18 	lwz     r0,24(r11)                             
ffc0e2bc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0e2c0:	41 be fe c8 	beq-    cr7,ffc0e188 <IMFS_evaluate_for_make+0x68>
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
ffc0e2c4:	80 fd 00 10 	lwz     r7,16(r29)                             
ffc0e2c8:	80 07 00 1c 	lwz     r0,28(r7)                              
ffc0e2cc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0e2d0:	41 9e 00 8c 	beq-    cr7,ffc0e35c <IMFS_evaluate_for_make+0x23c>
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
ffc0e2d4:	83 c9 00 08 	lwz     r30,8(r9)                              
ffc0e2d8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e2dc:	40 9e ff d0 	bne+    cr7,ffc0e2ac <IMFS_evaluate_for_make+0x18c>
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0e2e0:	48 00 51 55 	bl      ffc13434 <__errno>                     
ffc0e2e4:	3b c0 ff ff 	li      r30,-1                                 
ffc0e2e8:	92 c3 00 00 	stw     r22,0(r3)                              
ffc0e2ec:	4b ff fe e0 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0e2f0:	80 01 00 08 	lwz     r0,8(r1)                               
  /*                                                                  
   * We have evaluated the path as far as we can.                     
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
ffc0e2f4:	7f fa e2 14 	add     r31,r26,r28                            
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0e2f8:	7c 00 e0 50 	subf    r0,r0,r28                              
ffc0e2fc:	7c 1a 02 14 	add     r0,r26,r0                              
ffc0e300:	90 17 00 00 	stw     r0,0(r23)                              
  /*                                                                  
   * 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++) {                                      
ffc0e304:	7c 7a e0 ae 	lbzx    r3,r26,r28                             
ffc0e308:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e30c:	40 be 00 14 	bne+    cr7,ffc0e320 <IMFS_evaluate_for_make+0x200>
ffc0e310:	48 00 00 b0 	b       ffc0e3c0 <IMFS_evaluate_for_make+0x2a0>
ffc0e314:	8c 7f 00 01 	lbzu    r3,1(r31)                              
ffc0e318:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e31c:	41 9e 00 a4 	beq-    cr7,ffc0e3c0 <IMFS_evaluate_for_make+0x2a0>
    if ( !IMFS_is_separator( path[ i ] ) )                            
ffc0e320:	4b ff 7a 19 	bl      ffc05d38 <rtems_filesystem_is_separator>
ffc0e324:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e328:	40 9e ff ec 	bne+    cr7,ffc0e314 <IMFS_evaluate_for_make+0x1f4>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
ffc0e32c:	48 00 51 09 	bl      ffc13434 <__errno>                     
ffc0e330:	38 00 00 02 	li      r0,2                                   
ffc0e334:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e338:	3b c0 ff ff 	li      r30,-1                                 
ffc0e33c:	4b ff fe 90 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0e340:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e344:	38 80 00 01 	li      r4,1                                   
ffc0e348:	4b ff f7 d5 	bl      ffc0db1c <IMFS_evaluate_permission>    
ffc0e34c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e350:	41 9e 00 a0 	beq-    cr7,ffc0e3f0 <IMFS_evaluate_for_make+0x2d0>
ffc0e354:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0e358:	4b ff fe c8 	b       ffc0e220 <IMFS_evaluate_for_make+0x100>
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
ffc0e35c:	81 27 00 14 	lwz     r9,20(r7)                              
ffc0e360:	81 07 00 08 	lwz     r8,8(r7)                               
ffc0e364:	81 47 00 0c 	lwz     r10,12(r7)                             
ffc0e368:	81 67 00 10 	lwz     r11,16(r7)                             
ffc0e36c:	80 07 00 18 	lwz     r0,24(r7)                              
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e370:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0e374:	7f a4 eb 78 	mr      r4,r29                                 
	 * 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;           
ffc0e378:	90 01 00 1c 	stw     r0,28(r1)                              
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e37c:	7e e5 bb 78 	mr      r5,r23                                 
ffc0e380:	7c 63 e0 50 	subf    r3,r3,r28                              
	 * 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;           
ffc0e384:	91 01 00 0c 	stw     r8,12(r1)                              
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e388:	7c 7a 1a 14 	add     r3,r26,r3                              
	 * 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;           
ffc0e38c:	91 41 00 10 	stw     r10,16(r1)                             
ffc0e390:	91 61 00 14 	stw     r11,20(r1)                             
ffc0e394:	91 21 00 18 	stw     r9,24(r1)                              
          *pathloc = newloc;                                          
ffc0e398:	90 1d 00 10 	stw     r0,16(r29)                             
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e39c:	80 09 00 04 	lwz     r0,4(r9)                               
	 * 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;                                          
ffc0e3a0:	91 1d 00 00 	stw     r8,0(r29)                              
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e3a4:	7c 09 03 a6 	mtctr   r0                                     
	 * 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;                                          
ffc0e3a8:	91 5d 00 04 	stw     r10,4(r29)                             
ffc0e3ac:	91 7d 00 08 	stw     r11,8(r29)                             
ffc0e3b0:	91 3d 00 0c 	stw     r9,12(r29)                             
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0e3b4:	4e 80 04 21 	bctrl                                          
ffc0e3b8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e3bc:	4b ff fe 10 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0e3c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e3c4:	4b ff f6 cd 	bl      ffc0da90 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0e3c8:	81 3d 00 00 	lwz     r9,0(r29)                              
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0e3cc:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0e3d0:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0e3d4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e3d8:	40 9e 00 2c 	bne-    cr7,ffc0e404 <IMFS_evaluate_for_make+0x2e4><== NEVER TAKEN
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
ffc0e3dc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e3e0:	38 80 00 03 	li      r4,3                                   
ffc0e3e4:	4b ff f7 39 	bl      ffc0db1c <IMFS_evaluate_permission>    
ffc0e3e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e3ec:	40 9e fd e0 	bne+    cr7,ffc0e1cc <IMFS_evaluate_for_make+0xac>
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0e3f0:	48 00 50 45 	bl      ffc13434 <__errno>                     
ffc0e3f4:	38 00 00 0d 	li      r0,13                                  
ffc0e3f8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e3fc:	3b c0 ff ff 	li      r30,-1                                 
ffc0e400:	4b ff fd cc 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0e404:	48 00 50 31 	bl      ffc13434 <__errno>                     
ffc0e408:	38 00 00 14 	li      r0,20                                  
ffc0e40c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e410:	3b c0 ff ff 	li      r30,-1                                 
ffc0e414:	4b ff fd b8 	b       ffc0e1cc <IMFS_evaluate_for_make+0xac> 
	 * 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;           
ffc0e418:	81 27 00 28 	lwz     r9,40(r7)                              
ffc0e41c:	81 07 00 1c 	lwz     r8,28(r7)                              
ffc0e420:	81 47 00 20 	lwz     r10,32(r7)                             
ffc0e424:	81 67 00 24 	lwz     r11,36(r7)                             
ffc0e428:	80 07 00 2c 	lwz     r0,44(r7)                              
ffc0e42c:	4b ff ff 44 	b       ffc0e370 <IMFS_evaluate_for_make+0x250>
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
ffc0e430:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e434:	38 80 00 00 	li      r4,0                                   
ffc0e438:	4b ff fb d5 	bl      ffc0e00c <IMFS_evaluate_link>          
                                                                      
          if ( result == -1 )                                         
ffc0e43c:	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 );                  
ffc0e440:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
          if ( result == -1 )                                         
ffc0e444:	41 be fd 88 	beq-    cr7,ffc0e1cc <IMFS_evaluate_for_make+0xac><== NEVER TAKEN
ffc0e448:	83 dd 00 00 	lwz     r30,0(r29)                             
ffc0e44c:	4b ff fe 2c 	b       ffc0e278 <IMFS_evaluate_for_make+0x158>
                                                                      

ffc0e00c <IMFS_evaluate_link>: */ int IMFS_evaluate_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
ffc0e00c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0e010:	7c 08 02 a6 	mflr    r0                                     
ffc0e014:	93 a1 00 0c 	stw     r29,12(r1)                             
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e018:	3f a0 00 00 	lis     r29,0                                  
 */                                                                   
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
ffc0e01c:	93 81 00 08 	stw     r28,8(r1)                              
ffc0e020:	7c 9c 23 78 	mr      r28,r4                                 
ffc0e024:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0e028:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e02c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0e030:	93 e1 00 14 	stw     r31,20(r1)                             
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e034:	81 3d 27 24 	lwz     r9,10020(r29)                          
ffc0e038:	48 00 00 14 	b       ffc0e04c <IMFS_evaluate_link+0x40>     
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
ffc0e03c:	41 9a 00 90 	beq-    cr6,ffc0e0cc <IMFS_evaluate_link+0xc0> 
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
ffc0e040:	39 6b ff fd 	addi    r11,r11,-3                             
ffc0e044:	2b 8b 00 01 	cmplwi  cr7,r11,1                              
ffc0e048:	41 9d 00 58 	bgt-    cr7,ffc0e0a0 <IMFS_evaluate_link+0x94> <== ALWAYS TAKEN
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e04c:	a1 69 00 30 	lhz     r11,48(r9)                             
{                                                                     
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
ffc0e050:	83 fe 00 00 	lwz     r31,0(r30)                             
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e054:	38 0b 00 01 	addi    r0,r11,1                               
ffc0e058:	54 00 04 3e 	clrlwi  r0,r0,16                               
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
ffc0e05c:	2b 80 00 05 	cmplwi  cr7,r0,5                               
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
ffc0e060:	b0 09 00 30 	sth     r0,48(r9)                              
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
ffc0e064:	41 9d 00 84 	bgt-    cr7,ffc0e0e8 <IMFS_evaluate_link+0xdc> 
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
ffc0e068:	81 7f 00 4c 	lwz     r11,76(r31)                            
ffc0e06c:	2f 8b 00 03 	cmpwi   cr7,r11,3                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
ffc0e070:	2f 0b 00 04 	cmpwi   cr6,r11,4                              
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
ffc0e074:	40 9e ff c8 	bne+    cr7,ffc0e03c <IMFS_evaluate_link+0x30> 
      result = IMFS_evaluate_hard_link( node, flags );                
ffc0e078:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e07c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e080:	4b ff fb 3d 	bl      ffc0dbbc <IMFS_evaluate_hard_link>     
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
ffc0e084:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e088:	40 9e 00 58 	bne-    cr7,ffc0e0e0 <IMFS_evaluate_link+0xd4> 
ffc0e08c:	81 7f 00 4c 	lwz     r11,76(r31)                            
ffc0e090:	81 3d 27 24 	lwz     r9,10020(r29)                          
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
ffc0e094:	39 6b ff fd 	addi    r11,r11,-3                             
ffc0e098:	2b 8b 00 01 	cmplwi  cr7,r11,1                              
ffc0e09c:	40 9d ff b0 	ble+    cr7,ffc0e04c <IMFS_evaluate_link+0x40> <== ALWAYS TAKEN
ffc0e0a0:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc0e0a4:	38 00 00 00 	li      r0,0                                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e0a8:	83 81 00 08 	lwz     r28,8(r1)                              
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc0e0ac:	b0 09 00 30 	sth     r0,48(r9)                              
                                                                      
  return result;                                                      
}                                                                     
ffc0e0b0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e0b4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e0b8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e0bc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e0c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e0c4:	38 21 00 18 	addi    r1,r1,24                               
ffc0e0c8:	4e 80 00 20 	blr                                            
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
ffc0e0cc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e0d0:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e0d4:	4b ff fe 81 	bl      ffc0df54 <IMFS_evaluate_sym_link>      
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
ffc0e0d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e0dc:	41 9e ff b0 	beq+    cr7,ffc0e08c <IMFS_evaluate_link+0x80> 
ffc0e0e0:	81 3d 27 24 	lwz     r9,10020(r29)                          
ffc0e0e4:	4b ff ff c0 	b       ffc0e0a4 <IMFS_evaluate_link+0x98>     
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
ffc0e0e8:	38 00 00 00 	li      r0,0                                   
ffc0e0ec:	b0 09 00 30 	sth     r0,48(r9)                              
      rtems_set_errno_and_return_minus_one( ELOOP );                  
ffc0e0f0:	48 00 53 45 	bl      ffc13434 <__errno>                     
ffc0e0f4:	38 00 00 5c 	li      r0,92                                  
ffc0e0f8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e0fc:	38 60 ff ff 	li      r3,-1                                  
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
                                                                      
  return result;                                                      
}                                                                     
ffc0e100:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e104:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0e108:	7c 08 03 a6 	mtlr    r0                                     
ffc0e10c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e110:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e114:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e118:	38 21 00 18 	addi    r1,r1,24                               
ffc0e11c:	4e 80 00 20 	blr                                            
                                                                      

ffc0db1c <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
ffc0db1c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0db20:	7c 08 02 a6 	mflr    r0                                     
ffc0db24:	90 01 00 1c 	stw     r0,28(r1)                              
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0db28:	54 80 00 39 	rlwinm. r0,r4,0,0,28                           
 */                                                                   
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
ffc0db2c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0db30:	7c 9e 23 78 	mr      r30,r4                                 
ffc0db34:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0db38:	93 e1 00 14 	stw     r31,20(r1)                             
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0db3c:	40 82 00 6c 	bne-    ffc0dba8 <IMFS_evaluate_permission+0x8c><== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  jnode = node->node_access;                                          
ffc0db40:	83 e3 00 00 	lwz     r31,0(r3)                              
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
ffc0db44:	48 00 10 21 	bl      ffc0eb64 <geteuid>                     
ffc0db48:	7c 7d 1b 78 	mr      r29,r3                                 
  st_gid = getegid();                                                 
ffc0db4c:	48 00 10 09 	bl      ffc0eb54 <getegid>                     
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
ffc0db50:	a0 1f 00 3c 	lhz     r0,60(r31)                             
ffc0db54:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0db58:	41 9e 00 40 	beq-    cr7,ffc0db98 <IMFS_evaluate_permission+0x7c>
    flags_to_test <<= 6;                                              
  else if ( st_gid == jnode->st_gid )                                 
ffc0db5c:	a0 1f 00 3e 	lhz     r0,62(r31)                             
ffc0db60:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc0db64:	41 9e 00 3c 	beq-    cr7,ffc0dba0 <IMFS_evaluate_permission+0x84><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
ffc0db68:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0db6c:	7f c3 18 38 	and     r3,r30,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 );                    
ffc0db70:	7f c3 1a 78 	xor     r3,r30,r3                              
ffc0db74:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0db78:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
ffc0db7c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0db80:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0db84:	7c 08 03 a6 	mtlr    r0                                     
ffc0db88:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0db8c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0db90:	38 21 00 18 	addi    r1,r1,24                               
ffc0db94:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
ffc0db98:	57 de 30 32 	rlwinm  r30,r30,6,0,25                         
ffc0db9c:	4b ff ff cc 	b       ffc0db68 <IMFS_evaluate_permission+0x4c>
  else if ( st_gid == jnode->st_gid )                                 
    flags_to_test <<= 3;                                              
ffc0dba0:	57 de 18 38 	rlwinm  r30,r30,3,0,28                         
ffc0dba4:	4b ff ff c4 	b       ffc0db68 <IMFS_evaluate_permission+0x4c>
  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 );                    
ffc0dba8:	48 00 58 8d 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc0dbac:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0dbb0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0dbb4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0dbb8:	4b ff ff c4 	b       ffc0db7c <IMFS_evaluate_permission+0x60><== NOT EXECUTED
                                                                      

ffc126c8 <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
ffc126c8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc126cc:	7c 08 02 a6 	mflr    r0                                     
ffc126d0:	90 01 00 24 	stw     r0,36(r1)                              
ffc126d4:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
ffc126d8:	83 e3 00 00 	lwz     r31,0(r3)                              
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
ffc126dc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc126e0:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
ffc126e4:	4b ff c4 81 	bl      ffc0eb64 <geteuid>                     
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
ffc126e8:	a0 1f 00 3c 	lhz     r0,60(r31)                             
ffc126ec:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc126f0:	41 9e 00 0c 	beq-    cr7,ffc126fc <IMFS_fchmod+0x34>        
ffc126f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc126f8:	40 9e 00 48 	bne-    cr7,ffc12740 <IMFS_fchmod+0x78>        <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc126fc:	80 1f 00 30 	lwz     r0,48(r31)                             
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc12700:	57 de 05 3e 	clrlwi  r30,r30,20                             
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc12704:	38 61 00 08 	addi    r3,r1,8                                
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc12708:	54 00 00 26 	rlwinm  r0,r0,0,0,19                           
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc1270c:	7f de 03 78 	or      r30,r30,r0                             
ffc12710:	93 df 00 30 	stw     r30,48(r31)                            
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc12714:	38 80 00 00 	li      r4,0                                   
ffc12718:	4b ff 24 5d 	bl      ffc04b74 <gettimeofday>                
ffc1271c:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc12720:	38 60 00 00 	li      r3,0                                   
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
ffc12724:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc12728:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1272c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc12730:	7c 08 03 a6 	mtlr    r0                                     
ffc12734:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc12738:	38 21 00 20 	addi    r1,r1,32                               
ffc1273c:	4e 80 00 20 	blr                                            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc12740:	48 00 0c f5 	bl      ffc13434 <__errno>                     
ffc12744:	38 00 00 01 	li      r0,1                                   
ffc12748:	90 03 00 00 	stw     r0,0(r3)                               
ffc1274c:	38 60 ff ff 	li      r3,-1                                  
ffc12750:	4b ff ff d8 	b       ffc12728 <IMFS_fchmod+0x60>            
                                                                      

ffc0575c <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc0575c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05760:	7c 08 02 a6 	mflr    r0                                     
ffc05764:	7c 68 1b 78 	mr      r8,r3                                  
ffc05768:	90 01 00 14 	stw     r0,20(r1)                              
ffc0576c:	93 e1 00 0c 	stw     r31,12(r1)                             
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc05770:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc05774:	80 69 00 50 	lwz     r3,80(r9)                              
ffc05778:	48 00 c9 29 	bl      ffc120a0 <pipe_lseek>                  
  IMFS_FIFO_RETURN(err);                                              
ffc0577c:	7c 60 fe 71 	srawi.  r0,r3,31                               
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc05780:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_FIFO_RETURN(err);                                              
ffc05784:	41 80 00 28 	blt-    ffc057ac <IMFS_fifo_lseek+0x50>        <== ALWAYS TAKEN
ffc05788:	7c 09 03 78 	mr      r9,r0                                  
ffc0578c:	7c 6a 1b 78 	mr      r10,r3                                 <== NOT EXECUTED
}                                                                     
ffc05790:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05794:	7d 23 4b 78 	mr      r3,r9                                  
ffc05798:	7d 44 53 78 	mr      r4,r10                                 
ffc0579c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc057a0:	7c 08 03 a6 	mtlr    r0                                     
ffc057a4:	38 21 00 10 	addi    r1,r1,16                               
ffc057a8:	4e 80 00 20 	blr                                            
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
ffc057ac:	48 01 09 fd 	bl      ffc161a8 <__errno>                     
ffc057b0:	7f ff 00 d0 	neg     r31,r31                                
ffc057b4:	93 e3 00 00 	stw     r31,0(r3)                              
ffc057b8:	39 20 ff ff 	li      r9,-1                                  
ffc057bc:	39 40 ff ff 	li      r10,-1                                 
ffc057c0:	4b ff ff d0 	b       ffc05790 <IMFS_fifo_lseek+0x34>        
                                                                      

ffc05888 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc05888:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0588c:	7c 08 02 a6 	mflr    r0                                     
ffc05890:	7c 66 1b 78 	mr      r6,r3                                  
ffc05894:	90 01 00 24 	stw     r0,36(r1)                              
ffc05898:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0589c:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
ffc058a0:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
ffc058a4:	80 7f 00 50 	lwz     r3,80(r31)                             
ffc058a8:	48 00 c4 e1 	bl      ffc11d88 <pipe_write>                  
  if (err > 0) {                                                      
ffc058ac:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc058b0:	40 81 00 38 	ble-    ffc058e8 <IMFS_fifo_write+0x60>        
    IMFS_mtime_ctime_update(jnode);                                   
ffc058b4:	38 61 00 08 	addi    r3,r1,8                                
ffc058b8:	38 80 00 00 	li      r4,0                                   
ffc058bc:	48 00 16 75 	bl      ffc06f30 <gettimeofday>                
ffc058c0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc058c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc058c8:	90 1f 00 44 	stw     r0,68(r31)                             
ffc058cc:	90 1f 00 48 	stw     r0,72(r31)                             
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
ffc058d0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc058d4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc058d8:	7c 08 03 a6 	mtlr    r0                                     
ffc058dc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc058e0:	38 21 00 20 	addi    r1,r1,32                               
ffc058e4:	4e 80 00 20 	blr                                            
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc058e8:	40 82 00 20 	bne-    ffc05908 <IMFS_fifo_write+0x80>        <== ALWAYS TAKEN
}                                                                     
ffc058ec:	80 01 00 24 	lwz     r0,36(r1)                              
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc058f0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc058f4:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc058f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc058fc:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc05900:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc05904:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc05908:	48 01 08 a1 	bl      ffc161a8 <__errno>                     
ffc0590c:	7f de 00 d0 	neg     r30,r30                                
ffc05910:	93 c3 00 00 	stw     r30,0(r3)                              
ffc05914:	38 60 ff ff 	li      r3,-1                                  
ffc05918:	4b ff ff b8 	b       ffc058d0 <IMFS_fifo_write+0x48>        
                                                                      

ffc0e558 <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
ffc0e558:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0e55c:	7c 08 02 a6 	mflr    r0                                     
ffc0e560:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0e564:	3f a0 ff c2 	lis     r29,-62                                
ffc0e568:	3b bd a2 b8 	addi    r29,r29,-23880                         
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0e56c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0e570:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0e574:	7f a4 eb 78 	mr      r4,r29                                 
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0e578:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0e57c:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0e580:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0e584:	90 01 00 1c 	stw     r0,28(r1)                              
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0e588:	48 00 5f 71 	bl      ffc144f8 <strcmp>                      
ffc0e58c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e590:	41 9e 00 1c 	beq-    cr7,ffc0e5ac <IMFS_find_match_in_dir+0x54><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
ffc0e594:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e598:	38 9d 00 04 	addi    r4,r29,4                               
ffc0e59c:	48 00 5f 5d 	bl      ffc144f8 <strcmp>                      
ffc0e5a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e5a4:	40 9e 00 28 	bne-    cr7,ffc0e5cc <IMFS_find_match_in_dir+0x74><== ALWAYS TAKEN
    return directory->Parent;                                         
ffc0e5a8:	83 ff 00 08 	lwz     r31,8(r31)                             <== NOT EXECUTED
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e5ac:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e5b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e5b4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e5b8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e5bc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e5c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e5c4:	38 21 00 18 	addi    r1,r1,24                               
ffc0e5c8:	4e 80 00 20 	blr                                            
ffc0e5cc:	80 1f 00 50 	lwz     r0,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));                        
ffc0e5d0:	3b bf 00 54 	addi    r29,r31,84                             
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0e5d4:	3b e0 00 00 	li      r31,0                                  
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0e5d8:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0e5dc:	41 be ff d0 	beq-    cr7,ffc0e5ac <IMFS_find_match_in_dir+0x54>
ffc0e5e0:	7c 1f 03 78 	mr      r31,r0                                 
        !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 ) )                           
ffc0e5e4:	38 9f 00 0c 	addi    r4,r31,12                              
ffc0e5e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e5ec:	48 00 5f 0d 	bl      ffc144f8 <strcmp>                      
ffc0e5f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e5f4:	41 be ff b8 	beq-    cr7,ffc0e5ac <IMFS_find_match_in_dir+0x54>
                                                                      
  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 ) {                                 
ffc0e5f8:	83 ff 00 00 	lwz     r31,0(r31)                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0e5fc:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0e600:	40 9e ff e4 	bne+    cr7,ffc0e5e4 <IMFS_find_match_in_dir+0x8c>
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0e604:	3b e0 00 00 	li      r31,0                                  
ffc0e608:	4b ff ff a4 	b       ffc0e5ac <IMFS_find_match_in_dir+0x54> 
                                                                      

ffc0e450 <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 ) {
ffc0e450:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0e454:	7c 08 02 a6 	mflr    r0                                     
ffc0e458:	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;                                   
ffc0e45c:	80 03 00 2c 	lwz     r0,44(r3)                              
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0e460:	93 a1 00 2c 	stw     r29,44(r1)                             
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0e464:	81 43 00 20 	lwz     r10,32(r3)                             
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
ffc0e468:	83 a3 00 1c 	lwz     r29,28(r3)                             
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0e46c:	81 63 00 24 	lwz     r11,36(r3)                             
ffc0e470:	81 23 00 28 	lwz     r9,40(r3)                              
ffc0e474:	90 01 00 18 	stw     r0,24(r1)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0e478:	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                 
)                                                                     
{                                                                     
ffc0e47c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc0e480:	3b e1 00 08 	addi    r31,r1,8                               
ffc0e484:	93 c1 00 30 	stw     r30,48(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;                                   
ffc0e488:	93 a1 00 08 	stw     r29,8(r1)                              
ffc0e48c:	91 41 00 0c 	stw     r10,12(r1)                             
ffc0e490:	91 61 00 10 	stw     r11,16(r1)                             
ffc0e494:	91 21 00 14 	stw     r9,20(r1)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0e498:	90 03 00 1c 	stw     r0,28(r3)                              
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0e49c:	7f e3 fb 78 	mr      r3,r31                                 
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0e4a0:	83 dd 00 08 	lwz     r30,8(r29)                             
     loc.node_access = (void *)jnode;                                 
ffc0e4a4:	93 a1 00 08 	stw     r29,8(r1)                              
     IMFS_Set_handlers( &loc );                                       
ffc0e4a8:	4b ff f5 e9 	bl      ffc0da90 <IMFS_Set_handlers>           
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0e4ac:	39 3d 00 54 	addi    r9,r29,84                              
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
ffc0e4b0:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc0e4b4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e4b8:	40 9e 00 60 	bne-    cr7,ffc0e518 <IMFS_fsunmount+0xc8>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
ffc0e4bc:	80 1d 00 50 	lwz     r0,80(r29)                             
ffc0e4c0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0e4c4:	41 9e 00 74 	beq-    cr7,ffc0e538 <IMFS_fsunmount+0xe8>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0e4c8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0e4cc:	41 9e 00 2c 	beq-    cr7,ffc0e4f8 <IMFS_fsunmount+0xa8>     
       if ( jnode->type == IMFS_DIRECTORY ) {                         
ffc0e4d0:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc0e4d4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0e4d8:	40 9e ff c4 	bne+    cr7,ffc0e49c <IMFS_fsunmount+0x4c>     <== NEVER TAKEN
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
ffc0e4dc:	80 1d 00 50 	lwz     r0,80(r29)                             
ffc0e4e0:	39 3d 00 54 	addi    r9,r29,84                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
ffc0e4e4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0e4e8:	41 be ff b4 	beq-    cr7,ffc0e49c <IMFS_fsunmount+0x4c>     
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0e4ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e4f0:	7c 1d 03 78 	mr      r29,r0                                 
ffc0e4f4:	40 9e ff a8 	bne+    cr7,ffc0e49c <IMFS_fsunmount+0x4c>     <== ALWAYS TAKEN
                                                                      
   return 0;                                                          
ffc0e4f8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e4fc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0e500:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0e504:	7c 08 03 a6 	mtlr    r0                                     
ffc0e508:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0e50c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc0e510:	38 21 00 38 	addi    r1,r1,56                               
ffc0e514:	4e 80 00 20 	blr                                            
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
ffc0e518:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e51c:	38 60 00 00 	li      r3,0                                   
ffc0e520:	4b ff 5e 5d 	bl      ffc0437c <IMFS_unlink>                 
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
ffc0e524:	7f dd f3 78 	mr      r29,r30                                
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
ffc0e528:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e52c:	41 9e ff 9c 	beq+    cr7,ffc0e4c8 <IMFS_fsunmount+0x78>     <== ALWAYS TAKEN
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
ffc0e530:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0e534:	4b ff ff c8 	b       ffc0e4fc <IMFS_fsunmount+0xac>         <== NOT EXECUTED
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
ffc0e538:	38 60 00 00 	li      r3,0                                   
ffc0e53c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e540:	4b ff 5e 3d 	bl      ffc0437c <IMFS_unlink>                 
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
ffc0e544:	7f dd f3 78 	mr      r29,r30                                
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
ffc0e548:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e54c:	41 9e ff 7c 	beq+    cr7,ffc0e4c8 <IMFS_fsunmount+0x78>     <== ALWAYS TAKEN
          return -1;                                                  
ffc0e550:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0e554:	4b ff ff a8 	b       ffc0e4fc <IMFS_fsunmount+0xac>         <== NOT EXECUTED
                                                                      

ffc0e60c <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
ffc0e60c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0e610:	7c 08 02 a6 	mflr    r0                                     
ffc0e614:	93 41 00 08 	stw     r26,8(r1)                              
ffc0e618:	7c da 33 78 	mr      r26,r6                                 
ffc0e61c:	93 81 00 10 	stw     r28,16(r1)                             
  register int i = 0;                                                 
ffc0e620:	3b 80 00 00 	li      r28,0                                  
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
ffc0e624:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0e628:	7c 9d 23 78 	mr      r29,r4                                 
ffc0e62c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0e630:	7c be 2b 78 	mr      r30,r5                                 
ffc0e634:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0e638:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e63c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0e640:	93 61 00 0c 	stw     r27,12(r1)                             
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
ffc0e644:	8b 63 00 00 	lbz     r27,0(r3)                              
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0e648:	48 00 00 08 	b       ffc0e650 <IMFS_get_token+0x44>         
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0e64c:	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) ) {
ffc0e650:	7f 63 db 78 	mr      r3,r27                                 
ffc0e654:	4b ff 76 e5 	bl      ffc05d38 <rtems_filesystem_is_separator>
ffc0e658:	7f 1c e8 00 	cmpw    cr6,r28,r29                            
ffc0e65c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0e660:	2c 9c 00 20 	cmpwi   cr1,r28,32                             
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0e664:	40 9e 00 40 	bne-    cr7,ffc0e6a4 <IMFS_get_token+0x98>     
ffc0e668:	40 98 00 3c 	bge-    cr6,ffc0e6a4 <IMFS_get_token+0x98>     <== NEVER TAKEN
                                                                      
     token[i] = c;                                                    
ffc0e66c:	7f 7e e1 ae 	stbx    r27,r30,r28                            
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0e670:	3b 9c 00 01 	addi    r28,r28,1                              
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0e674:	40 86 ff d8 	bne+    cr1,ffc0e64c <IMFS_get_token+0x40>     
       return IMFS_INVALID_TOKEN;                                     
ffc0e678:	38 60 00 04 	li      r3,4                                   
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0e67c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0e680:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0e684:	7c 08 03 a6 	mtlr    r0                                     
ffc0e688:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0e68c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0e690:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0e694:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0e698:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0e69c:	38 21 00 20 	addi    r1,r1,32                               
ffc0e6a0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
ffc0e6a4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0e6a8:	40 9e 00 28 	bne-    cr7,ffc0e6d0 <IMFS_get_token+0xc4>     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0e6ac:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
ffc0e6b0:	9b 7e 00 00 	stb     r27,0(r30)                             
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0e6b4:	38 60 00 00 	li      r3,0                                   
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0e6b8:	41 9e 00 10 	beq-    cr7,ffc0e6c8 <IMFS_get_token+0xbc>     
ffc0e6bc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0e6c0:	7f 83 e3 78 	mr      r3,r28                                 
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0e6c4:	40 9e 00 8c 	bne-    cr7,ffc0e750 <IMFS_get_token+0x144>    
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0e6c8:	93 9a 00 00 	stw     r28,0(r26)                             
ffc0e6cc:	4b ff ff b0 	b       ffc0e67c <IMFS_get_token+0x70>         
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0e6d0:	7d 3e e2 14 	add     r9,r30,r28                             
ffc0e6d4:	88 09 ff ff 	lbz     r0,-1(r9)                              
ffc0e6d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e6dc:	41 9e 00 0c 	beq-    cr7,ffc0e6e8 <IMFS_get_token+0xdc>     <== NEVER TAKEN
    token[i] = '\0';                                                  
ffc0e6e0:	38 00 00 00 	li      r0,0                                   
ffc0e6e4:	7c 1e e1 ae 	stbx    r0,r30,r28                             
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0e6e8:	93 9a 00 00 	stw     r28,0(r26)                             
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
ffc0e6ec:	3c 80 ff c2 	lis     r4,-62                                 
ffc0e6f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e6f4:	38 84 a2 c4 	addi    r4,r4,-23868                           
ffc0e6f8:	48 00 5e 01 	bl      ffc144f8 <strcmp>                      
ffc0e6fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      type = IMFS_UP_DIR;                                             
ffc0e700:	38 60 00 02 	li      r3,2                                   
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
ffc0e704:	41 be ff 78 	beq-    cr7,ffc0e67c <IMFS_get_token+0x70>     
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0e708:	3c 80 ff c2 	lis     r4,-62                                 
ffc0e70c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e710:	38 84 a2 c0 	addi    r4,r4,-23872                           
ffc0e714:	48 00 5d e5 	bl      ffc144f8 <strcmp>                      
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0e718:	80 01 00 24 	lwz     r0,36(r1)                              
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0e71c:	30 63 ff ff 	addic   r3,r3,-1                               
ffc0e720:	7c 63 19 10 	subfe   r3,r3,r3                               
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0e724:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0e728:	7c 08 03 a6 	mtlr    r0                                     
ffc0e72c:	83 61 00 0c 	lwz     r27,12(r1)                             
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0e730:	54 63 00 3c 	rlwinm  r3,r3,0,0,30                           
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0e734:	83 81 00 10 	lwz     r28,16(r1)                             
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0e738:	38 63 00 03 	addi    r3,r3,3                                
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0e73c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0e740:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0e744:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0e748:	38 21 00 20 	addi    r1,r1,32                               
ffc0e74c:	4e 80 00 20 	blr                                            
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
ffc0e750:	3b 80 00 01 	li      r28,1                                  
      type = IMFS_CURRENT_DIR;                                        
ffc0e754:	38 60 00 01 	li      r3,1                                   
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0e758:	93 9a 00 00 	stw     r28,0(r26)                             
ffc0e75c:	4b ff ff 20 	b       ffc0e67c <IMFS_get_token+0x70>         
                                                                      

ffc03e78 <IMFS_initialize_support>: const rtems_filesystem_operations_table *op_table, const rtems_filesystem_file_handlers_r *memfile_handlers, const rtems_filesystem_file_handlers_r *directory_handlers, const rtems_filesystem_file_handlers_r *fifo_handlers ) {
ffc03e78:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc03e7c:	7c 08 02 a6 	mflr    r0                                     
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
ffc03e80:	3d 20 00 00 	lis     r9,0                                   
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc03e84:	90 01 00 24 	stw     r0,36(r1)                              
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
ffc03e88:	80 09 26 d0 	lwz     r0,9936(r9)                            
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc03e8c:	93 41 00 08 	stw     r26,8(r1)                              
ffc03e90:	7c fa 3b 78 	mr      r26,r7                                 
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
ffc03e94:	2f 80 00 10 	cmpwi   cr7,r0,16                              
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
ffc03e98:	93 81 00 10 	stw     r28,16(r1)                             
ffc03e9c:	7c dc 33 78 	mr      r28,r6                                 
ffc03ea0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc03ea4:	7c 9d 23 78 	mr      r29,r4                                 
ffc03ea8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc03eac:	7c be 2b 78 	mr      r30,r5                                 
ffc03eb0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc03eb4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc03eb8:	93 61 00 0c 	stw     r27,12(r1)                             
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
ffc03ebc:	41 9e 00 30 	beq-    cr7,ffc03eec <IMFS_initialize_support+0x74>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc03ec0:	2f 80 00 0f 	cmpwi   cr7,r0,15                              
ffc03ec4:	40 9d 00 24 	ble-    cr7,ffc03ee8 <IMFS_initialize_support+0x70>
ffc03ec8:	39 60 00 05 	li      r11,5                                  
ffc03ecc:	7d 69 03 a6 	mtctr   r11                                    
ffc03ed0:	39 20 00 20 	li      r9,32                                  
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
ffc03ed4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
ffc03ed8:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
    if (bit_mask == requested_bytes_per_block) {                      
ffc03edc:	41 9e 00 10 	beq-    cr7,ffc03eec <IMFS_initialize_support+0x74>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc03ee0:	41 9c 00 08 	blt-    cr7,ffc03ee8 <IMFS_initialize_support+0x70><== NEVER TAKEN
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
ffc03ee4:	42 00 ff f0 	bdnz+   ffc03ed4 <IMFS_initialize_support+0x5c>
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
ffc03ee8:	38 00 00 80 	li      r0,128                                 
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
ffc03eec:	3d 20 00 00 	lis     r9,0                                   
ffc03ef0:	90 09 27 88 	stw     r0,10120(r9)                           
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc03ef4:	48 00 9b 4d 	bl      ffc0da40 <IMFS_create_root_node>       
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc03ef8:	3c 80 ff c2 	lis     r4,-62                                 
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc03efc:	90 7f 00 1c 	stw     r3,28(r31)                             
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc03f00:	38 84 a2 68 	addi    r4,r4,-23960                           
ffc03f04:	38 a0 00 30 	li      r5,48                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
ffc03f08:	93 9f 00 24 	stw     r28,36(r31)                            
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
ffc03f0c:	7c 7b 1b 78 	mr      r27,r3                                 
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc03f10:	38 7f 00 38 	addi    r3,r31,56                              
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
ffc03f14:	93 bf 00 28 	stw     r29,40(r31)                            
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
ffc03f18:	48 01 01 7d 	bl      ffc14094 <memcpy>                      
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
ffc03f1c:	38 60 00 01 	li      r3,1                                   
ffc03f20:	38 80 00 14 	li      r4,20                                  
ffc03f24:	48 00 08 dd 	bl      ffc04800 <calloc>                      
  if ( !fs_info ) {                                                   
ffc03f28:	7c 69 1b 79 	mr.     r9,r3                                  
ffc03f2c:	41 82 00 60 	beq-    ffc03f8c <IMFS_initialize_support+0x114>
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc03f30:	3d 60 00 00 	lis     r11,0                                  
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
ffc03f34:	91 3f 00 34 	stw     r9,52(r31)                             
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
ffc03f38:	38 00 00 01 	li      r0,1                                   
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc03f3c:	81 4b 28 8c 	lwz     r10,10380(r11)                         
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
ffc03f40:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
ffc03f44:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc03f48:	39 0a 00 01 	addi    r8,r10,1                               
ffc03f4c:	91 49 00 00 	stw     r10,0(r9)                              
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
ffc03f50:	93 c9 00 08 	stw     r30,8(r9)                              
  fs_info->directory_handlers    = directory_handlers;                
ffc03f54:	93 89 00 0c 	stw     r28,12(r9)                             
  fs_info->fifo_handlers         = fifo_handlers;                     
ffc03f58:	93 49 00 10 	stw     r26,16(r9)                             
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
ffc03f5c:	91 0b 28 8c 	stw     r8,10380(r11)                          
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
ffc03f60:	90 1b 00 38 	stw     r0,56(r27)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc03f64:	80 01 00 24 	lwz     r0,36(r1)                              
ffc03f68:	83 41 00 08 	lwz     r26,8(r1)                              
ffc03f6c:	7c 08 03 a6 	mtlr    r0                                     
ffc03f70:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc03f74:	83 81 00 10 	lwz     r28,16(r1)                             
ffc03f78:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc03f7c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc03f80:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc03f84:	38 21 00 20 	addi    r1,r1,32                               
ffc03f88:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
ffc03f8c:	7f 63 db 78 	mr      r3,r27                                 
ffc03f90:	48 00 0b 1d 	bl      ffc04aac <free>                        
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
ffc03f94:	48 00 f4 a1 	bl      ffc13434 <__errno>                     
ffc03f98:	38 00 00 0c 	li      r0,12                                  
ffc03f9c:	90 03 00 00 	stw     r0,0(r3)                               
ffc03fa0:	38 60 ff ff 	li      r3,-1                                  
ffc03fa4:	4b ff ff c0 	b       ffc03f64 <IMFS_initialize_support+0xec>
                                                                      

ffc118fc <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
ffc118fc:	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 )                      
ffc11900:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11904:	7c 08 02 a6 	mflr    r0                                     
ffc11908:	93 a1 00 1c 	stw     r29,28(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc1190c:	83 a9 27 88 	lwz     r29,10120(r9)                          
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11910:	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 )                      
ffc11914:	57 a9 f0 be 	rlwinm  r9,r29,30,2,31                         
ffc11918:	39 69 00 01 	addi    r11,r9,1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc1191c:	93 41 00 10 	stw     r26,16(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11920:	7d 6b 49 d6 	mullw   r11,r11,r9                             
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11924:	93 81 00 18 	stw     r28,24(r1)                             
ffc11928:	7c da 33 78 	mr      r26,r6                                 
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc1192c:	38 0b 00 01 	addi    r0,r11,1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11930:	93 e1 00 24 	stw     r31,36(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11934:	39 60 00 00 	li      r11,0                                  
ffc11938:	7f 8b 28 00 	cmpw    cr7,r11,r5                             
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc1193c:	93 01 00 08 	stw     r24,8(r1)                              
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11940:	7d 20 49 d6 	mullw   r9,r0,r9                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11944:	93 21 00 0c 	stw     r25,12(r1)                             
ffc11948:	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 )                      
ffc1194c:	39 29 ff ff 	addi    r9,r9,-1                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc11950:	93 61 00 14 	stw     r27,20(r1)                             
ffc11954:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11958:	93 c1 00 20 	stw     r30,32(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc1195c:	7d 29 e9 d6 	mullw   r9,r9,r29                              
ffc11960:	40 9d 01 50 	ble-    cr7,ffc11ab0 <IMFS_memfile_extend+0x1b4><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc11964:	83 7f 00 50 	lwz     r27,80(r31)                            
ffc11968:	83 3f 00 54 	lwz     r25,84(r31)                            
ffc1196c:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc11970:	40 9d 00 c4 	ble-    cr7,ffc11a34 <IMFS_memfile_extend+0x138><== ALWAYS TAKEN
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc11974:	7f b8 fe 70 	srawi   r24,r29,31                             
ffc11978:	7f 05 c3 78 	mr      r5,r24                                 
ffc1197c:	7f a6 eb 78 	mr      r6,r29                                 
ffc11980:	7f 83 e3 78 	mr      r3,r28                                 
ffc11984:	7f 44 d3 78 	mr      r4,r26                                 
ffc11988:	48 00 5a 79 	bl      ffc17400 <__divdi3>                    
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc1198c:	7f 63 db 78 	mr      r3,r27                                 
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc11990:	7c 9e 23 78 	mr      r30,r4                                 
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc11994:	7f 05 c3 78 	mr      r5,r24                                 
ffc11998:	7f 24 cb 78 	mr      r4,r25                                 
ffc1199c:	7f a6 eb 78 	mr      r6,r29                                 
ffc119a0:	48 00 5a 61 	bl      ffc17400 <__divdi3>                    
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc119a4:	7f 9e 20 40 	cmplw   cr7,r30,r4                             
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc119a8:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc119ac:	41 9c 00 c8 	blt-    cr7,ffc11a74 <IMFS_memfile_extend+0x178><== NEVER TAKEN
ffc119b0:	7c 9d 23 78 	mr      r29,r4                                 
ffc119b4:	48 00 00 10 	b       ffc119c4 <IMFS_memfile_extend+0xc8>    
ffc119b8:	3b bd 00 01 	addi    r29,r29,1                              
ffc119bc:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
ffc119c0:	41 9c 00 b4 	blt-    cr7,ffc11a74 <IMFS_memfile_extend+0x178>
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
ffc119c4:	7f a4 eb 78 	mr      r4,r29                                 
ffc119c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc119cc:	4b ff fc 2d 	bl      ffc115f8 <IMFS_memfile_addblock>       
ffc119d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc119d4:	41 9e ff e4 	beq+    cr7,ffc119b8 <IMFS_memfile_extend+0xbc>
ffc119d8:	48 00 00 14 	b       ffc119ec <IMFS_memfile_extend+0xf0>    
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
ffc119dc:	7f a4 eb 78 	mr      r4,r29                                 
ffc119e0:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
ffc119e4:	3b bd ff ff 	addi    r29,r29,-1                             
         IMFS_memfile_remove_block( the_jnode, block );               
ffc119e8:	4b ff fe d9 	bl      ffc118c0 <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-- ) {                        
ffc119ec:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc119f0:	40 9d ff ec 	ble+    cr7,ffc119dc <IMFS_memfile_extend+0xe0>
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc119f4:	48 00 1a 41 	bl      ffc13434 <__errno>                     
ffc119f8:	38 00 00 1c 	li      r0,28                                  
ffc119fc:	90 03 00 00 	stw     r0,0(r3)                               
ffc11a00:	38 60 ff ff 	li      r3,-1                                  
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
ffc11a04:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11a08:	83 01 00 08 	lwz     r24,8(r1)                              
ffc11a0c:	7c 08 03 a6 	mtlr    r0                                     
ffc11a10:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc11a14:	83 41 00 10 	lwz     r26,16(r1)                             
ffc11a18:	83 61 00 14 	lwz     r27,20(r1)                             
ffc11a1c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11a20:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11a24:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11a28:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11a2c:	38 21 00 28 	addi    r1,r1,40                               
ffc11a30:	4e 80 00 20 	blr                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc11a34:	40 9e 00 0c 	bne-    cr7,ffc11a40 <IMFS_memfile_extend+0x144><== NEVER TAKEN
ffc11a38:	7f 9a c8 40 	cmplw   cr7,r26,r25                            
ffc11a3c:	41 9d ff 38 	bgt+    cr7,ffc11974 <IMFS_memfile_extend+0x78>
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
ffc11a40:	80 01 00 2c 	lwz     r0,44(r1)                              
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
ffc11a44:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
ffc11a48:	83 01 00 08 	lwz     r24,8(r1)                              
ffc11a4c:	7c 08 03 a6 	mtlr    r0                                     
ffc11a50:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc11a54:	83 41 00 10 	lwz     r26,16(r1)                             
ffc11a58:	83 61 00 14 	lwz     r27,20(r1)                             
ffc11a5c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11a60:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11a64:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11a68:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11a6c:	38 21 00 28 	addi    r1,r1,40                               
ffc11a70:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc11a74:	93 9f 00 50 	stw     r28,80(r31)                            
  return 0;                                                           
ffc11a78:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc11a7c:	93 5f 00 54 	stw     r26,84(r31)                            
  return 0;                                                           
}                                                                     
ffc11a80:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11a84:	83 01 00 08 	lwz     r24,8(r1)                              
ffc11a88:	7c 08 03 a6 	mtlr    r0                                     
ffc11a8c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc11a90:	83 41 00 10 	lwz     r26,16(r1)                             
ffc11a94:	83 61 00 14 	lwz     r27,20(r1)                             
ffc11a98:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11a9c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11aa0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11aa4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11aa8:	38 21 00 28 	addi    r1,r1,40                               
ffc11aac:	4e 80 00 20 	blr                                            
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc11ab0:	40 9e 00 0c 	bne-    cr7,ffc11abc <IMFS_memfile_extend+0x1c0><== NEVER TAKEN
ffc11ab4:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc11ab8:	41 9d fe ac 	bgt+    cr7,ffc11964 <IMFS_memfile_extend+0x68>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc11abc:	48 00 19 79 	bl      ffc13434 <__errno>                     
ffc11ac0:	38 00 00 16 	li      r0,22                                  
ffc11ac4:	90 03 00 00 	stw     r0,0(r3)                               
ffc11ac8:	38 60 ff ff 	li      r3,-1                                  
ffc11acc:	4b ff ff 38 	b       ffc11a04 <IMFS_memfile_extend+0x108>   
                                                                      

ffc110b4 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
ffc110b4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc110b8:	7c 08 02 a6 	mflr    r0                                     
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc110bc:	3d 20 00 00 	lis     r9,0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc110c0:	90 01 00 2c 	stw     r0,44(r1)                              
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc110c4:	80 09 27 88 	lwz     r0,10120(r9)                           
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc110c8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc110cc:	7c 7f 1b 78 	mr      r31,r3                                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc110d0:	54 09 f0 be 	rlwinm  r9,r0,30,2,31                          
ffc110d4:	38 09 ff ff 	addi    r0,r9,-1                               
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc110d8:	93 61 00 14 	stw     r27,20(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc110dc:	7f 84 00 40 	cmplw   cr7,r4,r0                              
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc110e0:	93 81 00 18 	stw     r28,24(r1)                             
ffc110e4:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc110e8:	93 c1 00 20 	stw     r30,32(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc110ec:	41 9d 00 48 	bgt-    cr7,ffc11134 <IMFS_memfile_get_block_pointer+0x80>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
ffc110f0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
ffc110f4:	80 03 00 58 	lwz     r0,88(r3)                              
                                                                      
    if ( malloc_it ) {                                                
ffc110f8:	41 9e 00 b8 	beq-    cr7,ffc111b0 <IMFS_memfile_get_block_pointer+0xfc>
                                                                      
      if ( !p ) {                                                     
ffc110fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11100:	41 9e 01 70 	beq-    cr7,ffc11270 <IMFS_memfile_get_block_pointer+0x1bc>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
ffc11104:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc11108:	83 61 00 14 	lwz     r27,20(r1)                             
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
ffc1110c:	7f c0 22 14 	add     r30,r0,r4                              
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc11110:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11114:	7f c3 f3 78 	mr      r3,r30                                 
ffc11118:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1111c:	7c 08 03 a6 	mtlr    r0                                     
ffc11120:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11124:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11128:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1112c:	38 21 00 28 	addi    r1,r1,40                               
ffc11130:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
ffc11134:	3b 89 00 01 	addi    r28,r9,1                               
ffc11138:	7f 9c 49 d6 	mullw   r28,r28,r9                             
ffc1113c:	38 1c ff ff 	addi    r0,r28,-1                              
ffc11140:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc11144:	41 9d 00 7c 	bgt-    cr7,ffc111c0 <IMFS_memfile_get_block_pointer+0x10c>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
ffc11148:	7c 89 20 50 	subf    r4,r9,r4                               
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
ffc1114c:	81 63 00 5c 	lwz     r11,92(r3)                             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc11150:	7f a4 4b 96 	divwu   r29,r4,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc11154:	2f 85 00 00 	cmpwi   cr7,r5,0                               
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc11158:	7d 3d 49 d6 	mullw   r9,r29,r9                              
ffc1115c:	7f 89 20 50 	subf    r28,r9,r4                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc11160:	41 9e 00 e8 	beq-    cr7,ffc11248 <IMFS_memfile_get_block_pointer+0x194>
                                                                      
      if ( !p ) {                                                     
ffc11164:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc11168:	41 9e 01 28 	beq-    cr7,ffc11290 <IMFS_memfile_get_block_pointer+0x1dc>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
ffc1116c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc11170:	7c 6b e8 2e 	lwzx    r3,r11,r29                             
ffc11174:	7f ab ea 14 	add     r29,r11,r29                            
      if ( !p1 ) {                                                    
ffc11178:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1117c:	41 9e 01 2c 	beq-    cr7,ffc112a8 <IMFS_memfile_get_block_pointer+0x1f4>
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc11180:	57 9e 10 3a 	rlwinm  r30,r28,2,0,29                         
ffc11184:	7f c3 f2 14 	add     r30,r3,r30                             
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc11188:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1118c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11190:	83 61 00 14 	lwz     r27,20(r1)                             
ffc11194:	7c 08 03 a6 	mtlr    r0                                     
ffc11198:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1119c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc111a0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc111a4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc111a8:	38 21 00 28 	addi    r1,r1,40                               
ffc111ac:	4e 80 00 20 	blr                                            
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc111b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      return 0;                                                       
ffc111b4:	3b c0 00 00 	li      r30,0                                  
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc111b8:	40 9e ff 4c 	bne+    cr7,ffc11104 <IMFS_memfile_get_block_pointer+0x50><== ALWAYS TAKEN
ffc111bc:	4b ff ff cc 	b       ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc111c0:	39 7c 00 01 	addi    r11,r28,1                              
ffc111c4:	7d 6b 49 d6 	mullw   r11,r11,r9                             
  }                                                                   
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
ffc111c8:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc111cc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc111d0:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc111d4:	41 bd ff b4 	bgt-    cr7,ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
ffc111d8:	7c 9c 20 50 	subf    r4,r28,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;                                        
ffc111dc:	81 43 00 60 	lwz     r10,96(r3)                             
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc111e0:	7d 64 4b 96 	divwu   r11,r4,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
ffc111e4:	7f ab 4b 96 	divwu   r29,r11,r9                             
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc111e8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc111ec:	7f 8b 49 d6 	mullw   r28,r11,r9                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc111f0:	7d 3d 49 d6 	mullw   r9,r29,r9                              
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc111f4:	7f 9c 20 50 	subf    r28,r28,r4                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc111f8:	7f 69 58 50 	subf    r27,r9,r11                             
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc111fc:	41 9e 00 c4 	beq-    cr7,ffc112c0 <IMFS_memfile_get_block_pointer+0x20c>
      if ( !p ) {                                                     
ffc11200:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc11204:	41 9e 01 00 	beq-    cr7,ffc11304 <IMFS_memfile_get_block_pointer+0x250>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
ffc11208:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc1120c:	7d 2a e8 2e 	lwzx    r9,r10,r29                             
ffc11210:	7f aa ea 14 	add     r29,r10,r29                            
      if ( !p1 ) {                                                    
ffc11214:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11218:	41 9e 00 d4 	beq-    cr7,ffc112ec <IMFS_memfile_get_block_pointer+0x238>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
ffc1121c:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc11220:	7c 69 d8 2e 	lwzx    r3,r9,r27                              
ffc11224:	7f 69 da 14 	add     r27,r9,r27                             
      if ( !p2 ) {                                                    
ffc11228:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1122c:	40 9e ff 54 	bne+    cr7,ffc11180 <IMFS_memfile_get_block_pointer+0xcc>
        p2 = memfile_alloc_block();                                   
ffc11230:	4b ff fe 41 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p2 )                                                    
           return 0;                                                  
ffc11234:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
ffc11238:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1123c:	41 a2 ff 4c 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
ffc11240:	90 7b 00 00 	stw     r3,0(r27)                              
ffc11244:	4b ff ff 3c 	b       ffc11180 <IMFS_memfile_get_block_pointer+0xcc>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc11248:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
      return 0;                                                       
ffc1124c:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc11250:	41 9e ff 38 	beq+    cr7,ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
ffc11254:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc11258:	7c 0b e8 2e 	lwzx    r0,r11,r29                             
    if ( !p )                                                         
ffc1125c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11260:	41 be ff 28 	beq-    cr7,ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc11264:	57 9e 10 3a 	rlwinm  r30,r28,2,0,29                         
ffc11268:	7f c0 f2 14 	add     r30,r0,r30                             
ffc1126c:	4b ff ff 1c 	b       ffc11188 <IMFS_memfile_get_block_pointer+0xd4>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc11270:	90 81 00 08 	stw     r4,8(r1)                               
ffc11274:	4b ff fd fd 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p )                                                     
ffc11278:	7c 60 1b 79 	mr.     r0,r3                                  
           return 0;                                                  
ffc1127c:	3b c0 00 00 	li      r30,0                                  
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc11280:	80 81 00 08 	lwz     r4,8(r1)                               
ffc11284:	41 a2 ff 04 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
ffc11288:	90 1f 00 58 	stw     r0,88(r31)                             
ffc1128c:	4b ff fe 78 	b       ffc11104 <IMFS_memfile_get_block_pointer+0x50>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc11290:	4b ff fd e1 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc11294:	3b c0 00 00 	li      r30,0                                  
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc11298:	7c 6b 1b 79 	mr.     r11,r3                                 
ffc1129c:	41 a2 fe ec 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
ffc112a0:	91 7f 00 5c 	stw     r11,92(r31)                            
ffc112a4:	4b ff fe c8 	b       ffc1116c <IMFS_memfile_get_block_pointer+0xb8>
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc112a8:	4b ff fd c9 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc112ac:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc112b0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc112b4:	41 a2 fe d4 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
ffc112b8:	90 7d 00 00 	stw     r3,0(r29)                              
ffc112bc:	4b ff fe c4 	b       ffc11180 <IMFS_memfile_get_block_pointer+0xcc>
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc112c0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc112c4:	41 9e fe c4 	beq+    cr7,ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
ffc112c8:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc112cc:	7d 2a e8 2e 	lwzx    r9,r10,r29                             
    if ( !p1 )                                                        
ffc112d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc112d4:	41 9e fe b4 	beq+    cr7,ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
ffc112d8:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc112dc:	7c 09 d8 2e 	lwzx    r0,r9,r27                              
    if ( !p2 )                                                        
ffc112e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc112e4:	40 9e ff 80 	bne+    cr7,ffc11264 <IMFS_memfile_get_block_pointer+0x1b0><== ALWAYS TAKEN
ffc112e8:	4b ff fe a0 	b       ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NOT EXECUTED
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc112ec:	4b ff fd 85 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc112f0:	3b c0 00 00 	li      r30,0                                  
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc112f4:	7c 69 1b 79 	mr.     r9,r3                                  
ffc112f8:	41 a2 fe 90 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
ffc112fc:	91 3d 00 00 	stw     r9,0(r29)                              
ffc11300:	4b ff ff 1c 	b       ffc1121c <IMFS_memfile_get_block_pointer+0x168>
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc11304:	4b ff fd 6d 	bl      ffc11070 <memfile_alloc_block>         
        if ( !p )                                                     
ffc11308:	7c 6a 1b 79 	mr.     r10,r3                                 
ffc1130c:	41 a2 fe 7c 	beq-    ffc11188 <IMFS_memfile_get_block_pointer+0xd4><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
ffc11310:	91 5f 00 60 	stw     r10,96(r31)                            
ffc11314:	4b ff fe f4 	b       ffc11208 <IMFS_memfile_get_block_pointer+0x154>
                                                                      

ffc11318 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
ffc11318:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1131c:	7c 08 02 a6 	mflr    r0                                     
ffc11320:	90 01 00 44 	stw     r0,68(r1)                              
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc11324:	80 03 00 4c 	lwz     r0,76(r3)                              
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc11328:	93 81 00 30 	stw     r28,48(r1)                             
ffc1132c:	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) {                          
ffc11330:	2f 80 00 06 	cmpwi   cr7,r0,6                               
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc11334:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11338:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1133c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11340:	7c be 2b 78 	mr      r30,r5                                 
ffc11344:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11348:	7c df 33 78 	mr      r31,r6                                 
ffc1134c:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc11350:	93 01 00 20 	stw     r24,32(r1)                             
ffc11354:	93 21 00 24 	stw     r25,36(r1)                             
ffc11358:	93 41 00 28 	stw     r26,40(r1)                             
ffc1135c:	93 61 00 2c 	stw     r27,44(r1)                             
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc11360:	41 9e 01 d0 	beq-    cr7,ffc11530 <IMFS_memfile_read+0x218> 
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
ffc11364:	80 03 00 50 	lwz     r0,80(r3)                              
ffc11368:	39 20 00 00 	li      r9,0                                   
ffc1136c:	83 43 00 54 	lwz     r26,84(r3)                             
ffc11370:	7f 89 00 00 	cmpw    cr7,r9,r0                              
                                                                      
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
ffc11374:	7c c0 33 78 	mr      r0,r6                                  
ffc11378:	7d 28 32 14 	add     r9,r8,r6                               
  if ( last_byte > the_jnode->info.file.size )                        
ffc1137c:	40 9d 01 28 	ble-    cr7,ffc114a4 <IMFS_memfile_read+0x18c> <== ALWAYS TAKEN
    my_length = the_jnode->info.file.size - start;                    
ffc11380:	7f 40 d0 50 	subf    r26,r0,r26                             
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc11384:	3f 20 00 00 	lis     r25,0                                  
ffc11388:	83 79 27 88 	lwz     r27,10120(r25)                         
ffc1138c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11390:	7f e4 fb 78 	mr      r4,r31                                 
ffc11394:	7f 78 fe 70 	srawi   r24,r27,31                             
ffc11398:	7f 05 c3 78 	mr      r5,r24                                 
ffc1139c:	7f 66 db 78 	mr      r6,r27                                 
ffc113a0:	48 00 64 79 	bl      ffc17818 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc113a4:	7f c3 f3 78 	mr      r3,r30                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc113a8:	7c 97 23 78 	mr      r23,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc113ac:	7f 05 c3 78 	mr      r5,r24                                 
ffc113b0:	7f e4 fb 78 	mr      r4,r31                                 
ffc113b4:	7f 66 db 78 	mr      r6,r27                                 
ffc113b8:	48 00 60 49 	bl      ffc17400 <__divdi3>                    
  if ( start_offset )  {                                              
ffc113bc:	2f 97 00 00 	cmpwi   cr7,r23,0                              
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc113c0:	7c 9e 23 78 	mr      r30,r4                                 
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
ffc113c4:	7f 98 e3 78 	mr      r24,r28                                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
ffc113c8:	3b e0 00 00 	li      r31,0                                  
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
ffc113cc:	41 9e 00 50 	beq-    cr7,ffc1141c <IMFS_memfile_read+0x104> 
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc113d0:	7f a3 eb 78 	mr      r3,r29                                 
ffc113d4:	38 a0 00 00 	li      r5,0                                   
ffc113d8:	4b ff fc dd 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc113dc:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
ffc113e0:	38 60 00 00 	li      r3,0                                   
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc113e4:	41 82 00 8c 	beq-    ffc11470 <IMFS_memfile_read+0x158>     <== NEVER TAKEN
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc113e8:	7f 77 d8 50 	subf    r27,r23,r27                            
ffc113ec:	7f 9a d8 40 	cmplw   cr7,r26,r27                            
ffc113f0:	7f 5f d3 78 	mr      r31,r26                                
ffc113f4:	41 9d 01 cc 	bgt-    cr7,ffc115c0 <IMFS_memfile_read+0x2a8> 
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
ffc113f8:	80 89 00 00 	lwz     r4,0(r9)                               
ffc113fc:	7f 83 e3 78 	mr      r3,r28                                 
ffc11400:	7f e5 fb 78 	mr      r5,r31                                 
ffc11404:	7c 84 ba 14 	add     r4,r4,r23                              
ffc11408:	48 00 2c 8d 	bl      ffc14094 <memcpy>                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
ffc1140c:	83 79 27 88 	lwz     r27,10120(r25)                         
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
ffc11410:	7f 1c fa 14 	add     r24,r28,r31                            
    block++;                                                          
ffc11414:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
ffc11418:	7f 5f d0 50 	subf    r26,r31,r26                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc1141c:	7f 9a d8 40 	cmplw   cr7,r26,r27                            
ffc11420:	40 bc 00 20 	bge+    cr7,ffc11440 <IMFS_memfile_read+0x128> 
ffc11424:	48 00 00 8c 	b       ffc114b0 <IMFS_memfile_read+0x198>     
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc11428:	80 89 00 00 	lwz     r4,0(r9)                               
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc1142c:	7f ff da 14 	add     r31,r31,r27                            
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc11430:	48 00 2c 65 	bl      ffc14094 <memcpy>                      
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc11434:	80 19 27 88 	lwz     r0,10120(r25)                          
ffc11438:	7f 80 d0 40 	cmplw   cr7,r0,r26                             
ffc1143c:	41 9d 00 74 	bgt-    cr7,ffc114b0 <IMFS_memfile_read+0x198> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11440:	7f c4 f3 78 	mr      r4,r30                                 
ffc11444:	38 a0 00 00 	li      r5,0                                   
ffc11448:	7f a3 eb 78 	mr      r3,r29                                 
ffc1144c:	4b ff fc 69 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
ffc11450:	7f 5b d0 50 	subf    r26,r27,r26                            
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc11454:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc11458:	7f 65 db 78 	mr      r5,r27                                 
ffc1145c:	7f 03 c3 78 	mr      r3,r24                                 
    dest += to_copy;                                                  
    block++;                                                          
ffc11460:	3b de 00 01 	addi    r30,r30,1                              
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
ffc11464:	7f 18 da 14 	add     r24,r24,r27                            
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc11468:	40 82 ff c0 	bne+    ffc11428 <IMFS_memfile_read+0x110>     <== ALWAYS TAKEN
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
ffc1146c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc11470:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc11474:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc11478:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1147c:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc11480:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc11484:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc11488:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc1148c:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc11490:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc11494:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc11498:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc1149c:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc114a0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
ffc114a4:	41 9e 01 0c 	beq-    cr7,ffc115b0 <IMFS_memfile_read+0x298> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc114a8:	7d 1a 43 78 	mr      r26,r8                                 <== NOT EXECUTED
ffc114ac:	4b ff fe d8 	b       ffc11384 <IMFS_memfile_read+0x6c>      <== NOT EXECUTED
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
ffc114b0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc114b4:	41 9e 00 30 	beq-    cr7,ffc114e4 <IMFS_memfile_read+0x1cc> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc114b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc114bc:	7f c4 f3 78 	mr      r4,r30                                 
ffc114c0:	38 a0 00 00 	li      r5,0                                   
ffc114c4:	4b ff fb f1 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc114c8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc114cc:	41 a2 ff a0 	beq-    ffc1146c <IMFS_memfile_read+0x154>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
ffc114d0:	80 83 00 00 	lwz     r4,0(r3)                               
ffc114d4:	7f 45 d3 78 	mr      r5,r26                                 
ffc114d8:	7f 03 c3 78 	mr      r3,r24                                 
ffc114dc:	48 00 2b b9 	bl      ffc14094 <memcpy>                      
    copied += my_length;                                              
ffc114e0:	7f ff d2 14 	add     r31,r31,r26                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc114e4:	38 61 00 08 	addi    r3,r1,8                                
ffc114e8:	38 80 00 00 	li      r4,0                                   
ffc114ec:	4b ff 36 89 	bl      ffc04b74 <gettimeofday>                
ffc114f0:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return copied;                                                      
ffc114f4:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc114f8:	82 e1 00 1c 	lwz     r23,28(r1)                             
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc114fc:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc11500:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11504:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11508:	7c 08 03 a6 	mtlr    r0                                     
ffc1150c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11510:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11514:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11518:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1151c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11520:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11524:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11528:	38 21 00 40 	addi    r1,r1,64                               
ffc1152c:	4e 80 00 20 	blr                                            
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc11530:	81 23 00 50 	lwz     r9,80(r3)                              
ffc11534:	38 00 00 00 	li      r0,0                                   
ffc11538:	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;    
ffc1153c:	80 83 00 58 	lwz     r4,88(r3)                              
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc11540:	7d 9f 50 10 	subfc   r12,r31,r10                            
ffc11544:	7d 7e 49 10 	subfe   r11,r30,r9                             
ffc11548:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc1154c:	40 9d 00 7c 	ble-    cr7,ffc115c8 <IMFS_memfile_read+0x2b0> <== ALWAYS TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
ffc11550:	7f 5f 50 50 	subf    r26,r31,r10                            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
ffc11554:	7c 84 fa 14 	add     r4,r4,r31                              
ffc11558:	7f 45 d3 78 	mr      r5,r26                                 
ffc1155c:	7f 83 e3 78 	mr      r3,r28                                 
ffc11560:	48 00 2b 35 	bl      ffc14094 <memcpy>                      
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc11564:	38 61 00 08 	addi    r3,r1,8                                
ffc11568:	38 80 00 00 	li      r4,0                                   
ffc1156c:	4b ff 36 09 	bl      ffc04b74 <gettimeofday>                
ffc11570:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
    return my_length;                                                 
ffc11574:	7f 43 d3 78 	mr      r3,r26                                 
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc11578:	82 e1 00 1c 	lwz     r23,28(r1)                             
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc1157c:	90 1d 00 40 	stw     r0,64(r29)                             
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc11580:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11584:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11588:	7c 08 03 a6 	mtlr    r0                                     
ffc1158c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11590:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11594:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11598:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1159c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc115a0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc115a4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc115a8:	38 21 00 40 	addi    r1,r1,64                               
ffc115ac:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  If the last byte we are supposed to read is past the end of this
   *  in memory file, then shorten the length to read.                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
ffc115b0:	7f 89 d0 40 	cmplw   cr7,r9,r26                             
ffc115b4:	41 bd fd cc 	bgt-    cr7,ffc11380 <IMFS_memfile_read+0x68>  
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc115b8:	7d 1a 43 78 	mr      r26,r8                                 
ffc115bc:	4b ff fd c8 	b       ffc11384 <IMFS_memfile_read+0x6c>      
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc115c0:	7f 7f db 78 	mr      r31,r27                                
ffc115c4:	4b ff fe 34 	b       ffc113f8 <IMFS_memfile_read+0xe0>      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc115c8:	40 9e 00 0c 	bne-    cr7,ffc115d4 <IMFS_memfile_read+0x2bc> <== NEVER TAKEN
ffc115cc:	7f 88 60 40 	cmplw   cr7,r8,r12                             
ffc115d0:	41 9d ff 80 	bgt+    cr7,ffc11550 <IMFS_memfile_read+0x238> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc115d4:	7d 1a 43 78 	mr      r26,r8                                 <== NOT EXECUTED
ffc115d8:	4b ff ff 7c 	b       ffc11554 <IMFS_memfile_read+0x23c>     <== NOT EXECUTED
                                                                      

ffc11714 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
ffc11714:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11718:	7c 08 02 a6 	mflr    r0                                     
ffc1171c:	93 41 00 10 	stw     r26,16(r1)                             
ffc11720:	7c 7a 1b 78 	mr      r26,r3                                 
ffc11724:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc11728:	93 c1 00 20 	stw     r30,32(r1)                             
                                                                      
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
ffc1172c:	3f c0 00 00 	lis     r30,0                                  
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc11730:	90 01 00 2c 	stw     r0,44(r1)                              
ffc11734:	93 21 00 0c 	stw     r25,12(r1)                             
ffc11738:	93 61 00 14 	stw     r27,20(r1)                             
ffc1173c:	93 81 00 18 	stw     r28,24(r1)                             
ffc11740:	93 e1 00 24 	stw     r31,36(r1)                             
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc11744:	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;                                 
ffc11748:	83 be 27 88 	lwz     r29,10120(r30)                         
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc1174c:	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;                                 
ffc11750:	57 bd f0 be 	rlwinm  r29,r29,30,2,31                        
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc11754:	41 9e 00 10 	beq-    cr7,ffc11764 <IMFS_memfile_remove+0x50>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
ffc11758:	38 63 00 58 	addi    r3,r3,88                               
ffc1175c:	7f a4 eb 78 	mr      r4,r29                                 
ffc11760:	4b ff ff 25 	bl      ffc11684 <memfile_free_blocks_in_table>
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc11764:	81 3a 00 5c 	lwz     r9,92(r26)                             
ffc11768:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1176c:	41 9e 00 68 	beq-    cr7,ffc117d4 <IMFS_memfile_remove+0xc0>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc11770:	80 1e 27 88 	lwz     r0,10120(r30)                          
ffc11774:	54 0b f0 bf 	rlwinm. r11,r0,30,2,31                         
ffc11778:	41 82 00 50 	beq-    ffc117c8 <IMFS_memfile_remove+0xb4>    <== NEVER TAKEN
ffc1177c:	3f 80 00 00 	lis     r28,0                                  
ffc11780:	38 60 00 00 	li      r3,0                                   
ffc11784:	3b e0 00 00 	li      r31,0                                  
ffc11788:	3b 9c 27 88 	addi    r28,r28,10120                          
ffc1178c:	48 00 00 08 	b       ffc11794 <IMFS_memfile_remove+0x80>    
ffc11790:	81 3a 00 5c 	lwz     r9,92(r26)                             
      if ( info->doubly_indirect[i] ) {                               
ffc11794:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc11798:	7c 09 18 2e 	lwzx    r0,r9,r3                               
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc1179c:	3b ff 00 01 	addi    r31,r31,1                              
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
ffc117a0:	7c 69 1a 14 	add     r3,r9,r3                               
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
ffc117a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
        memfile_free_blocks_in_table(                                 
ffc117a8:	7f a4 eb 78 	mr      r4,r29                                 
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
ffc117ac:	41 9e 00 08 	beq-    cr7,ffc117b4 <IMFS_memfile_remove+0xa0><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
ffc117b0:	4b ff fe d5 	bl      ffc11684 <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++ ) {                  
ffc117b4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc117b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc117bc:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc117c0:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc117c4:	41 9d ff cc 	bgt+    cr7,ffc11790 <IMFS_memfile_remove+0x7c>
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
         (block_p **)&info->doubly_indirect[i], to_free );            
      }                                                               
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
ffc117c8:	38 7a 00 5c 	addi    r3,r26,92                              
ffc117cc:	7f a4 eb 78 	mr      r4,r29                                 
ffc117d0:	4b ff fe b5 	bl      ffc11684 <memfile_free_blocks_in_table>
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc117d4:	80 7a 00 60 	lwz     r3,96(r26)                             
ffc117d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc117dc:	41 9e 00 b4 	beq-    cr7,ffc11890 <IMFS_memfile_remove+0x17c>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc117e0:	80 1e 27 88 	lwz     r0,10120(r30)                          
ffc117e4:	54 00 f0 bf 	rlwinm. r0,r0,30,2,31                          
ffc117e8:	41 82 00 9c 	beq-    ffc11884 <IMFS_memfile_remove+0x170>   <== NEVER TAKEN
      p = (block_p *) info->triply_indirect[i];                       
ffc117ec:	83 c3 00 00 	lwz     r30,0(r3)                              
      if ( !p )  /* ensure we have a valid pointer */                 
ffc117f0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc117f4:	41 9e 00 90 	beq-    cr7,ffc11884 <IMFS_memfile_remove+0x170><== NEVER TAKEN
ffc117f8:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc117fc:	3b 20 00 00 	li      r25,0                                  
      if ( !p )  /* ensure we have a valid pointer */                 
ffc11800:	3b 60 00 00 	li      r27,0                                  
ffc11804:	3b 9c 27 88 	addi    r28,r28,10120                          
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
ffc11808:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1180c:	41 9e 00 44 	beq-    cr7,ffc11850 <IMFS_memfile_remove+0x13c><== NEVER TAKEN
ffc11810:	38 60 00 00 	li      r3,0                                   
ffc11814:	3b e0 00 00 	li      r31,0                                  
        if ( p[j] ) {                                                 
ffc11818:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc1181c:	7c 1e 18 2e 	lwzx    r0,r30,r3                              
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
ffc11820:	3b ff 00 01 	addi    r31,r31,1                              
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc11824:	7c 7e 1a 14 	add     r3,r30,r3                              
    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] ) {                                                 
ffc11828:	2f 80 00 00 	cmpwi   cr7,r0,0                               
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc1182c:	7f a4 eb 78 	mr      r4,r29                                 
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
ffc11830:	41 9e 00 08 	beq-    cr7,ffc11838 <IMFS_memfile_remove+0x124><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc11834:	4b ff fe 51 	bl      ffc11684 <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++ ) {                
ffc11838:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc1183c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11840:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc11844:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc11848:	41 9c ff d0 	blt+    cr7,ffc11818 <IMFS_memfile_remove+0x104>
ffc1184c:	80 7a 00 60 	lwz     r3,96(r26)                             
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
ffc11850:	7c 63 ca 14 	add     r3,r3,r25                              
ffc11854:	7f a4 eb 78 	mr      r4,r29                                 
ffc11858:	4b ff fe 2d 	bl      ffc11684 <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++ ) {                  
ffc1185c:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc11860:	3b 7b 00 01 	addi    r27,r27,1                              
ffc11864:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc11868:	7f 80 d8 40 	cmplw   cr7,r0,r27                             
ffc1186c:	40 9d 00 18 	ble-    cr7,ffc11884 <IMFS_memfile_remove+0x170>
      p = (block_p *) info->triply_indirect[i];                       
ffc11870:	80 7a 00 60 	lwz     r3,96(r26)                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc11874:	57 79 10 3a 	rlwinm  r25,r27,2,0,29                         
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc11878:	7f c3 c8 2e 	lwzx    r30,r3,r25                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc1187c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc11880:	40 9e ff 88 	bne+    cr7,ffc11808 <IMFS_memfile_remove+0xf4><== ALWAYS TAKEN
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
ffc11884:	38 7a 00 60 	addi    r3,r26,96                              
ffc11888:	7f a4 eb 78 	mr      r4,r29                                 
ffc1188c:	4b ff fd f9 	bl      ffc11684 <memfile_free_blocks_in_table>
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc11890:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11894:	38 60 00 00 	li      r3,0                                   
ffc11898:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc1189c:	7c 08 03 a6 	mtlr    r0                                     
ffc118a0:	83 41 00 10 	lwz     r26,16(r1)                             
ffc118a4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc118a8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc118ac:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc118b0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc118b4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc118b8:	38 21 00 28 	addi    r1,r1,40                               
ffc118bc:	4e 80 00 20 	blr                                            
                                                                      

ffc11ad0 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
ffc11ad0:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11ad4:	7c 08 02 a6 	mflr    r0                                     
ffc11ad8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc11adc:	7c f7 3b 78 	mr      r23,r7                                 
ffc11ae0:	93 81 00 30 	stw     r28,48(r1)                             
ffc11ae4:	7c bc 2b 78 	mr      r28,r5                                 
ffc11ae8:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11aec:	7d 1d 43 78 	mr      r29,r8                                 
ffc11af0:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11af4:	7c de 33 78 	mr      r30,r6                                 
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
ffc11af8:	7c c8 32 14 	add     r6,r8,r6                               
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc11afc:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11b00:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11b04:	90 01 00 44 	stw     r0,68(r1)                              
ffc11b08:	93 01 00 20 	stw     r24,32(r1)                             
ffc11b0c:	93 21 00 24 	stw     r25,36(r1)                             
ffc11b10:	93 41 00 28 	stw     r26,40(r1)                             
ffc11b14:	93 61 00 2c 	stw     r27,44(r1)                             
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
ffc11b18:	80 03 00 50 	lwz     r0,80(r3)                              
ffc11b1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11b20:	41 9c 01 b8 	blt-    cr7,ffc11cd8 <IMFS_memfile_write+0x208><== NEVER TAKEN
ffc11b24:	41 9e 01 a8 	beq-    cr7,ffc11ccc <IMFS_memfile_write+0x1fc><== ALWAYS TAKEN
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc11b28:	3f 40 00 00 	lis     r26,0                                  
ffc11b2c:	83 7a 27 88 	lwz     r27,10120(r26)                         
ffc11b30:	7f 83 e3 78 	mr      r3,r28                                 
ffc11b34:	7f c4 f3 78 	mr      r4,r30                                 
ffc11b38:	7f 79 fe 70 	srawi   r25,r27,31                             
ffc11b3c:	7f 25 cb 78 	mr      r5,r25                                 
ffc11b40:	7f 66 db 78 	mr      r6,r27                                 
ffc11b44:	48 00 5c d5 	bl      ffc17818 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc11b48:	7f 83 e3 78 	mr      r3,r28                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc11b4c:	7c 98 23 78 	mr      r24,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc11b50:	7f 25 cb 78 	mr      r5,r25                                 
ffc11b54:	7f c4 f3 78 	mr      r4,r30                                 
ffc11b58:	7f 66 db 78 	mr      r6,r27                                 
ffc11b5c:	48 00 58 a5 	bl      ffc17400 <__divdi3>                    
  if ( start_offset )  {                                              
ffc11b60:	2f 98 00 00 	cmpwi   cr7,r24,0                              
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc11b64:	7c 9e 23 78 	mr      r30,r4                                 
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
ffc11b68:	3b 80 00 00 	li      r28,0                                  
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
ffc11b6c:	40 9e 00 8c 	bne-    cr7,ffc11bf8 <IMFS_memfile_write+0x128>
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc11b70:	7f 9d d8 40 	cmplw   cr7,r29,r27                            
ffc11b74:	40 bc 00 20 	bge+    cr7,ffc11b94 <IMFS_memfile_write+0xc4> 
ffc11b78:	48 00 00 cc 	b       ffc11c44 <IMFS_memfile_write+0x174>    
    if ( !block_ptr )                                                 
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
ffc11b7c:	80 63 00 00 	lwz     r3,0(r3)                               
 *  IMFS_memfile_write                                                
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
ffc11b80:	7f 9c da 14 	add     r28,r28,r27                            
    if ( !block_ptr )                                                 
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
ffc11b84:	48 00 25 11 	bl      ffc14094 <memcpy>                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc11b88:	80 1a 27 88 	lwz     r0,10120(r26)                          
ffc11b8c:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc11b90:	41 9d 00 b4 	bgt-    cr7,ffc11c44 <IMFS_memfile_write+0x174>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11b94:	7f c4 f3 78 	mr      r4,r30                                 
ffc11b98:	38 a0 00 00 	li      r5,0                                   
ffc11b9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11ba0:	4b ff f5 15 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc11ba4:	7f bb e8 50 	subf    r29,r27,r29                            
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc11ba8:	2c 03 00 00 	cmpwi   r3,0                                   
      return copied;                                                  
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
ffc11bac:	7e e4 bb 78 	mr      r4,r23                                 
ffc11bb0:	7f 65 db 78 	mr      r5,r27                                 
    src += to_copy;                                                   
ffc11bb4:	7e f7 da 14 	add     r23,r23,r27                            
    block++;                                                          
ffc11bb8:	3b de 00 01 	addi    r30,r30,1                              
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc11bbc:	40 82 ff c0 	bne+    ffc11b7c <IMFS_memfile_write+0xac>     <== ALWAYS TAKEN
ffc11bc0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
ffc11bc4:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11bc8:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11bcc:	7c 08 03 a6 	mtlr    r0                                     
ffc11bd0:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11bd4:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11bd8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11bdc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11be0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11be4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11be8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11bec:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11bf0:	38 21 00 40 	addi    r1,r1,64                               
ffc11bf4:	4e 80 00 20 	blr                                            
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11bf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11bfc:	38 a0 00 00 	li      r5,0                                   
ffc11c00:	4b ff f4 b5 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc11c04:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
ffc11c08:	38 60 00 00 	li      r3,0                                   
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc11c0c:	41 a2 ff b8 	beq-    ffc11bc4 <IMFS_memfile_write+0xf4>     <== 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;            
ffc11c10:	7f 98 d8 50 	subf    r28,r24,r27                            
ffc11c14:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc11c18:	41 9d 00 e8 	bgt-    cr7,ffc11d00 <IMFS_memfile_write+0x230>
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc11c1c:	80 69 00 00 	lwz     r3,0(r9)                               
ffc11c20:	7e e4 bb 78 	mr      r4,r23                                 
ffc11c24:	7f 85 e3 78 	mr      r5,r28                                 
ffc11c28:	7c 63 c2 14 	add     r3,r3,r24                              
ffc11c2c:	48 00 24 69 	bl      ffc14094 <memcpy>                      
    src += to_copy;                                                   
ffc11c30:	7e f7 e2 14 	add     r23,r23,r28                            
    block++;                                                          
ffc11c34:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc11c38:	83 7a 27 88 	lwz     r27,10120(r26)                         
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc11c3c:	7f bc e8 50 	subf    r29,r28,r29                            
ffc11c40:	4b ff ff 30 	b       ffc11b70 <IMFS_memfile_write+0xa0>     
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
ffc11c44:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc11c48:	41 9e 00 34 	beq-    cr7,ffc11c7c <IMFS_memfile_write+0x1ac>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11c4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11c50:	7f c4 f3 78 	mr      r4,r30                                 
ffc11c54:	38 a0 00 00 	li      r5,0                                   
ffc11c58:	4b ff f4 5d 	bl      ffc110b4 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc11c5c:	7c 69 1b 79 	mr.     r9,r3                                  
ffc11c60:	7f 83 e3 78 	mr      r3,r28                                 
ffc11c64:	41 a2 ff 60 	beq-    ffc11bc4 <IMFS_memfile_write+0xf4>     <== 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 );                     
ffc11c68:	80 69 00 00 	lwz     r3,0(r9)                               
ffc11c6c:	7e e4 bb 78 	mr      r4,r23                                 
ffc11c70:	7f a5 eb 78 	mr      r5,r29                                 
ffc11c74:	48 00 24 21 	bl      ffc14094 <memcpy>                      
    my_length = 0;                                                    
    copied += to_copy;                                                
ffc11c78:	7f 9c ea 14 	add     r28,r28,r29                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc11c7c:	38 61 00 08 	addi    r3,r1,8                                
ffc11c80:	38 80 00 00 	li      r4,0                                   
ffc11c84:	4b ff 2e f1 	bl      ffc04b74 <gettimeofday>                
ffc11c88:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return copied;                                                      
ffc11c8c:	7f 83 e3 78 	mr      r3,r28                                 
}                                                                     
ffc11c90:	82 e1 00 1c 	lwz     r23,28(r1)                             
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc11c94:	90 1f 00 44 	stw     r0,68(r31)                             
ffc11c98:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc11c9c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11ca0:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11ca4:	7c 08 03 a6 	mtlr    r0                                     
ffc11ca8:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11cac:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11cb0:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11cb4:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11cb8:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11cbc:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11cc0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11cc4:	38 21 00 40 	addi    r1,r1,64                               
ffc11cc8:	4e 80 00 20 	blr                                            
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
ffc11ccc:	80 03 00 54 	lwz     r0,84(r3)                              
ffc11cd0:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc11cd4:	40 9c fe 54 	bge+    cr7,ffc11b28 <IMFS_memfile_write+0x58> <== NEVER TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
ffc11cd8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11cdc:	38 a0 00 00 	li      r5,0                                   
ffc11ce0:	4b ff fc 1d 	bl      ffc118fc <IMFS_memfile_extend>         
    if ( status )                                                     
ffc11ce4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11ce8:	41 9e fe 40 	beq+    cr7,ffc11b28 <IMFS_memfile_write+0x58> 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc11cec:	48 00 17 49 	bl      ffc13434 <__errno>                     
ffc11cf0:	38 00 00 1c 	li      r0,28                                  
ffc11cf4:	90 03 00 00 	stw     r0,0(r3)                               
ffc11cf8:	38 60 ff ff 	li      r3,-1                                  
ffc11cfc:	4b ff fe c8 	b       ffc11bc4 <IMFS_memfile_write+0xf4>     
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc11d00:	80 69 00 00 	lwz     r3,0(r9)                               
   *  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;            
ffc11d04:	7f bc eb 78 	mr      r28,r29                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc11d08:	7e e4 bb 78 	mr      r4,r23                                 
ffc11d0c:	7c 63 c2 14 	add     r3,r3,r24                              
ffc11d10:	7f 85 e3 78 	mr      r5,r28                                 
ffc11d14:	48 00 23 81 	bl      ffc14094 <memcpy>                      
    src += to_copy;                                                   
ffc11d18:	7e f7 e2 14 	add     r23,r23,r28                            
    block++;                                                          
ffc11d1c:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc11d20:	83 7a 27 88 	lwz     r27,10120(r26)                         
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc11d24:	7f bc e8 50 	subf    r29,r28,r29                            
ffc11d28:	4b ff fe 48 	b       ffc11b70 <IMFS_memfile_write+0xa0>     
                                                                      

ffc04194 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04194:	7c 08 02 a6 	mflr    r0                                     
ffc04198:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0419c:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc041a0:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc041a4:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc041a8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc041ac:	40 9e 00 1c 	bne-    cr7,ffc041c8 <IMFS_mount+0x34>         <== NEVER TAKEN
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
ffc041b0:	90 69 00 5c 	stw     r3,92(r9)                              
  return 0;                                                           
ffc041b4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc041b8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc041bc:	38 21 00 08 	addi    r1,r1,8                                
ffc041c0:	7c 08 03 a6 	mtlr    r0                                     
ffc041c4:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc041c8:	48 00 f2 6d 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc041cc:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc041d0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc041d4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc041d8:	4b ff ff e0 	b       ffc041b8 <IMFS_mount+0x24>             <== NOT EXECUTED
                                                                      

ffc07218 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
ffc07218:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0721c:	7c 08 02 a6 	mflr    r0                                     
ffc07220:	93 c1 00 08 	stw     r30,8(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc07224:	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                                             
)                                                                     
{                                                                     
ffc07228:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc0722c:	81 3e 27 78 	lwz     r9,10104(r30)                          
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
ffc07230:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc07234:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc07238:	38 63 00 0c 	addi    r3,r3,12                               
ffc0723c:	80 89 00 08 	lwz     r4,8(r9)                               
ffc07240:	48 01 1d 91 	bl      ffc18fd0 <fputs>                       
  switch( the_jnode->type ) {                                         
ffc07244:	80 bf 00 4c 	lwz     r5,76(r31)                             
ffc07248:	2b 85 00 07 	cmplwi  cr7,r5,7                               
ffc0724c:	40 9d 00 34 	ble-    cr7,ffc07280 <IMFS_print_jnode+0x68>   <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
ffc07250:	81 3e 27 78 	lwz     r9,10104(r30)                          <== NOT EXECUTED
ffc07254:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc07258:	38 84 b0 94 	addi    r4,r4,-20332                           <== NOT EXECUTED
ffc0725c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc07260:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07264:	48 01 1b 69 	bl      ffc18dcc <fprintf>                     <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc07268:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0726c:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc07270:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07274:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc07278:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0727c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
ffc07280:	3d 20 ff c3 	lis     r9,-61                                 
ffc07284:	39 29 b0 1c 	addi    r9,r9,-20452                           
ffc07288:	54 a0 10 3a 	rlwinm  r0,r5,2,0,29                           
ffc0728c:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc07290:	7d 20 4a 14 	add     r9,r0,r9                               
ffc07294:	7d 29 03 a6 	mtctr   r9                                     
ffc07298:	4e 80 04 20 	bctr                                           
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc0729c:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc072a0:	3c 60 ff c3 	lis     r3,-61                                 
ffc072a4:	38 63 b0 6c 	addi    r3,r3,-20372                           
ffc072a8:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc072ac:	38 80 00 01 	li      r4,1                                   
ffc072b0:	38 a0 00 13 	li      r5,19                                  
ffc072b4:	48 01 2b 6d 	bl      ffc19e20 <fwrite>                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc072b8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc072bc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc072c0:	7c 08 03 a6 	mtlr    r0                                     
ffc072c4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc072c8:	38 21 00 10 	addi    r1,r1,16                               
ffc072cc:	4e 80 00 20 	blr                                            
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc072d0:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc072d4:	3c 60 ff c3 	lis     r3,-61                                 
ffc072d8:	38 63 b0 80 	addi    r3,r3,-20352                           
ffc072dc:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc072e0:	38 80 00 01 	li      r4,1                                   
ffc072e4:	38 a0 00 12 	li      r5,18                                  
ffc072e8:	48 01 2b 39 	bl      ffc19e20 <fwrite>                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
ffc072ec:	80 01 00 14 	lwz     r0,20(r1)                              
ffc072f0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc072f4:	7c 08 03 a6 	mtlr    r0                                     
ffc072f8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc072fc:	38 21 00 10 	addi    r1,r1,16                               
ffc07300:	4e 80 00 20 	blr                                            
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc07304:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc07308:	3c 80 ff c3 	lis     r4,-61                                 
ffc0730c:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc07310:	38 84 b0 60 	addi    r4,r4,-20384                           
ffc07314:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07318:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0731c:	48 01 1a b1 	bl      ffc18dcc <fprintf>                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
ffc07320:	3c 60 ff c3 	lis     r3,-61                                 
ffc07324:	38 63 a2 84 	addi    r3,r3,-23932                           
ffc07328:	48 01 3d 71 	bl      ffc1b098 <puts>                        
}                                                                     
ffc0732c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc07330:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc07334:	7c 08 03 a6 	mtlr    r0                                     
ffc07338:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0733c:	38 21 00 10 	addi    r1,r1,16                               
ffc07340:	4e 80 00 20 	blr                                            
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
ffc07344:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc07348:	3c 80 ff c3 	lis     r4,-61                                 
ffc0734c:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc07350:	38 84 b0 50 	addi    r4,r4,-20400                           
ffc07354:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07358:	80 df 00 58 	lwz     r6,88(r31)                             
ffc0735c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07360:	48 01 1a 6d 	bl      ffc18dcc <fprintf>                     
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
ffc07364:	4b ff ff bc 	b       ffc07320 <IMFS_print_jnode+0x108>      
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
ffc07368:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc0736c:	38 60 00 2f 	li      r3,47                                  
ffc07370:	80 89 00 08 	lwz     r4,8(r9)                               
ffc07374:	48 01 1b 41 	bl      ffc18eb4 <fputc>                       
      break;                                                          
ffc07378:	4b ff ff a8 	b       ffc07320 <IMFS_print_jnode+0x108>      
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
ffc0737c:	81 3e 27 78 	lwz     r9,10104(r30)                          
ffc07380:	3c 80 ff c3 	lis     r4,-61                                 
ffc07384:	80 bf 00 50 	lwz     r5,80(r31)                             
ffc07388:	38 84 b0 3c 	addi    r4,r4,-20420                           
ffc0738c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07390:	80 df 00 54 	lwz     r6,84(r31)                             
ffc07394:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07398:	48 01 1a 35 	bl      ffc18dcc <fprintf>                     
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
ffc0739c:	4b ff ff 84 	b       ffc07320 <IMFS_print_jnode+0x108>      
                                                                      

ffc04238 <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 */ ) {
ffc04238:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0423c:	7c 08 02 a6 	mflr    r0                                     
ffc04240:	90 01 00 24 	stw     r0,36(r1)                              
ffc04244:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
ffc04248:	83 e4 00 00 	lwz     r31,0(r4)                              
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
ffc0424c:	7c c4 33 78 	mr      r4,r6                                  
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
ffc04250:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04254:	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 );                
ffc04258:	38 7f 00 0c 	addi    r3,r31,12                              
ffc0425c:	38 a0 00 20 	li      r5,32                                  
ffc04260:	48 01 05 01 	bl      ffc14760 <strncpy>                     
                                                                      
  if ( the_jnode->Parent != NULL )                                    
ffc04264:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc04268:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0426c:	41 9e 00 0c 	beq-    cr7,ffc04278 <IMFS_rename+0x40>        <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc04270:	7f e3 fb 78 	mr      r3,r31                                 
ffc04274:	48 00 58 b1 	bl      ffc09b24 <_Chain_Extract>              
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
ffc04278:	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 );                               
ffc0427c:	7f e4 fb 78 	mr      r4,r31                                 
  the_jnode->Parent = new_parent;                                     
ffc04280:	90 7f 00 08 	stw     r3,8(r31)                              
ffc04284:	38 63 00 50 	addi    r3,r3,80                               
ffc04288:	48 00 58 6d 	bl      ffc09af4 <_Chain_Append>               
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc0428c:	38 61 00 08 	addi    r3,r1,8                                
ffc04290:	38 80 00 00 	li      r4,0                                   
ffc04294:	48 00 08 e1 	bl      ffc04b74 <gettimeofday>                
ffc04298:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc0429c:	38 60 00 00 	li      r3,0                                   
ffc042a0:	83 c1 00 18 	lwz     r30,24(r1)                             
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc042a4:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc042a8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc042ac:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc042b0:	38 21 00 20 	addi    r1,r1,32                               
ffc042b4:	7c 08 03 a6 	mtlr    r0                                     
ffc042b8:	4e 80 00 20 	blr                                            
                                                                      

ffc0e89c <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc0e89c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0e8a0:	7c 08 02 a6 	mflr    r0                                     
ffc0e8a4:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
ffc0e8a8:	81 23 00 00 	lwz     r9,0(r3)                               
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
ffc0e8ac:	93 e1 00 0c 	stw     r31,12(r1)                             
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0e8b0:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0e8b4:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc0e8b8:	40 9d 00 28 	ble-    cr7,ffc0e8e0 <IMFS_stat+0x44>          <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
ffc0e8bc:	48 00 4b 79 	bl      ffc13434 <__errno>                     
ffc0e8c0:	38 00 00 86 	li      r0,134                                 
ffc0e8c4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e8c8:	38 60 ff ff 	li      r3,-1                                  
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0e8cc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0e8d0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0e8d4:	38 21 00 10 	addi    r1,r1,16                               
ffc0e8d8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e8dc:	4e 80 00 20 	blr                                            
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0e8e0:	3d 60 ff c2 	lis     r11,-62                                
ffc0e8e4:	39 6b a3 a8 	addi    r11,r11,-23640                         
ffc0e8e8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0e8ec:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0e8f0:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0e8f4:	7d 69 03 a6 	mtctr   r11                                    
ffc0e8f8:	4e 80 04 20 	bctr                                           
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
ffc0e8fc:	39 60 00 00 	li      r11,0                                  
ffc0e900:	39 80 00 00 	li      r12,0                                  
ffc0e904:	91 64 00 20 	stw     r11,32(r4)                             
ffc0e908:	91 84 00 24 	stw     r12,36(r4)                             
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
ffc0e90c:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
ffc0e910:	38 60 00 00 	li      r3,0                                   
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0e914:	80 09 00 48 	lwz     r0,72(r9)                              
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
ffc0e918:	81 6b 00 34 	lwz     r11,52(r11)                            
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0e91c:	81 89 00 30 	lwz     r12,48(r9)                             
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
ffc0e920:	83 eb 00 00 	lwz     r31,0(r11)                             
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0e924:	a0 a9 00 34 	lhz     r5,52(r9)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0e928:	80 c9 00 38 	lwz     r6,56(r9)                              
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0e92c:	a0 e9 00 3c 	lhz     r7,60(r9)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0e930:	a1 09 00 3e 	lhz     r8,62(r9)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0e934:	81 49 00 40 	lwz     r10,64(r9)                             
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0e938:	81 69 00 44 	lwz     r11,68(r9)                             
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0e93c:	39 20 00 00 	li      r9,0                                   
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0e940:	90 04 00 38 	stw     r0,56(r4)                              
ffc0e944:	61 29 ff fe 	ori     r9,r9,65534                            
                                                                      
  return 0;                                                           
}                                                                     
ffc0e948:	80 01 00 14 	lwz     r0,20(r1)                              
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
ffc0e94c:	93 e4 00 04 	stw     r31,4(r4)                              
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0e950:	7c 08 03 a6 	mtlr    r0                                     
ffc0e954:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0e958:	38 21 00 10 	addi    r1,r1,16                               
  /*                                                                  
   * 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 =                                                       
ffc0e95c:	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;                                 
ffc0e960:	91 84 00 0c 	stw     r12,12(r4)                             
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0e964:	b0 a4 00 10 	sth     r5,16(r4)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0e968:	90 c4 00 08 	stw     r6,8(r4)                               
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0e96c:	b0 e4 00 12 	sth     r7,18(r4)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0e970:	b1 04 00 14 	sth     r8,20(r4)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0e974:	91 44 00 28 	stw     r10,40(r4)                             
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0e978:	91 64 00 30 	stw     r11,48(r4)                             
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0e97c:	4e 80 00 20 	blr                                            
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
ffc0e980:	81 69 00 54 	lwz     r11,84(r9)                             
ffc0e984:	80 09 00 50 	lwz     r0,80(r9)                              
ffc0e988:	91 64 00 1c 	stw     r11,28(r4)                             
ffc0e98c:	90 04 00 18 	stw     r0,24(r4)                              
      break;                                                          
ffc0e990:	4b ff ff 7c 	b       ffc0e90c <IMFS_stat+0x70>              
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
ffc0e994:	81 69 00 50 	lwz     r11,80(r9)                             
ffc0e998:	81 89 00 54 	lwz     r12,84(r9)                             
ffc0e99c:	91 64 00 20 	stw     r11,32(r4)                             
ffc0e9a0:	91 84 00 24 	stw     r12,36(r4)                             
      break;                                                          
ffc0e9a4:	4b ff ff 68 	b       ffc0e90c <IMFS_stat+0x70>              
                                                                      

ffc0437c <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
ffc0437c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04380:	7c 08 02 a6 	mflr    r0                                     
ffc04384:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04388:	93 c1 00 30 	stw     r30,48(r1)                             
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
ffc0438c:	83 c4 00 00 	lwz     r30,0(r4)                              
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc04390:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04394:	7c 7d 1b 78 	mr      r29,r3                                 
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc04398:	80 1e 00 4c 	lwz     r0,76(r30)                             
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc0439c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc043a0:	7c 9f 23 78 	mr      r31,r4                                 
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc043a4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
ffc043a8:	93 81 00 28 	stw     r28,40(r1)                             
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc043ac:	41 9e 00 3c 	beq-    cr7,ffc043e8 <IMFS_unlink+0x6c>        
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
ffc043b0:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc043b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc043b8:	7f e4 fb 78 	mr      r4,r31                                 
ffc043bc:	80 09 00 34 	lwz     r0,52(r9)                              
ffc043c0:	7c 09 03 a6 	mtctr   r0                                     
ffc043c4:	4e 80 04 21 	bctrl                                          
                                                                      
  return result;                                                      
}                                                                     
ffc043c8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc043cc:	83 81 00 28 	lwz     r28,40(r1)                             
ffc043d0:	7c 08 03 a6 	mtlr    r0                                     
ffc043d4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc043d8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc043dc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc043e0:	38 21 00 38 	addi    r1,r1,56                               
ffc043e4:	4e 80 00 20 	blr                                            
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
ffc043e8:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc043ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc043f0:	41 9e 00 90 	beq-    cr7,ffc04480 <IMFS_unlink+0x104>       <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
    the_link.node_access = node->info.hard_link.link_node;            
ffc043f4:	7c 3c 0b 78 	mr      r28,r1                                 
ffc043f8:	94 1c 00 10 	stwu    r0,16(r28)                             
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
ffc043fc:	81 64 00 08 	lwz     r11,8(r4)                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc04400:	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;                                                  
ffc04404:	81 24 00 0c 	lwz     r9,12(r4)                              
ffc04408:	81 44 00 04 	lwz     r10,4(r4)                              
ffc0440c:	80 04 00 10 	lwz     r0,16(r4)                              
ffc04410:	91 61 00 18 	stw     r11,24(r1)                             
ffc04414:	91 21 00 1c 	stw     r9,28(r1)                              
ffc04418:	91 41 00 14 	stw     r10,20(r1)                             
ffc0441c:	90 01 00 20 	stw     r0,32(r1)                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc04420:	48 00 96 71 	bl      ffc0da90 <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)               
ffc04424:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc04428:	a1 69 00 34 	lhz     r11,52(r9)                             
ffc0442c:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc04430:	41 9e 00 28 	beq-    cr7,ffc04458 <IMFS_unlink+0xdc>        
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
ffc04434:	39 6b ff ff 	addi    r11,r11,-1                             
ffc04438:	b1 69 00 34 	sth     r11,52(r9)                             
        IMFS_update_ctime( node->info.hard_link.link_node );          
ffc0443c:	38 61 00 08 	addi    r3,r1,8                                
ffc04440:	38 80 00 00 	li      r4,0                                   
ffc04444:	48 00 07 31 	bl      ffc04b74 <gettimeofday>                
ffc04448:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc0444c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04450:	90 09 00 48 	stw     r0,72(r9)                              
ffc04454:	4b ff ff 5c 	b       ffc043b0 <IMFS_unlink+0x34>            
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
ffc04458:	81 21 00 18 	lwz     r9,24(r1)                              
ffc0445c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04460:	7f 84 e3 78 	mr      r4,r28                                 
ffc04464:	80 09 00 34 	lwz     r0,52(r9)                              
ffc04468:	7c 09 03 a6 	mtctr   r0                                     
ffc0446c:	4e 80 04 21 	bctrl                                          
        if ( result != 0 )                                            
ffc04470:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
ffc04474:	38 60 ff ff 	li      r3,-1                                  
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
        if ( result != 0 )                                            
ffc04478:	41 9e ff 38 	beq+    cr7,ffc043b0 <IMFS_unlink+0x34>        
ffc0447c:	4b ff ff 4c 	b       ffc043c8 <IMFS_unlink+0x4c>            
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc04480:	48 00 ef b5 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc04484:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc04488:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0448c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04490:	4b ff ff 38 	b       ffc043c8 <IMFS_unlink+0x4c>            <== NOT EXECUTED
                                                                      

ffc04494 <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04494:	7c 08 02 a6 	mflr    r0                                     
ffc04498:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0449c:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc044a0:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc044a4:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc044a8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc044ac:	40 9e 00 2c 	bne-    cr7,ffc044d8 <IMFS_unmount+0x44>       <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
ffc044b0:	80 09 00 5c 	lwz     r0,92(r9)                              
ffc044b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc044b8:	41 9e 00 34 	beq-    cr7,ffc044ec <IMFS_unmount+0x58>       <== NEVER TAKEN
  /*                                                                  
   * Set the mt_fs pointer to indicate that there is no longer        
   * a file system mounted to this point.                             
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
ffc044bc:	38 00 00 00 	li      r0,0                                   
ffc044c0:	90 09 00 5c 	stw     r0,92(r9)                              
                                                                      
  return 0;                                                           
ffc044c4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc044c8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc044cc:	38 21 00 08 	addi    r1,r1,8                                
ffc044d0:	7c 08 03 a6 	mtlr    r0                                     
ffc044d4:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc044d8:	48 00 ef 5d 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc044dc:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc044e0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc044e4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc044e8:	4b ff ff e0 	b       ffc044c8 <IMFS_unmount+0x34>           <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
ffc044ec:	48 00 ef 49 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc044f0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc044f4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc044f8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc044fc:	4b ff ff cc 	b       ffc044c8 <IMFS_unmount+0x34>           <== NOT EXECUTED
                                                                      

ffc04db0 <RTEMS_Malloc_Initialize>: ) { /* * If configured, initialize the statistics support */ if ( rtems_malloc_statistics_helpers != NULL ) {
ffc04db0:	3d 20 00 00 	lis     r9,0                                   
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc04db4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04db8:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc04dbc:	81 29 27 48 	lwz     r9,10056(r9)                           
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc04dc0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc04dc4:	7c 9d 23 78 	mr      r29,r4                                 
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc04dc8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
ffc04dcc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc04dd0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04dd4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc04dd8:	7c bf 2b 78 	mr      r31,r5                                 
ffc04ddc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc04de0:	93 81 00 08 	stw     r28,8(r1)                              
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc04de4:	41 9e 00 10 	beq-    cr7,ffc04df4 <RTEMS_Malloc_Initialize+0x44>
    (*rtems_malloc_statistics_helpers->initialize)();                 
ffc04de8:	80 09 00 00 	lwz     r0,0(r9)                               
ffc04dec:	7c 09 03 a6 	mtctr   r0                                     
ffc04df0:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
ffc04df4:	4b ff ff 2d 	bl      ffc04d20 <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
ffc04df8:	3d 20 00 00 	lis     r9,0                                   
ffc04dfc:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc04e00:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04e04:	41 9e 00 20 	beq-    cr7,ffc04e24 <RTEMS_Malloc_Initialize+0x74>
    heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(            
ffc04e08:	80 09 00 00 	lwz     r0,0(r9)                               
ffc04e0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e10:	7f e4 fb 78 	mr      r4,r31                                 
ffc04e14:	7c 09 03 a6 	mtctr   r0                                     
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
    heap_size  = (uintptr_t) sbrk_amount;                             
ffc04e18:	7f fd fb 78 	mr      r29,r31                                
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(            
ffc04e1c:	4e 80 04 21 	bctrl                                          
ffc04e20:	7c 7e 1b 78 	mr      r30,r3                                 
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if (                                                                
ffc04e24:	3f 80 00 00 	lis     r28,0                                  
ffc04e28:	88 1c 27 44 	lbz     r0,10052(r28)                          
ffc04e2c:	3f e0 00 00 	lis     r31,0                                  
ffc04e30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04e34:	40 9e 00 34 	bne-    cr7,ffc04e68 <RTEMS_Malloc_Initialize+0xb8>
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
ffc04e38:	3d 20 00 00 	lis     r9,0                                   
ffc04e3c:	88 09 20 cc 	lbz     r0,8396(r9)                            
ffc04e40:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04e44:	40 9e 00 5c 	bne-    cr7,ffc04ea0 <RTEMS_Malloc_Initialize+0xf0>
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
ffc04e48:	3f e0 00 00 	lis     r31,0                                  
ffc04e4c:	80 7f 26 e4 	lwz     r3,9956(r31)                           
ffc04e50:	7f c4 f3 78 	mr      r4,r30                                 
ffc04e54:	7f a5 eb 78 	mr      r5,r29                                 
ffc04e58:	38 c0 00 08 	li      r6,8                                   
ffc04e5c:	48 00 55 35 	bl      ffc0a390 <_Heap_Initialize>            
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
ffc04e60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e64:	41 9e 00 5c 	beq-    cr7,ffc04ec0 <RTEMS_Malloc_Initialize+0x110>
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc04e68:	80 7f 26 e4 	lwz     r3,9956(r31)                           
ffc04e6c:	3f c0 00 00 	lis     r30,0                                  
ffc04e70:	83 fe 2b 00 	lwz     r31,11008(r30)                         
ffc04e74:	48 00 62 ed 	bl      ffc0b160 <_Protected_heap_Get_size>    
}                                                                     
ffc04e78:	80 01 00 1c 	lwz     r0,28(r1)                              
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc04e7c:	7c 63 fa 14 	add     r3,r3,r31                              
}                                                                     
ffc04e80:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04e84:	7c 08 03 a6 	mtlr    r0                                     
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
ffc04e88:	90 7e 2b 00 	stw     r3,11008(r30)                          
}                                                                     
ffc04e8c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04e90:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04e94:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04e98:	38 21 00 18 	addi    r1,r1,24                               
ffc04e9c:	4e 80 00 20 	blr                                            
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
ffc04ea0:	7f c3 f3 78 	mr      r3,r30                                 
ffc04ea4:	38 80 00 00 	li      r4,0                                   
ffc04ea8:	7f a5 eb 78 	mr      r5,r29                                 
ffc04eac:	48 00 f2 c9 	bl      ffc14174 <memset>                      
   *  Unfortunately we cannot use assert if this fails because if this
   *  has failed we do not have a heap and if we do not have a heap   
   *  STDIO cannot work because there will be no buffers.             
   */                                                                 
                                                                      
  if ( !rtems_unified_work_area ) {                                   
ffc04eb0:	88 1c 27 44 	lbz     r0,10052(r28)                          
ffc04eb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04eb8:	41 9e ff 90 	beq+    cr7,ffc04e48 <RTEMS_Malloc_Initialize+0x98><== ALWAYS TAKEN
ffc04ebc:	4b ff ff ac 	b       ffc04e68 <RTEMS_Malloc_Initialize+0xb8><== NOT EXECUTED
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
ffc04ec0:	38 60 00 1a 	li      r3,26                                  
ffc04ec4:	48 00 47 79 	bl      ffc0963c <rtems_fatal_error_occurred>  
                                                                      

ffc046b8 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
ffc046b8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc046bc:	7c 08 02 a6 	mflr    r0                                     
ffc046c0:	90 01 00 44 	stw     r0,68(r1)                              
ffc046c4:	93 81 00 30 	stw     r28,48(r1)                             
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc046c8:	81 03 00 bc 	lwz     r8,188(r3)                             
  size = Stack_check_usable_stack_size(stack);                        
ffc046cc:	83 83 00 b8 	lwz     r28,184(r3)                            
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc046d0:	39 08 00 80 	addi    r8,r8,128                              
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc046d4:	93 41 00 28 	stw     r26,40(r1)                             
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
ffc046d8:	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;                                       
ffc046dc:	39 28 00 80 	addi    r9,r8,128                              
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc046e0:	93 61 00 2c 	stw     r27,44(r1)                             
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc046e4:	57 8b 00 3a 	rlwinm  r11,r28,0,0,29                         
ffc046e8:	7d 69 5a 14 	add     r11,r9,r11                             
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc046ec:	93 a1 00 34 	stw     r29,52(r1)                             
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc046f0:	7f 89 58 40 	cmplw   cr7,r9,r11                             
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc046f4:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc046f8:	7c 7b 1b 78 	mr      r27,r3                                 
  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;                                                         
ffc046fc:	3b a0 00 00 	li      r29,0                                  
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc04700:	93 01 00 20 	stw     r24,32(r1)                             
ffc04704:	93 21 00 24 	stw     r25,36(r1)                             
ffc04708:	93 c1 00 38 	stw     r30,56(r1)                             
ffc0470c:	93 e1 00 3c 	stw     r31,60(r1)                             
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc04710:	83 43 00 c8 	lwz     r26,200(r3)                            
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc04714:	40 9c 00 34 	bge-    cr7,ffc04748 <Stack_check_Dump_threads_usage+0x90><== NEVER TAKEN
      if (*base != U32_PATTERN)                                       
ffc04718:	81 48 00 80 	lwz     r10,128(r8)                            
ffc0471c:	6d 40 5a 5a 	xoris   r0,r10,23130                           
ffc04720:	2f 80 a5 a5 	cmpwi   cr7,r0,-23131                          
ffc04724:	41 9e 00 14 	beq-    cr7,ffc04738 <Stack_check_Dump_threads_usage+0x80><== ALWAYS TAKEN
ffc04728:	48 00 00 f8 	b       ffc04820 <Stack_check_Dump_threads_usage+0x168><== NOT EXECUTED
ffc0472c:	80 09 00 00 	lwz     r0,0(r9)                               
ffc04730:	7f 80 50 00 	cmpw    cr7,r0,r10                             
ffc04734:	40 9e 00 ec 	bne-    cr7,ffc04820 <Stack_check_Dump_threads_usage+0x168>
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc04738:	39 29 00 04 	addi    r9,r9,4                                
ffc0473c:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc04740:	41 9d ff ec 	bgt+    cr7,ffc0472c <Stack_check_Dump_threads_usage+0x74><== ALWAYS TAKEN
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc04744:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
ffc04748:	82 fb 00 08 	lwz     r23,8(r27)                             
ffc0474c:	3f c0 00 00 	lis     r30,0                                  
ffc04750:	3b fe 28 d4 	addi    r31,r30,10452                          
ffc04754:	83 3e 28 d4 	lwz     r25,10452(r30)                         
ffc04758:	83 1f 00 04 	lwz     r24,4(r31)                             
ffc0475c:	38 80 00 05 	li      r4,5                                   
ffc04760:	38 a1 00 08 	addi    r5,r1,8                                
ffc04764:	7e e3 bb 78 	mr      r3,r23                                 
ffc04768:	48 00 7a 49 	bl      ffc0c1b0 <rtems_object_get_name>       
ffc0476c:	3c 80 ff c2 	lis     r4,-62                                 
ffc04770:	7c 66 1b 78 	mr      r6,r3                                  
ffc04774:	7f 29 03 a6 	mtctr   r25                                    
ffc04778:	38 84 db 0c 	addi    r4,r4,-9460                            
ffc0477c:	7e e5 bb 78 	mr      r5,r23                                 
ffc04780:	7f 03 c3 78 	mr      r3,r24                                 
ffc04784:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04788:	4e 80 04 21 	bctrl                                          
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc0478c:	80 db 00 b8 	lwz     r6,184(r27)                            
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc04790:	80 1e 28 d4 	lwz     r0,10452(r30)                          
ffc04794:	3c 80 ff c2 	lis     r4,-62                                 
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc04798:	80 bb 00 bc 	lwz     r5,188(r27)                            
ffc0479c:	38 c6 ff ff 	addi    r6,r6,-1                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc047a0:	7c 09 03 a6 	mtctr   r0                                     
ffc047a4:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc047a8:	38 84 db 1c 	addi    r4,r4,-9444                            
ffc047ac:	7c c5 32 14 	add     r6,r5,r6                               
ffc047b0:	7f 47 d3 78 	mr      r7,r26                                 
ffc047b4:	7f 88 e3 78 	mr      r8,r28                                 
ffc047b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc047bc:	4e 80 04 21 	bctrl                                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc047c0:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc047c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc047c8:	41 9e 00 70 	beq-    cr7,ffc04838 <Stack_check_Dump_threads_usage+0x180><== NEVER TAKEN
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
ffc047cc:	80 1e 28 d4 	lwz     r0,10452(r30)                          
ffc047d0:	3c 80 ff c2 	lis     r4,-62                                 
ffc047d4:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc047d8:	7f a5 eb 78 	mr      r5,r29                                 
ffc047dc:	7c 09 03 a6 	mtctr   r0                                     
ffc047e0:	38 84 db 4c 	addi    r4,r4,-9396                            
ffc047e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc047e8:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc047ec:	80 01 00 44 	lwz     r0,68(r1)                              
ffc047f0:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc047f4:	7c 08 03 a6 	mtlr    r0                                     
ffc047f8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc047fc:	83 21 00 24 	lwz     r25,36(r1)                             
ffc04800:	83 41 00 28 	lwz     r26,40(r1)                             
ffc04804:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc04808:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0480c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04810:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04814:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc04818:	38 21 00 40 	addi    r1,r1,64                               
ffc0481c:	4e 80 00 20 	blr                                            
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
ffc04820:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc04824:	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 )                                              
ffc04828:	41 be ff 20 	beq-    cr7,ffc04748 <Stack_check_Dump_threads_usage+0x90><== NEVER TAKEN
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
ffc0482c:	7f a8 e2 14 	add     r29,r8,r28                             
ffc04830:	7f a9 e8 50 	subf    r29,r9,r29                             
ffc04834:	4b ff ff 14 	b       ffc04748 <Stack_check_Dump_threads_usage+0x90>
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
ffc04838:	80 1e 28 d4 	lwz     r0,10452(r30)                          <== NOT EXECUTED
ffc0483c:	3c 80 ff c2 	lis     r4,-62                                 <== NOT EXECUTED
ffc04840:	80 7f 00 04 	lwz     r3,4(r31)                              <== NOT EXECUTED
ffc04844:	38 84 db 3c 	addi    r4,r4,-9412                            <== NOT EXECUTED
ffc04848:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0484c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc04850:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc04854:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc04858:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc0485c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04860:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc04864:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc04868:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc0486c:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc04870:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc04874:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc04878:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc0487c:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc04880:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc04884:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04960 <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) {
ffc04960:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04964:	7c 08 02 a6 	mflr    r0                                     
ffc04968:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0496c:	7c 7d 1b 78 	mr      r29,r3                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc04970:	3c 60 ff c2 	lis     r3,-62                                 
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc04974:	90 01 00 3c 	stw     r0,60(r1)                              
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc04978:	38 63 db 54 	addi    r3,r3,-9388                            
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc0497c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc04980:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04984:	7c 9f 23 78 	mr      r31,r4                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
ffc04988:	83 dd 00 bc 	lwz     r30,188(r29)                           
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc0498c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04990:	48 00 25 a1 	bl      ffc06f30 <printk>                      
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
ffc04994:	3c 60 ff c2 	lis     r3,-62                                 
ffc04998:	38 63 db 64 	addi    r3,r3,-9372                            
ffc0499c:	7f a4 eb 78 	mr      r4,r29                                 
ffc049a0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049a4:	48 00 25 8d 	bl      ffc06f30 <printk>                      
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
ffc049a8:	80 9d 00 08 	lwz     r4,8(r29)                              
ffc049ac:	3c 60 ff c2 	lis     r3,-62                                 
ffc049b0:	38 63 db 84 	addi    r3,r3,-9340                            
ffc049b4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049b8:	48 00 25 79 	bl      ffc06f30 <printk>                      
  printk(                                                             
ffc049bc:	80 9d 00 0c 	lwz     r4,12(r29)                             
ffc049c0:	3c 60 ff c2 	lis     r3,-62                                 
ffc049c4:	38 63 db 98 	addi    r3,r3,-9320                            
ffc049c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049cc:	48 00 25 65 	bl      ffc06f30 <printk>                      
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
ffc049d0:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc049d4:	38 a1 00 08 	addi    r5,r1,8                                
ffc049d8:	38 80 00 20 	li      r4,32                                  
ffc049dc:	48 00 77 d5 	bl      ffc0c1b0 <rtems_object_get_name>       
ffc049e0:	7c 64 1b 78 	mr      r4,r3                                  
ffc049e4:	3c 60 ff c2 	lis     r3,-62                                 
ffc049e8:	38 63 db ac 	addi    r3,r3,-9300                            
ffc049ec:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049f0:	48 00 25 41 	bl      ffc06f30 <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)                              
ffc049f4:	80 bd 00 bc 	lwz     r5,188(r29)                            
ffc049f8:	80 9d 00 b8 	lwz     r4,184(r29)                            
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
ffc049fc:	3c 60 ff c2 	lis     r3,-62                                 
ffc04a00:	38 63 db c4 	addi    r3,r3,-9276                            
ffc04a04:	7c c5 22 14 	add     r6,r5,r4                               
ffc04a08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04a0c:	48 00 25 25 	bl      ffc06f30 <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) {                                                  
ffc04a10:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04a14:	41 9e 00 0c 	beq-    cr7,ffc04a20 <Stack_check_report_blown_task+0xc0><== ALWAYS TAKEN
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
ffc04a18:	38 60 00 81 	li      r3,129                                 
ffc04a1c:	48 00 83 85 	bl      ffc0cda0 <rtems_fatal_error_occurred>  
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
ffc04a20:	3c 60 ff c2 	lis     r3,-62                                 
ffc04a24:	38 63 db f8 	addi    r3,r3,-9224                            
ffc04a28:	38 80 00 80 	li      r4,128                                 
ffc04a2c:	38 be 00 08 	addi    r5,r30,8                               
ffc04a30:	38 de 00 88 	addi    r6,r30,136                             
ffc04a34:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04a38:	48 00 24 f9 	bl      ffc06f30 <printk>                      
ffc04a3c:	4b ff ff dc 	b       ffc04a18 <Stack_check_report_blown_task+0xb8>
                                                                      

ffc098c8 <_API_extensions_Run_postdriver>: * * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
ffc098c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc098cc:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
ffc098d0:	7c 08 02 a6 	mflr    r0                                     
ffc098d4:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc098d8:	3b c9 2d c0 	addi    r30,r9,11712                           
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc098dc:	3b de 00 04 	addi    r30,r30,4                              
 *                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
ffc098e0:	93 e1 00 0c 	stw     r31,12(r1)                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc098e4:	83 e9 2d c0 	lwz     r31,11712(r9)                          
 *                                                                    
 *  _API_extensions_Run_postdriver                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
ffc098e8:	90 01 00 14 	stw     r0,20(r1)                              
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc098ec:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc098f0:	41 9e 00 1c 	beq-    cr7,ffc0990c <_API_extensions_Run_postdriver+0x44><== NEVER TAKEN
     *  Currently all APIs configure this hook so it is always non-NULL.
     */                                                               
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
ffc098f4:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc098f8:	7c 09 03 a6 	mtctr   r0                                     
ffc098fc:	4e 80 04 21 	bctrl                                          
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
ffc09900:	83 ff 00 00 	lwz     r31,0(r31)                             
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09904:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc09908:	40 9e ff ec 	bne+    cr7,ffc098f4 <_API_extensions_Run_postdriver+0x2c>
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
ffc0990c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09910:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09914:	7c 08 03 a6 	mtlr    r0                                     
ffc09918:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0991c:	38 21 00 10 	addi    r1,r1,16                               
ffc09920:	4e 80 00 20 	blr                                            
                                                                      

ffc09924 <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
ffc09924:	94 21 ff e8 	stwu    r1,-24(r1)                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc09928:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc0992c:	7c 08 02 a6 	mflr    r0                                     
ffc09930:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc09934:	3b c9 2d c0 	addi    r30,r9,11712                           
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09938:	3b de 00 04 	addi    r30,r30,4                              
 *                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc0993c:	93 e1 00 14 	stw     r31,20(r1)                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc09940:	83 e9 2d c0 	lwz     r31,11712(r9)                          
 *                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc09944:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09948:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
 *                                                                    
 *  _API_extensions_Run_postswitch                                    
 */                                                                   
                                                                      
void _API_extensions_Run_postswitch( void )                           
{                                                                     
ffc0994c:	93 a1 00 0c 	stw     r29,12(r1)                             
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09950:	41 9e 00 28 	beq-    cr7,ffc09978 <_API_extensions_Run_postswitch+0x54><== NEVER TAKEN
ffc09954:	3f a0 00 00 	lis     r29,0                                  
ffc09958:	3b bd 31 04 	addi    r29,r29,12548                          
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
ffc0995c:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc09960:	80 7d 00 0c 	lwz     r3,12(r29)                             
ffc09964:	7c 09 03 a6 	mtctr   r0                                     
ffc09968:	4e 80 04 21 	bctrl                                          
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
ffc0996c:	83 ff 00 00 	lwz     r31,0(r31)                             
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc09970:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc09974:	40 9e ff e8 	bne+    cr7,ffc0995c <_API_extensions_Run_postswitch+0x38>
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
ffc09978:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0997c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09980:	7c 08 03 a6 	mtlr    r0                                     
ffc09984:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09988:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0998c:	38 21 00 18 	addi    r1,r1,24                               
ffc09990:	4e 80 00 20 	blr                                            
                                                                      

ffc0cc34 <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
ffc0cc34:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0cc38:	7c 08 02 a6 	mflr    r0                                     
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
ffc0cc3c:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
ffc0cc40:	90 01 00 14 	stw     r0,20(r1)                              
ffc0cc44:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0cc48:	7c 7f 1b 78 	mr      r31,r3                                 
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
ffc0cc4c:	81 29 31 30 	lwz     r9,12592(r9)                           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0cc50:	7d 60 00 a6 	mfmsr   r11                                    
ffc0cc54:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0cc58:	7d 60 00 78 	andc    r0,r11,r0                              
ffc0cc5c:	7c 00 01 24 	mtmsr   r0                                     
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
ffc0cc60:	80 03 00 44 	lwz     r0,68(r3)                              
ffc0cc64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cc68:	41 9e 00 cc 	beq-    cr7,ffc0cd34 <_CORE_RWLock_Release+0x100>
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
ffc0cc6c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0cc70:	41 9e 00 94 	beq-    cr7,ffc0cd04 <_CORE_RWLock_Release+0xd0>
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
ffc0cc74:	38 00 00 00 	li      r0,0                                   
ffc0cc78:	90 09 00 34 	stw     r0,52(r9)                              
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
ffc0cc7c:	90 1f 00 44 	stw     r0,68(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0cc80:	7d 60 01 24 	mtmsr   r11                                    
  _ISR_Enable( level );                                               
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
ffc0cc84:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cc88:	48 00 22 61 	bl      ffc0eee8 <_Thread_queue_Dequeue>       
                                                                      
  if ( next ) {                                                       
ffc0cc8c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0cc90:	41 82 00 5c 	beq-    ffc0ccec <_CORE_RWLock_Release+0xb8>   
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
ffc0cc94:	80 03 00 30 	lwz     r0,48(r3)                              
ffc0cc98:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0cc9c:	41 9e 00 bc 	beq-    cr7,ffc0cd58 <_CORE_RWLock_Release+0x124>
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
ffc0cca0:	81 3f 00 48 	lwz     r9,72(r31)                             
ffc0cca4:	38 09 00 01 	addi    r0,r9,1                                
ffc0cca8:	90 1f 00 48 	stw     r0,72(r31)                             
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
ffc0ccac:	38 00 00 01 	li      r0,1                                   
ffc0ccb0:	90 1f 00 44 	stw     r0,68(r31)                             
ffc0ccb4:	48 00 00 20 	b       ffc0ccd4 <_CORE_RWLock_Release+0xa0>   
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
ffc0ccb8:	80 09 00 30 	lwz     r0,48(r9)                              
ffc0ccbc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ccc0:	41 9e 00 2c 	beq-    cr7,ffc0ccec <_CORE_RWLock_Release+0xb8><== NEVER TAKEN
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
ffc0ccc4:	81 3f 00 48 	lwz     r9,72(r31)                             
ffc0ccc8:	38 09 00 01 	addi    r0,r9,1                                
ffc0cccc:	90 1f 00 48 	stw     r0,72(r31)                             
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
ffc0ccd0:	48 00 26 c5 	bl      ffc0f394 <_Thread_queue_Extract>       
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
ffc0ccd4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ccd8:	48 00 28 59 	bl      ffc0f530 <_Thread_queue_First>         
      if ( !next ||                                                   
ffc0ccdc:	7c 69 1b 79 	mr.     r9,r3                                  
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
ffc0cce0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cce4:	7d 24 4b 78 	mr      r4,r9                                  
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
ffc0cce8:	40 82 ff d0 	bne+    ffc0ccb8 <_CORE_RWLock_Release+0x84>   
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
ffc0ccec:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ccf0:	38 60 00 00 	li      r3,0                                   
ffc0ccf4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ccf8:	38 21 00 10 	addi    r1,r1,16                               
ffc0ccfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd00:	4e 80 00 20 	blr                                            
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
	the_rwlock->number_of_readers -= 1;                                  
ffc0cd04:	81 43 00 48 	lwz     r10,72(r3)                             
ffc0cd08:	38 0a ff ff 	addi    r0,r10,-1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
ffc0cd0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
	the_rwlock->number_of_readers -= 1;                                  
ffc0cd10:	90 03 00 48 	stw     r0,72(r3)                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
ffc0cd14:	41 9e ff 60 	beq+    cr7,ffc0cc74 <_CORE_RWLock_Release+0x40>
ffc0cd18:	7d 60 01 24 	mtmsr   r11                                    
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
ffc0cd1c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cd20:	38 60 00 00 	li      r3,0                                   
ffc0cd24:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0cd28:	38 21 00 10 	addi    r1,r1,16                               
ffc0cd2c:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd30:	4e 80 00 20 	blr                                            
ffc0cd34:	7d 60 01 24 	mtmsr   r11                                    
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
ffc0cd38:	38 00 00 02 	li      r0,2                                   
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
ffc0cd3c:	83 e1 00 0c 	lwz     r31,12(r1)                             
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
ffc0cd40:	90 09 00 34 	stw     r0,52(r9)                              
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
ffc0cd44:	38 60 00 00 	li      r3,0                                   
ffc0cd48:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cd4c:	38 21 00 10 	addi    r1,r1,16                               
ffc0cd50:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd54:	4e 80 00 20 	blr                                            
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
                                                                      
  if ( next ) {                                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
ffc0cd58:	38 00 00 02 	li      r0,2                                   
ffc0cd5c:	90 1f 00 44 	stw     r0,68(r31)                             
      return CORE_RWLOCK_SUCCESSFUL;                                  
ffc0cd60:	4b ff ff 8c 	b       ffc0ccec <_CORE_RWLock_Release+0xb8>   
                                                                      

ffc0cd64 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
ffc0cd64:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0cd68:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0cd6c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _CORE_RWLock_Timeout(                                            
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc0cd70:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0cd74:	48 00 1d 01 	bl      ffc0ea74 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0cd78:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0cd7c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cd80:	40 9e 00 18 	bne-    cr7,ffc0cd98 <_CORE_RWLock_Timeout+0x34><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
ffc0cd84:	48 00 29 01 	bl      ffc0f684 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0cd88:	3d 20 00 00 	lis     r9,0                                   
ffc0cd8c:	81 69 27 f4 	lwz     r11,10228(r9)                          
ffc0cd90:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0cd94:	90 09 27 f4 	stw     r0,10228(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0cd98:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0cd9c:	38 21 00 18 	addi    r1,r1,24                               
ffc0cda0:	7c 08 03 a6 	mtlr    r0                                     
ffc0cda4:	4e 80 00 20 	blr                                            
                                                                      

ffc1c82c <_CORE_message_queue_Broadcast>: Objects_Id id __attribute__((unused)), CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)), #endif uint32_t *count ) {
ffc1c82c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1c830:	7c 08 02 a6 	mflr    r0                                     
ffc1c834:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc1c838:	80 03 00 4c 	lwz     r0,76(r3)                              
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc1c83c:	93 41 00 08 	stw     r26,8(r1)                              
ffc1c840:	7d 1a 43 78 	mr      r26,r8                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc1c844:	7f 80 28 40 	cmplw   cr7,r0,r5                              
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc1c848:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1c84c:	7c 9d 23 78 	mr      r29,r4                                 
ffc1c850:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1c854:	7c 7e 1b 78 	mr      r30,r3                                 
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
ffc1c858:	38 60 00 01 	li      r3,1                                   
    Objects_Id                                 id __attribute__((unused)),
    CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support __attribute__((unused)),
  #endif                                                              
  uint32_t                                  *count                    
)                                                                     
{                                                                     
ffc1c85c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1c860:	7c bf 2b 78 	mr      r31,r5                                 
ffc1c864:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1c868:	93 81 00 10 	stw     r28,16(r1)                             
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
ffc1c86c:	41 9c 00 20 	blt-    cr7,ffc1c88c <_CORE_message_queue_Broadcast+0x60><== NEVER TAKEN
   *  NOTE: This check is critical because threads can block on       
   *        send and receive and this ensures that we are broadcasting
   *        the message to threads waiting to receive -- not to send. 
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 ) {         
ffc1c870:	80 1e 00 48 	lwz     r0,72(r30)                             
ffc1c874:	3b 60 00 00 	li      r27,0                                  
ffc1c878:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c87c:	41 be 00 4c 	beq+    cr7,ffc1c8c8 <_CORE_message_queue_Broadcast+0x9c>
    *count = 0;                                                       
ffc1c880:	38 00 00 00 	li      r0,0                                   
ffc1c884:	90 08 00 00 	stw     r0,0(r8)                               
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
ffc1c888:	38 60 00 00 	li      r3,0                                   
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
ffc1c88c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1c890:	83 41 00 08 	lwz     r26,8(r1)                              
ffc1c894:	7c 08 03 a6 	mtlr    r0                                     
ffc1c898:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1c89c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1c8a0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1c8a4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1c8a8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1c8ac:	38 21 00 20 	addi    r1,r1,32                               
ffc1c8b0:	4e 80 00 20 	blr                                            
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
ffc1c8b4:	80 7c 00 2c 	lwz     r3,44(r28)                             
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
ffc1c8b8:	3b 7b 00 01 	addi    r27,r27,1                              
ffc1c8bc:	48 00 b8 29 	bl      ffc280e4 <memcpy>                      
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
ffc1c8c0:	81 3c 00 28 	lwz     r9,40(r28)                             
ffc1c8c4:	93 e9 00 00 	stw     r31,0(r9)                              
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
ffc1c8c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc1c8cc:	48 00 36 d9 	bl      ffc1ffa4 <_Thread_queue_Dequeue>       
ffc1c8d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc1c8d4:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1c8d8:	7f e5 fb 78 	mr      r5,r31                                 
ffc1c8dc:	40 82 ff d8 	bne+    ffc1c8b4 <_CORE_message_queue_Broadcast+0x88>
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
ffc1c8e0:	80 01 00 24 	lwz     r0,36(r1)                              
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
ffc1c8e4:	93 7a 00 00 	stw     r27,0(r26)                             
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
ffc1c8e8:	7c 08 03 a6 	mtlr    r0                                     
ffc1c8ec:	83 41 00 08 	lwz     r26,8(r1)                              
ffc1c8f0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1c8f4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1c8f8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1c8fc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1c900:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1c904:	38 21 00 20 	addi    r1,r1,32                               
ffc1c908:	4e 80 00 20 	blr                                            
                                                                      

ffc151d8 <_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 ) {
ffc151d8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc151dc:	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)) {              
ffc151e0:	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                 
)                                                                     
{                                                                     
ffc151e4:	90 01 00 24 	stw     r0,36(r1)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
ffc151e8:	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;
  the_message_queue->number_of_pending_messages = 0;                  
ffc151ec:	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                 
)                                                                     
{                                                                     
ffc151f0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc151f4:	7c 9d 23 78 	mr      r29,r4                                 
ffc151f8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc151fc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc15200:	93 81 00 10 	stw     r28,16(r1)                             
ffc15204:	93 c1 00 18 	stw     r30,24(r1)                             
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
ffc15208:	90 a3 00 44 	stw     r5,68(r3)                              
  the_message_queue->number_of_pending_messages = 0;                  
ffc1520c:	90 03 00 48 	stw     r0,72(r3)                              
  the_message_queue->maximum_message_size       = maximum_message_size;
ffc15210:	90 c3 00 4c 	stw     r6,76(r3)                              
    CORE_message_queue_Control        *the_message_queue,             
    CORE_message_queue_Notify_Handler  the_handler,                   
    void                              *the_argument                   
  )                                                                   
  {                                                                   
    the_message_queue->notify_handler  = the_handler;                 
ffc15214:	90 03 00 60 	stw     r0,96(r3)                              
    the_message_queue->notify_argument = the_argument;                
ffc15218:	90 03 00 64 	stw     r0,100(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)) {              
ffc1521c:	41 82 00 3c 	beq-    ffc15258 <_CORE_message_queue_Initialize+0x80>
    allocated_message_size += sizeof(uint32_t);                       
ffc15220:	39 26 00 04 	addi    r9,r6,4                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
ffc15224:	55 29 00 3a 	rlwinm  r9,r9,0,0,29                           
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc15228:	7f 86 48 40 	cmplw   cr7,r6,r9                              
    return false;                                                     
ffc1522c:	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)                  
ffc15230:	40 9d 00 28 	ble-    cr7,ffc15258 <_CORE_message_queue_Initialize+0x80><== ALWAYS TAKEN
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc15234:	80 01 00 24 	lwz     r0,36(r1)                              
ffc15238:	7f c3 f3 78 	mr      r3,r30                                 
ffc1523c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc15240:	7c 08 03 a6 	mtlr    r0                                     
ffc15244:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc15248:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1524c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc15250:	38 21 00 20 	addi    r1,r1,32                               
ffc15254:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  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));
ffc15258:	3b 89 00 14 	addi    r28,r9,20                              
                                                                      
  /*                                                                  
   *  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 *    
ffc1525c:	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;                                                     
ffc15260:	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)            
ffc15264:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc15268:	41 9c ff cc 	blt+    cr7,ffc15234 <_CORE_message_queue_Initialize+0x5c><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc1526c:	90 a1 00 08 	stw     r5,8(r1)                               
ffc15270:	48 00 3e 79 	bl      ffc190e8 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc15274:	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 );               
ffc15278:	7c 64 1b 78 	mr      r4,r3                                  
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
ffc1527c:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc15280:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc15284:	41 be ff b0 	beq-    cr7,ffc15234 <_CORE_message_queue_Initialize+0x5c>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc15288:	38 7f 00 68 	addi    r3,r31,104                             
ffc1528c:	7f 86 e3 78 	mr      r6,r28                                 
ffc15290:	48 00 6d 59 	bl      ffc1bfe8 <_Chain_Initialize>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
ffc15294:	38 1f 00 50 	addi    r0,r31,80                              
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc15298:	39 3f 00 54 	addi    r9,r31,84                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1529c:	93 df 00 54 	stw     r30,84(r31)                            
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc152a0:	7f e3 fb 78 	mr      r3,r31                                 
  tail->previous = head;                                              
ffc152a4:	90 1f 00 58 	stw     r0,88(r31)                             
ffc152a8:	38 a0 00 80 	li      r5,128                                 
ffc152ac:	38 c0 00 06 	li      r6,6                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc152b0:	91 3f 00 50 	stw     r9,80(r31)                             
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc152b4:	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(                                           
ffc152b8:	80 9d 00 00 	lwz     r4,0(r29)                              
ffc152bc:	68 84 00 01 	xori    r4,r4,1                                
ffc152c0:	7c 84 00 34 	cntlzw  r4,r4                                  
ffc152c4:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc152c8:	48 00 2e b5 	bl      ffc1817c <_Thread_queue_Initialize>    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc152cc:	80 01 00 24 	lwz     r0,36(r1)                              
ffc152d0:	7f c3 f3 78 	mr      r3,r30                                 
ffc152d4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc152d8:	7c 08 03 a6 	mtlr    r0                                     
ffc152dc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc152e0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc152e4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc152e8:	38 21 00 20 	addi    r1,r1,32                               
ffc152ec:	4e 80 00 20 	blr                                            
                                                                      

ffc09d44 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
ffc09d44:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc09d48:	7c 08 02 a6 	mflr    r0                                     
ffc09d4c:	93 c1 00 20 	stw     r30,32(r1)                             
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc09d50:	3f c0 00 00 	lis     r30,0                                  
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc09d54:	90 01 00 2c 	stw     r0,44(r1)                              
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc09d58:	80 1e 27 a8 	lwz     r0,10152(r30)                          
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc09d5c:	93 61 00 14 	stw     r27,20(r1)                             
ffc09d60:	7c db 33 78 	mr      r27,r6                                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc09d64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc09d68:	93 81 00 18 	stw     r28,24(r1)                             
ffc09d6c:	7c bc 2b 78 	mr      r28,r5                                 
ffc09d70:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc09d74:	7c 9d 23 78 	mr      r29,r4                                 
ffc09d78:	93 e1 00 24 	stw     r31,36(r1)                             
ffc09d7c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09d80:	90 e1 00 08 	stw     r7,8(r1)                               
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc09d84:	41 9e 00 0c 	beq-    cr7,ffc09d90 <_CORE_mutex_Seize+0x4c>  
ffc09d88:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09d8c:	40 9e 00 5c 	bne-    cr7,ffc09de8 <_CORE_mutex_Seize+0xa4>  <== ALWAYS TAKEN
ffc09d90:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d94:	38 81 00 08 	addi    r4,r1,8                                
ffc09d98:	48 00 66 f9 	bl      ffc10490 <_CORE_mutex_Seize_interrupt_trylock>
ffc09d9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09da0:	41 9e 00 24 	beq-    cr7,ffc09dc4 <_CORE_mutex_Seize+0x80>  
ffc09da4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc09da8:	40 9e 00 60 	bne-    cr7,ffc09e08 <_CORE_mutex_Seize+0xc4>  
ffc09dac:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09db0:	7c 00 01 24 	mtmsr   r0                                     
ffc09db4:	3d 20 00 00 	lis     r9,0                                   
ffc09db8:	81 29 31 10 	lwz     r9,12560(r9)                           
ffc09dbc:	38 00 00 01 	li      r0,1                                   
ffc09dc0:	90 09 00 34 	stw     r0,52(r9)                              
}                                                                     
ffc09dc4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09dc8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc09dcc:	7c 08 03 a6 	mtlr    r0                                     
ffc09dd0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc09dd4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09dd8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09ddc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc09de0:	38 21 00 28 	addi    r1,r1,40                               
ffc09de4:	4e 80 00 20 	blr                                            
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc09de8:	3d 20 00 00 	lis     r9,0                                   
ffc09dec:	80 09 27 ec 	lwz     r0,10220(r9)                           
ffc09df0:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc09df4:	40 9d ff 9c 	ble+    cr7,ffc09d90 <_CORE_mutex_Seize+0x4c>  
ffc09df8:	38 60 00 00 	li      r3,0                                   
ffc09dfc:	38 80 00 00 	li      r4,0                                   
ffc09e00:	38 a0 00 12 	li      r5,18                                  
ffc09e04:	48 00 08 95 	bl      ffc0a698 <_Internal_error_Occurred>    
ffc09e08:	3d 20 00 00 	lis     r9,0                                   
ffc09e0c:	81 7e 27 a8 	lwz     r11,10152(r30)                         
ffc09e10:	81 29 31 10 	lwz     r9,12560(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;
ffc09e14:	38 00 00 01 	li      r0,1                                   
ffc09e18:	90 1f 00 30 	stw     r0,48(r31)                             
ffc09e1c:	38 0b 00 01 	addi    r0,r11,1                               
ffc09e20:	93 e9 00 44 	stw     r31,68(r9)                             
ffc09e24:	93 a9 00 20 	stw     r29,32(r9)                             
ffc09e28:	90 1e 27 a8 	stw     r0,10152(r30)                          
ffc09e2c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09e30:	7c 00 01 24 	mtmsr   r0                                     
ffc09e34:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e38:	7f 64 db 78 	mr      r4,r27                                 
ffc09e3c:	4b ff fe 45 	bl      ffc09c80 <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
ffc09e40:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09e44:	83 61 00 14 	lwz     r27,20(r1)                             
ffc09e48:	7c 08 03 a6 	mtlr    r0                                     
ffc09e4c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc09e50:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09e54:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09e58:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc09e5c:	38 21 00 28 	addi    r1,r1,40                               
ffc09e60:	4e 80 00 20 	blr                                            
                                                                      

ffc0a024 <_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 ) {
ffc0a024:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a028:	7c 08 02 a6 	mflr    r0                                     
ffc0a02c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a030:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a034:	90 01 00 14 	stw     r0,20(r1)                              
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc0a038:	48 00 20 81 	bl      ffc0c0b8 <_Thread_queue_Dequeue>       
ffc0a03c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0a040:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc0a044:	41 9e 00 18 	beq-    cr7,ffc0a05c <_CORE_semaphore_Surrender+0x38>
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0a048:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a04c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a050:	38 21 00 10 	addi    r1,r1,16                               
ffc0a054:	7c 08 03 a6 	mtlr    r0                                     
ffc0a058:	4e 80 00 20 	blr                                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0a05c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a060:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a064:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a068:	7d 20 01 24 	mtmsr   r9                                     
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc0a06c:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc0a070:	38 60 00 04 	li      r3,4                                   
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc0a074:	81 7f 00 40 	lwz     r11,64(r31)                            
ffc0a078:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc0a07c:	40 9c 00 10 	bge-    cr7,ffc0a08c <_CORE_semaphore_Surrender+0x68><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc0a080:	39 29 00 01 	addi    r9,r9,1                                
ffc0a084:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0a088:	38 60 00 00 	li      r3,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0a08c:	7c 00 01 24 	mtmsr   r0                                     
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0a090:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a094:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a098:	38 21 00 10 	addi    r1,r1,16                               
ffc0a09c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a0a0:	4e 80 00 20 	blr                                            
                                                                      

ffc10438 <_Chain_Initialize>: Chain_Node *current = head; Chain_Node *next = starting_address; head->previous = NULL; while ( count-- ) {
ffc10438:	2c 05 00 00 	cmpwi   r5,0                                   
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
ffc1043c:	38 00 00 00 	li      r0,0                                   
  size_t         node_size                                            
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc10440:	39 43 00 04 	addi    r10,r3,4                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
ffc10444:	90 03 00 04 	stw     r0,4(r3)                               
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc10448:	7c 69 1b 78 	mr      r9,r3                                  
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc1044c:	41 82 00 38 	beq-    ffc10484 <_Chain_Initialize+0x4c>      <== NEVER TAKEN
ffc10450:	39 05 ff ff 	addi    r8,r5,-1                               
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc10454:	7c a9 03 a6 	mtctr   r5                                     
  Chain_Node *next = starting_address;                                
ffc10458:	7c 89 23 78 	mr      r9,r4                                  
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc1045c:	7c 6b 1b 78 	mr      r11,r3                                 
ffc10460:	48 00 00 0c 	b       ffc1046c <_Chain_Initialize+0x34>      
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc10464:	7d 2b 4b 78 	mr      r11,r9                                 
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
ffc10468:	7c 09 03 78 	mr      r9,r0                                  
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
ffc1046c:	91 2b 00 00 	stw     r9,0(r11)                              
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
ffc10470:	7c 09 32 14 	add     r0,r9,r6                               
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
    next->previous = current;                                         
ffc10474:	91 69 00 04 	stw     r11,4(r9)                              
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc10478:	42 00 ff ec 	bdnz+   ffc10464 <_Chain_Initialize+0x2c>      
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
ffc1047c:	7c c6 41 d6 	mullw   r6,r6,r8                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc10480:	7d 24 32 14 	add     r9,r4,r6                               
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
ffc10484:	91 49 00 00 	stw     r10,0(r9)                              
  tail->previous = current;                                           
ffc10488:	91 23 00 08 	stw     r9,8(r3)                               
}                                                                     
ffc1048c:	4e 80 00 20 	blr                                            
                                                                      

ffc0879c <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
ffc0879c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc087a0:	7c 08 02 a6 	mflr    r0                                     
ffc087a4:	90 01 00 14 	stw     r0,20(r1)                              
ffc087a8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc087ac:	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 ];               
ffc087b0:	81 63 01 30 	lwz     r11,304(r3)                            
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
ffc087b4:	80 c3 00 30 	lwz     r6,48(r3)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc087b8:	7d 40 00 a6 	mfmsr   r10                                    
ffc087bc:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc087c0:	7d 40 00 78 	andc    r0,r10,r0                              
ffc087c4:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
ffc087c8:	81 2b 00 00 	lwz     r9,0(r11)                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
ffc087cc:	80 03 00 24 	lwz     r0,36(r3)                              
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
ffc087d0:	7c 08 48 39 	and.    r8,r0,r9                               
ffc087d4:	41 82 00 b0 	beq-    ffc08884 <_Event_Surrender+0xe8>       
                                                                      
  /*                                                                  
   *  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() &&                                       
ffc087d8:	3c e0 00 00 	lis     r7,0                                   
ffc087dc:	38 e7 31 04 	addi    r7,r7,12548                            
ffc087e0:	80 a7 00 08 	lwz     r5,8(r7)                               
ffc087e4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc087e8:	41 9e 00 10 	beq-    cr7,ffc087f8 <_Event_Surrender+0x5c>   
ffc087ec:	80 e7 00 0c 	lwz     r7,12(r7)                              
ffc087f0:	7f 83 38 00 	cmpw    cr7,r3,r7                              
ffc087f4:	41 9e 00 d0 	beq-    cr7,ffc088c4 <_Event_Surrender+0x128>  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
ffc087f8:	80 ff 00 10 	lwz     r7,16(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
ffc087fc:	70 e5 01 00 	andi.   r5,r7,256                              
ffc08800:	41 82 00 6c 	beq-    ffc0886c <_Event_Surrender+0xd0>       
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc08804:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc08808:	41 9e 00 0c 	beq-    cr7,ffc08814 <_Event_Surrender+0x78>   
ffc0880c:	70 c0 00 02 	andi.   r0,r6,2                                
ffc08810:	41 82 00 5c 	beq-    ffc0886c <_Event_Surrender+0xd0>       <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08814:	80 ff 00 28 	lwz     r7,40(r31)                             
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
ffc08818:	7d 29 40 78 	andc    r9,r9,r8                               
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
ffc0881c:	38 00 00 00 	li      r0,0                                   
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
ffc08820:	91 2b 00 00 	stw     r9,0(r11)                              
      the_thread->Wait.count = 0;                                     
ffc08824:	90 1f 00 24 	stw     r0,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08828:	91 07 00 00 	stw     r8,0(r7)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0882c:	7c 00 00 a6 	mfmsr   r0                                     
ffc08830:	7d 40 01 24 	mtmsr   r10                                    
ffc08834:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc08838:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0883c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08840:	41 9e 00 5c 	beq-    cr7,ffc0889c <_Event_Surrender+0x100>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08844:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc08848:	3c 80 10 03 	lis     r4,4099                                
ffc0884c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08850:	60 84 ff f8 	ori     r4,r4,65528                            
ffc08854:	48 00 2f 05 	bl      ffc0b758 <_Thread_Clear_state>         
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc08858:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0885c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08860:	38 21 00 10 	addi    r1,r1,16                               
ffc08864:	7c 08 03 a6 	mtlr    r0                                     
ffc08868:	4e 80 00 20 	blr                                            
ffc0886c:	7d 40 01 24 	mtmsr   r10                                    
ffc08870:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08874:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08878:	38 21 00 10 	addi    r1,r1,16                               
ffc0887c:	7c 08 03 a6 	mtlr    r0                                     
ffc08880:	4e 80 00 20 	blr                                            
ffc08884:	7d 40 01 24 	mtmsr   r10                                    
ffc08888:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0888c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08890:	38 21 00 10 	addi    r1,r1,16                               
ffc08894:	7c 08 03 a6 	mtlr    r0                                     
ffc08898:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc0889c:	38 00 00 03 	li      r0,3                                   
ffc088a0:	90 1f 00 50 	stw     r0,80(r31)                             
ffc088a4:	7d 40 01 24 	mtmsr   r10                                    
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
        (void) _Watchdog_Remove( &the_thread->Timer );                
ffc088a8:	38 7f 00 48 	addi    r3,r31,72                              
ffc088ac:	48 00 4a 79 	bl      ffc0d324 <_Watchdog_Remove>            
ffc088b0:	3c 80 10 03 	lis     r4,4099                                
ffc088b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc088b8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc088bc:	48 00 2e 9d 	bl      ffc0b758 <_Thread_Clear_state>         
ffc088c0:	4b ff ff b0 	b       ffc08870 <_Event_Surrender+0xd4>       
   *  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) ||   
ffc088c4:	3c e0 00 00 	lis     r7,0                                   
ffc088c8:	80 a7 27 f8 	lwz     r5,10232(r7)                           
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
ffc088cc:	2f 85 00 02 	cmpwi   cr7,r5,2                               
ffc088d0:	41 9e 00 10 	beq-    cr7,ffc088e0 <_Event_Surrender+0x144>  <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
ffc088d4:	80 a7 27 f8 	lwz     r5,10232(r7)                           
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc088d8:	2f 85 00 01 	cmpwi   cr7,r5,1                               
ffc088dc:	40 9e ff 1c 	bne+    cr7,ffc087f8 <_Event_Surrender+0x5c>   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc088e0:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc088e4:	41 9e 00 0c 	beq-    cr7,ffc088f0 <_Event_Surrender+0x154>  
ffc088e8:	70 c0 00 02 	andi.   r0,r6,2                                
ffc088ec:	41 82 00 24 	beq-    ffc08910 <_Event_Surrender+0x174>      <== NEVER TAKEN
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc088f0:	80 df 00 28 	lwz     r6,40(r31)                             
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
ffc088f4:	38 00 00 00 	li      r0,0                                   
ffc088f8:	7d 29 40 78 	andc    r9,r9,r8                               
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
ffc088fc:	91 2b 00 00 	stw     r9,0(r11)                              
      the_thread->Wait.count = 0;                                     
ffc08900:	90 1f 00 24 	stw     r0,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc08904:	38 00 00 03 	li      r0,3                                   
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc08908:	91 06 00 00 	stw     r8,0(r6)                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc0890c:	90 07 27 f8 	stw     r0,10232(r7)                           
ffc08910:	7d 40 01 24 	mtmsr   r10                                    
ffc08914:	4b ff ff 5c 	b       ffc08870 <_Event_Surrender+0xd4>       
                                                                      

ffc08918 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
ffc08918:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0891c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc08920:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc08924:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc08928:	48 00 33 1d 	bl      ffc0bc44 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0892c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08930:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08934:	40 9e 00 50 	bne-    cr7,ffc08984 <_Event_Timeout+0x6c>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc08938:	7d 20 00 a6 	mfmsr   r9                                     
ffc0893c:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc08940:	7d 2b 58 78 	andc    r11,r9,r11                             
ffc08944:	7d 60 01 24 	mtmsr   r11                                    
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc08948:	3d 60 00 00 	lis     r11,0                                  
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc0894c:	90 03 00 24 	stw     r0,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc08950:	81 6b 31 10 	lwz     r11,12560(r11)                         
ffc08954:	7f 83 58 00 	cmpw    cr7,r3,r11                             
ffc08958:	41 9e 00 3c 	beq-    cr7,ffc08994 <_Event_Timeout+0x7c>     
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc0895c:	38 00 00 06 	li      r0,6                                   
ffc08960:	90 03 00 34 	stw     r0,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc08964:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc08968:	3c 80 10 03 	lis     r4,4099                                
ffc0896c:	60 84 ff f8 	ori     r4,r4,65528                            
ffc08970:	48 00 2d e9 	bl      ffc0b758 <_Thread_Clear_state>         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc08974:	3d 20 00 00 	lis     r9,0                                   
ffc08978:	81 69 27 a8 	lwz     r11,10152(r9)                          
ffc0897c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc08980:	90 09 27 a8 	stw     r0,10152(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc08984:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08988:	38 21 00 18 	addi    r1,r1,24                               
ffc0898c:	7c 08 03 a6 	mtlr    r0                                     
ffc08990:	4e 80 00 20 	blr                                            
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc08994:	3d 60 00 00 	lis     r11,0                                  
ffc08998:	80 0b 27 f8 	lwz     r0,10232(r11)                          
ffc0899c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc089a0:	40 9e ff bc 	bne+    cr7,ffc0895c <_Event_Timeout+0x44>     
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
ffc089a4:	38 00 00 02 	li      r0,2                                   
ffc089a8:	90 0b 27 f8 	stw     r0,10232(r11)                          
ffc089ac:	4b ff ff b0 	b       ffc0895c <_Event_Timeout+0x44>         
                                                                      

ffc1069c <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
ffc1069c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc106a0:	7c 08 02 a6 	mflr    r0                                     
ffc106a4:	7d 80 00 26 	mfcr    r12                                    
ffc106a8:	7c 89 23 78 	mr      r9,r4                                  
ffc106ac:	90 01 00 24 	stw     r0,36(r1)                              
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
ffc106b0:	38 04 00 04 	addi    r0,r4,4                                
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
ffc106b4:	7f 84 00 40 	cmplw   cr7,r4,r0                              
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc106b8:	93 a1 00 14 	stw     r29,20(r1)                             
ffc106bc:	7c 7d 1b 78 	mr      r29,r3                                 
ffc106c0:	91 81 00 08 	stw     r12,8(r1)                              
ffc106c4:	93 61 00 0c 	stw     r27,12(r1)                             
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
ffc106c8:	81 83 00 10 	lwz     r12,16(r3)                             
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
ffc106cc:	38 60 00 00 	li      r3,0                                   
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc106d0:	93 81 00 10 	stw     r28,16(r1)                             
ffc106d4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc106d8:	93 e1 00 1c 	stw     r31,28(r1)                             
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
ffc106dc:	41 9d 01 60 	bgt-    cr7,ffc1083c <_Heap_Allocate_aligned_with_boundary+0x1a0>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
ffc106e0:	2e 06 00 00 	cmpwi   cr4,r6,0                               
ffc106e4:	40 92 01 8c 	bne-    cr4,ffc10870 <_Heap_Allocate_aligned_with_boundary+0x1d4>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc106e8:	80 9d 00 08 	lwz     r4,8(r29)                              
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc106ec:	38 60 00 00 	li      r3,0                                   
ffc106f0:	7f 9d 20 00 	cmpw    cr7,r29,r4                             
ffc106f4:	41 9e 01 48 	beq-    cr7,ffc1083c <_Heap_Allocate_aligned_with_boundary+0x1a0>
ffc106f8:	3b c0 00 01 	li      r30,1                                  
       * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
       * field.  Thus the value is about one unit larger than the real block
       * size.  The greater than operator takes this into account.    
       */                                                             
      if ( block->size_and_flag > block_size_floor ) {                
        if ( alignment == 0 ) {                                       
ffc106fc:	2c 05 00 00 	cmpwi   r5,0                                   
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
ffc10700:	3b 6c 00 07 	addi    r27,r12,7                              
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
ffc10704:	23 89 00 04 	subfic  r28,r9,4                               
ffc10708:	48 00 00 24 	b       ffc1072c <_Heap_Allocate_aligned_with_boundary+0x90>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc1070c:	3b e4 00 08 	addi    r31,r4,8                               
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc10710:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10714:	40 9e 00 ec 	bne-    cr7,ffc10800 <_Heap_Allocate_aligned_with_boundary+0x164><== ALWAYS TAKEN
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
ffc10718:	80 84 00 08 	lwz     r4,8(r4)                               
ffc1071c:	39 7e 00 01 	addi    r11,r30,1                              
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc10720:	7f 9d 20 00 	cmpw    cr7,r29,r4                             
ffc10724:	41 9e 01 44 	beq-    cr7,ffc10868 <_Heap_Allocate_aligned_with_boundary+0x1cc>
ffc10728:	7d 7e 5b 78 	mr      r30,r11                                
      /*                                                              
       * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
       * field.  Thus the value is about one unit larger than the real block
       * size.  The greater than operator takes this into account.    
       */                                                             
      if ( block->size_and_flag > block_size_floor ) {                
ffc1072c:	81 64 00 04 	lwz     r11,4(r4)                              
ffc10730:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc10734:	40 bc ff e4 	bge-    cr7,ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c>
        if ( alignment == 0 ) {                                       
ffc10738:	41 a2 ff d4 	beq-    ffc1070c <_Heap_Allocate_aligned_with_boundary+0x70>
    - 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;                
ffc1073c:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc10740:	80 fd 00 14 	lwz     r7,20(r29)                             
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
ffc10744:	7d 64 5a 14 	add     r11,r4,r11                             
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
ffc10748:	7f fc 5a 14 	add     r31,r28,r11                            
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc1074c:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc10750:	7f ff 29 d6 	mullw   r31,r31,r5                             
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
ffc10754:	7d 47 d8 50 	subf    r10,r7,r27                             
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
ffc10758:	7d 6a 5a 14 	add     r11,r10,r11                            
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
ffc1075c:	7f 8b f8 40 	cmplw   cr7,r11,r31                            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc10760:	38 64 00 08 	addi    r3,r4,8                                
ffc10764:	40 9c 00 0c 	bge-    cr7,ffc10770 <_Heap_Allocate_aligned_with_boundary+0xd4>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10768:	7d 6b 2b 96 	divwu   r11,r11,r5                             
ffc1076c:	7f eb 29 d6 	mullw   r31,r11,r5                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
ffc10770:	41 92 00 60 	beq-    cr4,ffc107d0 <_Heap_Allocate_aligned_with_boundary+0x134>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
ffc10774:	7d 5f 4a 14 	add     r10,r31,r9                             
ffc10778:	7d 6a 33 96 	divwu   r11,r10,r6                             
ffc1077c:	7d 6b 31 d6 	mullw   r11,r11,r6                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
ffc10780:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc10784:	40 9c 00 4c 	bge-    cr7,ffc107d0 <_Heap_Allocate_aligned_with_boundary+0x134>
ffc10788:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc1078c:	40 9d 00 44 	ble-    cr7,ffc107d0 <_Heap_Allocate_aligned_with_boundary+0x134>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
ffc10790:	7d 03 4a 14 	add     r8,r3,r9                               
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
ffc10794:	7f 88 58 40 	cmplw   cr7,r8,r11                             
ffc10798:	40 bd 00 10 	ble+    cr7,ffc107a8 <_Heap_Allocate_aligned_with_boundary+0x10c>
ffc1079c:	4b ff ff 7c 	b       ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c>
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
ffc107a0:	40 99 00 30 	ble-    cr6,ffc107d0 <_Heap_Allocate_aligned_with_boundary+0x134>
      if ( boundary_line < boundary_floor ) {                         
ffc107a4:	41 a5 ff 74 	bgt-    cr1,ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
ffc107a8:	7f e9 58 50 	subf    r31,r9,r11                             
ffc107ac:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc107b0:	7f ff 29 d6 	mullw   r31,r31,r5                             
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
ffc107b4:	7d 5f 4a 14 	add     r10,r31,r9                             
ffc107b8:	7d 6a 33 96 	divwu   r11,r10,r6                             
ffc107bc:	7d 6b 31 d6 	mullw   r11,r11,r6                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
ffc107c0:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc107c4:	7f 0a 58 40 	cmplw   cr6,r10,r11                            
      if ( boundary_line < boundary_floor ) {                         
ffc107c8:	7c 88 58 40 	cmplw   cr1,r8,r11                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
ffc107cc:	41 9c ff d4 	blt+    cr7,ffc107a0 <_Heap_Allocate_aligned_with_boundary+0x104>
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
ffc107d0:	7f 83 f8 40 	cmplw   cr7,r3,r31                             
ffc107d4:	41 bd ff 44 	bgt-    cr7,ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c>
ffc107d8:	7d 7f 63 96 	divwu   r11,r31,r12                            
ffc107dc:	7d 6b 61 d6 	mullw   r11,r11,r12                            
ffc107e0:	21 44 ff f8 	subfic  r10,r4,-8                              
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
ffc107e4:	7d 6a 5a 14 	add     r11,r10,r11                            
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
ffc107e8:	7f 87 58 40 	cmplw   cr7,r7,r11                             
ffc107ec:	40 bd ff 24 	ble-    cr7,ffc10710 <_Heap_Allocate_aligned_with_boundary+0x74>
ffc107f0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc107f4:	40 be ff 24 	bne-    cr7,ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c>
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc107f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc107fc:	41 9e ff 1c 	beq+    cr7,ffc10718 <_Heap_Allocate_aligned_with_boundary+0x7c><== NEVER TAKEN
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc10800:	81 7d 00 48 	lwz     r11,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc10804:	7f a3 eb 78 	mr      r3,r29                                 
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc10808:	80 1d 00 4c 	lwz     r0,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc1080c:	7f e5 fb 78 	mr      r5,r31                                 
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc10810:	39 6b 00 01 	addi    r11,r11,1                              
    stats->searches += search_count;                                  
ffc10814:	7c 00 f2 14 	add     r0,r0,r30                              
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc10818:	91 7d 00 48 	stw     r11,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc1081c:	7d 26 4b 78 	mr      r6,r9                                  
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc10820:	90 1d 00 4c 	stw     r0,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc10824:	4b ff 9d 19 	bl      ffc0a53c <_Heap_Block_allocate>        
ffc10828:	7f e3 fb 78 	mr      r3,r31                                 
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
ffc1082c:	80 1d 00 44 	lwz     r0,68(r29)                             
ffc10830:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc10834:	40 9c 00 08 	bge-    cr7,ffc1083c <_Heap_Allocate_aligned_with_boundary+0x1a0>
    stats->max_search = search_count;                                 
ffc10838:	93 dd 00 44 	stw     r30,68(r29)                            
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc1083c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc10840:	81 81 00 08 	lwz     r12,8(r1)                              
ffc10844:	7c 08 03 a6 	mtlr    r0                                     
ffc10848:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1084c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc10850:	7d 80 81 20 	mtcrf   8,r12                                  
ffc10854:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc10858:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1085c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc10860:	38 21 00 20 	addi    r1,r1,32                               
ffc10864:	4e 80 00 20 	blr                                            
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc10868:	38 60 00 00 	li      r3,0                                   
ffc1086c:	4b ff ff c0 	b       ffc1082c <_Heap_Allocate_aligned_with_boundary+0x190>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
ffc10870:	7f 84 30 40 	cmplw   cr7,r4,r6                              
ffc10874:	41 bd ff c8 	bgt-    cr7,ffc1083c <_Heap_Allocate_aligned_with_boundary+0x1a0>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
ffc10878:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1087c:	40 be fe 6c 	bne-    cr7,ffc106e8 <_Heap_Allocate_aligned_with_boundary+0x4c>
      alignment = page_size;                                          
ffc10880:	7d 85 63 78 	mr      r5,r12                                 
ffc10884:	4b ff fe 64 	b       ffc106e8 <_Heap_Allocate_aligned_with_boundary+0x4c>
                                                                      

ffc10d78 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
ffc10d78:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc10d7c:	7d 80 00 26 	mfcr    r12                                    
ffc10d80:	7c 08 02 a6 	mflr    r0                                     
ffc10d84:	93 a1 00 34 	stw     r29,52(r1)                             
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
ffc10d88:	7f a4 2a 14 	add     r29,r4,r5                              
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc10d8c:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc10d90:	90 01 00 44 	stw     r0,68(r1)                              
ffc10d94:	93 41 00 28 	stw     r26,40(r1)                             
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
ffc10d98:	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                                        
)                                                                     
{                                                                     
ffc10d9c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc10da0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10da4:	93 01 00 20 	stw     r24,32(r1)                             
ffc10da8:	93 21 00 24 	stw     r25,36(r1)                             
ffc10dac:	7c d9 33 78 	mr      r25,r6                                 
ffc10db0:	93 61 00 2c 	stw     r27,44(r1)                             
ffc10db4:	93 81 00 30 	stw     r28,48(r1)                             
ffc10db8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc10dbc:	7c 9f 23 78 	mr      r31,r4                                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc10dc0:	83 63 00 20 	lwz     r27,32(r3)                             
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
ffc10dc4:	38 60 00 00 	li      r3,0                                   
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc10dc8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc10dcc:	91 81 00 18 	stw     r12,24(r1)                             
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
ffc10dd0:	93 41 00 08 	stw     r26,8(r1)                              
  Heap_Block *extend_last_block = NULL;                               
ffc10dd4:	93 41 00 0c 	stw     r26,12(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc10dd8:	83 9e 00 10 	lwz     r28,16(r30)                            
  uintptr_t const min_block_size = heap->min_block_size;              
ffc10ddc:	80 de 00 14 	lwz     r6,20(r30)                             
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
ffc10de0:	83 1e 00 30 	lwz     r24,48(r30)                            
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc10de4:	40 9d 00 40 	ble-    cr7,ffc10e24 <_Heap_Extend+0xac>       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc10de8:	80 01 00 44 	lwz     r0,68(r1)                              
ffc10dec:	81 81 00 18 	lwz     r12,24(r1)                             
ffc10df0:	7c 08 03 a6 	mtlr    r0                                     
ffc10df4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc10df8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc10dfc:	7d 81 81 20 	mtcrf   24,r12                                 
ffc10e00:	83 21 00 24 	lwz     r25,36(r1)                             
ffc10e04:	83 41 00 28 	lwz     r26,40(r1)                             
ffc10e08:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc10e0c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc10e10:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc10e14:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc10e18:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc10e1c:	38 21 00 40 	addi    r1,r1,64                               
ffc10e20:	4e 80 00 20 	blr                                            
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc10e24:	7c 83 23 78 	mr      r3,r4                                  
ffc10e28:	38 e1 00 08 	addi    r7,r1,8                                
ffc10e2c:	7c a4 2b 78 	mr      r4,r5                                  
ffc10e30:	39 01 00 0c 	addi    r8,r1,12                               
ffc10e34:	7f 85 e3 78 	mr      r5,r28                                 
ffc10e38:	4b ff 99 3d 	bl      ffc0a774 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc10e3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    /* For simplicity we reject extend areas that are too small */    
    return false;                                                     
ffc10e40:	7f 43 d3 78 	mr      r3,r26                                 
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc10e44:	41 be ff a4 	beq-    cr7,ffc10de8 <_Heap_Extend+0x70>       
ffc10e48:	7f 69 db 78 	mr      r9,r27                                 
ffc10e4c:	3a e0 00 00 	li      r23,0                                  
ffc10e50:	38 00 00 00 	li      r0,0                                   
ffc10e54:	39 00 00 00 	li      r8,0                                   
ffc10e58:	48 00 00 44 	b       ffc10e9c <_Heap_Extend+0x124>          
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc10e5c:	7f 9d 58 40 	cmplw   cr7,r29,r11                            
ffc10e60:	40 9c 00 08 	bge-    cr7,ffc10e68 <_Heap_Extend+0xf0>       
ffc10e64:	7d 20 4b 78 	mr      r0,r9                                  
ffc10e68:	7d 4b e3 96 	divwu   r10,r11,r28                            
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc10e6c:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc10e70:	7d 4a e1 d6 	mullw   r10,r10,r28                            
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc10e74:	39 4a ff f8 	addi    r10,r10,-8                             
ffc10e78:	41 9e 00 64 	beq-    cr7,ffc10edc <_Heap_Extend+0x164>      
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc10e7c:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc10e80:	40 9d 00 08 	ble-    cr7,ffc10e88 <_Heap_Extend+0x110>      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
ffc10e84:	7d 57 53 78 	mr      r23,r10                                
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
ffc10e88:	81 2a 00 04 	lwz     r9,4(r10)                              
ffc10e8c:	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);                 
ffc10e90:	7d 2a 4a 14 	add     r9,r10,r9                              
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc10e94:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc10e98:	41 9e 00 60 	beq-    cr7,ffc10ef8 <_Heap_Extend+0x180>      
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc10e9c:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc10ea0:	7d 2a 4b 78 	mr      r10,r9                                 
ffc10ea4:	41 9e 01 b8 	beq-    cr7,ffc1105c <_Heap_Extend+0x2e4>      
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc10ea8:	81 69 00 00 	lwz     r11,0(r9)                              
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc10eac:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc10eb0:	40 9c 00 0c 	bge-    cr7,ffc10ebc <_Heap_Extend+0x144>      
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc10eb4:	7f 8a e8 40 	cmplw   cr7,r10,r29                            
ffc10eb8:	41 9c 02 28 	blt-    cr7,ffc110e0 <_Heap_Extend+0x368>      
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc10ebc:	7f 8a e8 00 	cmpw    cr7,r10,r29                            
ffc10ec0:	40 9e ff 9c 	bne+    cr7,ffc10e5c <_Heap_Extend+0xe4>       <== ALWAYS TAKEN
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10ec4:	7d 4b e3 96 	divwu   r10,r11,r28                            <== NOT EXECUTED
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc10ec8:	7f 8b f8 00 	cmpw    cr7,r11,r31                            <== NOT EXECUTED
ffc10ecc:	7d 4a e1 d6 	mullw   r10,r10,r28                            <== NOT EXECUTED
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc10ed0:	7d 28 4b 78 	mr      r8,r9                                  <== NOT EXECUTED
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc10ed4:	39 4a ff f8 	addi    r10,r10,-8                             <== NOT EXECUTED
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc10ed8:	40 9e ff a4 	bne+    cr7,ffc10e7c <_Heap_Extend+0x104>      <== NOT EXECUTED
      start_block->prev_size = extend_area_end;                       
ffc10edc:	93 a9 00 00 	stw     r29,0(r9)                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
ffc10ee0:	7d 5a 53 78 	mr      r26,r10                                
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
ffc10ee4:	81 2a 00 04 	lwz     r9,4(r10)                              
ffc10ee8:	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);                 
ffc10eec:	7d 2a 4a 14 	add     r9,r10,r9                              
    } else if ( sub_area_end < extend_area_begin ) {                  
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc10ef0:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc10ef4:	40 9e ff a8 	bne+    cr7,ffc10e9c <_Heap_Extend+0x124>      <== NEVER TAKEN
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc10ef8:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc10efc:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc10f00:	41 9c 01 64 	blt-    cr7,ffc11064 <_Heap_Extend+0x2ec>      
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
ffc10f04:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc10f08:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc10f0c:	40 9d 00 08 	ble-    cr7,ffc10f14 <_Heap_Extend+0x19c>      
    heap->area_end = extend_area_end;                                 
ffc10f10:	93 be 00 1c 	stw     r29,28(r30)                            
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc10f14:	81 5e 00 20 	lwz     r10,32(r30)                            
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
ffc10f18:	81 21 00 08 	lwz     r9,8(r1)                               
ffc10f1c:	81 61 00 0c 	lwz     r11,12(r1)                             
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc10f20:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc10f24:	93 a9 00 00 	stw     r29,0(r9)                              
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc10f28:	7d 49 58 50 	subf    r10,r9,r11                             
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
ffc10f2c:	61 47 00 01 	ori     r7,r10,1                               
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc10f30:	91 4b 00 00 	stw     r10,0(r11)                             
  extend_last_block->size_and_flag = 0;                               
ffc10f34:	39 40 00 00 	li      r10,0                                  
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
ffc10f38:	90 e9 00 04 	stw     r7,4(r9)                               
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
ffc10f3c:	91 4b 00 04 	stw     r10,4(r11)                             
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc10f40:	40 9d 01 58 	ble-    cr7,ffc11098 <_Heap_Extend+0x320>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
ffc10f44:	91 3e 00 20 	stw     r9,32(r30)                             
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
ffc10f48:	2e 08 00 00 	cmpwi   cr4,r8,0                               
ffc10f4c:	41 92 01 b0 	beq-    cr4,ffc110fc <_Heap_Extend+0x384>      <== ALWAYS TAKEN
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc10f50:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
ffc10f54:	3b ff 00 08 	addi    r31,r31,8                              <== NOT EXECUTED
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
ffc10f58:	7d 3f 03 96 	divwu   r9,r31,r0                              <== NOT EXECUTED
ffc10f5c:	7d 29 01 d6 	mullw   r9,r9,r0                               <== NOT EXECUTED
                                                                      
  if ( remainder != 0 ) {                                             
ffc10f60:	7d 29 f8 51 	subf.   r9,r9,r31                              <== NOT EXECUTED
ffc10f64:	41 82 00 0c 	beq-    ffc10f70 <_Heap_Extend+0x1f8>          <== NOT EXECUTED
    return value - remainder + alignment;                             
ffc10f68:	7f ff 02 14 	add     r31,r31,r0                             <== NOT EXECUTED
ffc10f6c:	7f e9 f8 50 	subf    r31,r9,r31                             <== NOT EXECUTED
  uintptr_t const new_first_block_begin =                             
ffc10f70:	38 9f ff f8 	addi    r4,r31,-8                              <== NOT EXECUTED
  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;                
ffc10f74:	81 28 00 00 	lwz     r9,0(r8)                               <== NOT EXECUTED
  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 =                              
ffc10f78:	7c 04 40 50 	subf    r0,r4,r8                               <== NOT EXECUTED
    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;
ffc10f7c:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
  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;                
ffc10f80:	91 3f ff f8 	stw     r9,-8(r31)                             <== NOT EXECUTED
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc10f84:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
ffc10f88:	90 04 00 04 	stw     r0,4(r4)                               <== NOT EXECUTED
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc10f8c:	4b ff fd b1 	bl      ffc10d3c <_Heap_Free_block>            <== NOT EXECUTED
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc10f90:	2d 9a 00 00 	cmpwi   cr3,r26,0                              
ffc10f94:	41 8e 01 18 	beq-    cr3,ffc110ac <_Heap_Extend+0x334>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10f98:	81 3e 00 10 	lwz     r9,16(r30)                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
ffc10f9c:	38 1d ff f8 	addi    r0,r29,-8                              
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
ffc10fa0:	7c 1a 00 50 	subf    r0,r26,r0                              
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
ffc10fa4:	81 7a 00 04 	lwz     r11,4(r26)                             
ffc10fa8:	7c 00 4b 96 	divwu   r0,r0,r9                               
ffc10fac:	7c 00 49 d6 	mullw   r0,r0,r9                               
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc10fb0:	7f c3 f3 78 	mr      r3,r30                                 
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
ffc10fb4:	7d 60 58 50 	subf    r11,r0,r11                             
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc10fb8:	7d 20 d2 14 	add     r9,r0,r26                              
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc10fbc:	61 6b 00 01 	ori     r11,r11,1                              
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc10fc0:	91 69 00 04 	stw     r11,4(r9)                              
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc10fc4:	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;       
ffc10fc8:	81 3a 00 04 	lwz     r9,4(r26)                              
ffc10fcc:	55 29 07 fe 	clrlwi  r9,r9,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc10fd0:	7c 00 4b 78 	or      r0,r0,r9                               
ffc10fd4:	90 1a 00 04 	stw     r0,4(r26)                              
ffc10fd8:	4b ff fd 65 	bl      ffc10d3c <_Heap_Free_block>            
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc10fdc:	41 92 01 0c 	beq-    cr4,ffc110e8 <_Heap_Extend+0x370>      <== ALWAYS TAKEN
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc10fe0:	81 3e 00 24 	lwz     r9,36(r30)                             
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc10fe4:	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(                                               
ffc10fe8:	81 5e 00 20 	lwz     r10,32(r30)                            
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
ffc10fec:	38 60 00 01 	li      r3,1                                   
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc10ff0:	81 69 00 04 	lwz     r11,4(r9)                              
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc10ff4:	81 1e 00 30 	lwz     r8,48(r30)                             
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
ffc10ff8:	7d 49 50 50 	subf    r10,r9,r10                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc10ffc:	80 1e 00 2c 	lwz     r0,44(r30)                             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc11000:	55 6b 07 fe 	clrlwi  r11,r11,31                             
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc11004:	7f 18 40 50 	subf    r24,r24,r8                             
                                                                      
  block->size_and_flag = size | flag;                                 
ffc11008:	7d 4b 5b 78 	or      r11,r10,r11                            
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc1100c:	7c 00 c2 14 	add     r0,r0,r24                              
ffc11010:	91 69 00 04 	stw     r11,4(r9)                              
ffc11014:	90 1e 00 2c 	stw     r0,44(r30)                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc11018:	41 be fd d0 	beq-    cr7,ffc10de8 <_Heap_Extend+0x70>       <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc1101c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11020:	81 81 00 18 	lwz     r12,24(r1)                             
ffc11024:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
ffc11028:	93 19 00 00 	stw     r24,0(r25)                             
                                                                      
  return true;                                                        
}                                                                     
ffc1102c:	7d 81 81 20 	mtcrf   24,r12                                 
ffc11030:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11034:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11038:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1103c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11040:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11044:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11048:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1104c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11050:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11054:	38 21 00 40 	addi    r1,r1,64                               
ffc11058:	4e 80 00 20 	blr                                            
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc1105c:	81 5e 00 18 	lwz     r10,24(r30)                            
ffc11060:	4b ff fe 48 	b       ffc10ea8 <_Heap_Extend+0x130>          
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc11064:	81 5e 00 20 	lwz     r10,32(r30)                            
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
ffc11068:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1106c:	81 61 00 0c 	lwz     r11,12(r1)                             
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc11070:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
    heap->area_begin = extend_area_begin;                             
ffc11074:	93 fe 00 18 	stw     r31,24(r30)                            
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc11078:	7d 49 58 50 	subf    r10,r9,r11                             
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
ffc1107c:	61 47 00 01 	ori     r7,r10,1                               
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc11080:	93 a9 00 00 	stw     r29,0(r9)                              
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc11084:	91 4b 00 00 	stw     r10,0(r11)                             
  extend_last_block->size_and_flag = 0;                               
ffc11088:	39 40 00 00 	li      r10,0                                  
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
ffc1108c:	90 e9 00 04 	stw     r7,4(r9)                               
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
  extend_last_block->size_and_flag = 0;                               
ffc11090:	91 4b 00 04 	stw     r10,4(r11)                             
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc11094:	41 bd fe b0 	bgt-    cr7,ffc10f44 <_Heap_Extend+0x1cc>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc11098:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc1109c:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc110a0:	40 bc fe a8 	bge-    cr7,ffc10f48 <_Heap_Extend+0x1d0>      
    heap->last_block = extend_last_block;                             
ffc110a4:	91 7e 00 24 	stw     r11,36(r30)                            
ffc110a8:	4b ff fe a0 	b       ffc10f48 <_Heap_Extend+0x1d0>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc110ac:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc110b0:	41 be ff 2c 	beq-    cr7,ffc10fdc <_Heap_Extend+0x264>      
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc110b4:	81 37 00 04 	lwz     r9,4(r23)                              
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
ffc110b8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc110bc:	55 29 07 fe 	clrlwi  r9,r9,31                               
ffc110c0:	7c 17 00 50 	subf    r0,r23,r0                              
                                                                      
  block->size_and_flag = size | flag;                                 
ffc110c4:	7c 00 4b 78 	or      r0,r0,r9                               
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
ffc110c8:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc110cc:	90 17 00 04 	stw     r0,4(r23)                              
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
ffc110d0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc110d4:	60 00 00 01 	ori     r0,r0,1                                
ffc110d8:	90 09 00 04 	stw     r0,4(r9)                               
ffc110dc:	4b ff ff 00 	b       ffc10fdc <_Heap_Extend+0x264>          
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
ffc110e0:	38 60 00 00 	li      r3,0                                   
ffc110e4:	4b ff fd 04 	b       ffc10de8 <_Heap_Extend+0x70>           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc110e8:	40 8e fe f8 	bne+    cr3,ffc10fe0 <_Heap_Extend+0x268>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc110ec:	80 81 00 08 	lwz     r4,8(r1)                               
ffc110f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc110f4:	4b ff fc 49 	bl      ffc10d3c <_Heap_Free_block>            
ffc110f8:	4b ff fe e8 	b       ffc10fe0 <_Heap_Extend+0x268>          
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
ffc110fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11100:	41 be fe 90 	beq-    cr7,ffc10f90 <_Heap_Extend+0x218>      
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
ffc11104:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc11108:	60 00 00 01 	ori     r0,r0,1                                
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
ffc1110c:	90 0b 00 04 	stw     r0,4(r11)                              
ffc11110:	4b ff fe 80 	b       ffc10f90 <_Heap_Extend+0x218>          
                                                                      

ffc10888 <_Heap_Free>:
ffc10888:	80 03 00 10 	lwz     r0,16(r3)                              
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc1088c:	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           
ffc10890:	81 63 00 20 	lwz     r11,32(r3)                             
  bool next_is_free = false;                                          
                                                                      
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
ffc10894:	38 60 00 00 	li      r3,0                                   
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10898:	7d 44 03 96 	divwu   r10,r4,r0                              
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc1089c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc108a0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc108a4:	7d 4a 01 d6 	mullw   r10,r10,r0                             
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc108a8:	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;             
ffc108ac:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc108b0:	41 9c 01 24 	blt-    cr7,ffc109d4 <_Heap_Free+0x14c>        
ffc108b4:	80 09 00 24 	lwz     r0,36(r9)                              
ffc108b8:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
ffc108bc:	41 9d 01 18 	bgt-    cr7,ffc109d4 <_Heap_Free+0x14c>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc108c0:	80 ea 00 04 	lwz     r7,4(r10)                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
ffc108c4:	54 e6 00 3c 	rlwinm  r6,r7,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc108c8:	7d 0a 32 14 	add     r8,r10,r6                              
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
ffc108cc:	7f 8b 40 40 	cmplw   cr7,r11,r8                             
ffc108d0:	41 9d 01 04 	bgt-    cr7,ffc109d4 <_Heap_Free+0x14c>        <== NEVER TAKEN
ffc108d4:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc108d8:	41 9c 00 fc 	blt-    cr7,ffc109d4 <_Heap_Free+0x14c>        <== NEVER TAKEN
ffc108dc:	80 a8 00 04 	lwz     r5,4(r8)                               
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
    _HAssert( false );                                                
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc108e0:	70 a4 00 01 	andi.   r4,r5,1                                
ffc108e4:	41 82 00 f0 	beq-    ffc109d4 <_Heap_Free+0x14c>            
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
ffc108e8:	7f 80 40 00 	cmpw    cr7,r0,r8                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
ffc108ec:	54 a4 00 3c 	rlwinm  r4,r5,0,0,30                           
ffc108f0:	38 a0 00 00 	li      r5,0                                   
ffc108f4:	41 9e 00 18 	beq-    cr7,ffc1090c <_Heap_Free+0x84>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc108f8:	7c a8 22 14 	add     r5,r8,r4                               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
ffc108fc:	80 a5 00 04 	lwz     r5,4(r5)                               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
ffc10900:	70 a3 00 01 	andi.   r3,r5,1                                
ffc10904:	7c a0 00 26 	mfcr    r5                                     
ffc10908:	54 a5 1f fe 	rlwinm  r5,r5,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 ) ) {                               
ffc1090c:	70 e7 00 01 	andi.   r7,r7,1                                
ffc10910:	40 82 00 6c 	bne-    ffc1097c <_Heap_Free+0xf4>             
    uintptr_t const prev_size = block->prev_size;                     
ffc10914:	83 ea 00 00 	lwz     r31,0(r10)                             
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
      _HAssert( false );                                              
      return( false );                                                
ffc10918:	38 60 00 00 	li      r3,0                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc1091c:	7d 9f 50 50 	subf    r12,r31,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;             
ffc10920:	7f 8b 60 40 	cmplw   cr7,r11,r12                            
ffc10924:	41 9d 00 b0 	bgt-    cr7,ffc109d4 <_Heap_Free+0x14c>        <== NEVER TAKEN
ffc10928:	7f 80 60 40 	cmplw   cr7,r0,r12                             
ffc1092c:	7c e3 3b 78 	mr      r3,r7                                  
ffc10930:	41 9c 00 a4 	blt-    cr7,ffc109d4 <_Heap_Free+0x14c>        <== 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;                 
ffc10934:	80 0c 00 04 	lwz     r0,4(r12)                              
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
ffc10938:	70 0b 00 01 	andi.   r11,r0,1                               
ffc1093c:	41 82 00 98 	beq-    ffc109d4 <_Heap_Free+0x14c>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc10940:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc10944:	41 9e 00 e8 	beq-    cr7,ffc10a2c <_Heap_Free+0x1a4>        
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc10948:	80 e9 00 38 	lwz     r7,56(r9)                              
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc1094c:	7c 86 22 14 	add     r4,r6,r4                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10950:	81 68 00 08 	lwz     r11,8(r8)                              
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc10954:	7f e4 fa 14 	add     r31,r4,r31                             
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10958:	81 48 00 0c 	lwz     r10,12(r8)                             
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc1095c:	63 e0 00 01 	ori     r0,r31,1                               
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc10960:	39 07 ff ff 	addi    r8,r7,-1                               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
ffc10964:	91 6a 00 08 	stw     r11,8(r10)                             
  next->prev = prev;                                                  
ffc10968:	91 4b 00 0c 	stw     r10,12(r11)                            
ffc1096c:	91 09 00 38 	stw     r8,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc10970:	90 0c 00 04 	stw     r0,4(r12)                              
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
ffc10974:	7f ec f9 2e 	stwx    r31,r12,r31                            
ffc10978:	48 00 00 34 	b       ffc109ac <_Heap_Free+0x124>            
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
ffc1097c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc10980:	41 9e 00 60 	beq-    cr7,ffc109e0 <_Heap_Free+0x158>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10984:	81 68 00 08 	lwz     r11,8(r8)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
ffc10988:	7c 84 32 14 	add     r4,r4,r6                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc1098c:	81 08 00 0c 	lwz     r8,12(r8)                              
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
ffc10990:	60 80 00 01 	ori     r0,r4,1                                
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
ffc10994:	91 6a 00 08 	stw     r11,8(r10)                             
  new_block->prev = prev;                                             
ffc10998:	91 0a 00 0c 	stw     r8,12(r10)                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc1099c:	91 48 00 08 	stw     r10,8(r8)                              
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
ffc109a0:	91 4b 00 0c 	stw     r10,12(r11)                            
ffc109a4:	90 0a 00 04 	stw     r0,4(r10)                              
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc109a8:	7c 8a 21 2e 	stwx    r4,r10,r4                              
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc109ac:	81 69 00 40 	lwz     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc109b0:	38 60 00 01 	li      r3,1                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc109b4:	81 09 00 50 	lwz     r8,80(r9)                              
  stats->free_size += block_size;                                     
ffc109b8:	81 49 00 30 	lwz     r10,48(r9)                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc109bc:	39 6b ff ff 	addi    r11,r11,-1                             
  ++stats->frees;                                                     
ffc109c0:	38 08 00 01 	addi    r0,r8,1                                
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc109c4:	91 69 00 40 	stw     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
ffc109c8:	7c ca 32 14 	add     r6,r10,r6                              
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc109cc:	90 09 00 50 	stw     r0,80(r9)                              
  stats->free_size += block_size;                                     
ffc109d0:	90 c9 00 30 	stw     r6,48(r9)                              
                                                                      
  return( true );                                                     
}                                                                     
ffc109d4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc109d8:	38 21 00 10 	addi    r1,r1,16                               
ffc109dc:	4e 80 00 20 	blr                                            
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc109e0:	80 e9 00 38 	lwz     r7,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc109e4:	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;                                             
ffc109e8:	38 07 00 01 	addi    r0,r7,1                                
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
ffc109ec:	91 2a 00 0c 	stw     r9,12(r10)                             
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
ffc109f0:	60 c7 00 01 	ori     r7,r6,1                                
ffc109f4:	90 ea 00 04 	stw     r7,4(r10)                              
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc109f8:	7f 80 58 40 	cmplw   cr7,r0,r11                             
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
ffc109fc:	80 e8 00 04 	lwz     r7,4(r8)                               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
ffc10a00:	81 69 00 08 	lwz     r11,8(r9)                              
ffc10a04:	54 e7 00 3c 	rlwinm  r7,r7,0,0,30                           
    next_block->prev_size = block_size;                               
ffc10a08:	7c ca 31 2e 	stwx    r6,r10,r6                              
                                                                      
  new_block->next = next;                                             
ffc10a0c:	91 6a 00 08 	stw     r11,8(r10)                             
  } 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;               
ffc10a10:	90 e8 00 04 	stw     r7,4(r8)                               
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc10a14:	91 4b 00 0c 	stw     r10,12(r11)                            
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
ffc10a18:	91 49 00 08 	stw     r10,8(r9)                              
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc10a1c:	90 09 00 38 	stw     r0,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc10a20:	40 bd ff 8c 	ble-    cr7,ffc109ac <_Heap_Free+0x124>        
      stats->max_free_blocks = stats->free_blocks;                    
ffc10a24:	90 09 00 3c 	stw     r0,60(r9)                              
ffc10a28:	4b ff ff 84 	b       ffc109ac <_Heap_Free+0x124>            
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
ffc10a2c:	7f e6 fa 14 	add     r31,r6,r31                             
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc10a30:	63 e0 00 01 	ori     r0,r31,1                               
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc10a34:	7f ea 31 2e 	stwx    r31,r10,r6                             
      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;        
ffc10a38:	90 0c 00 04 	stw     r0,4(r12)                              
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc10a3c:	80 08 00 04 	lwz     r0,4(r8)                               
ffc10a40:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc10a44:	90 08 00 04 	stw     r0,4(r8)                               
ffc10a48:	4b ff ff 64 	b       ffc109ac <_Heap_Free+0x124>            
                                                                      

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

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

ffc09768 <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
ffc09768:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0976c:	7c 08 02 a6 	mflr    r0                                     
ffc09770:	93 c1 00 08 	stw     r30,8(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09774:	3f c0 00 00 	lis     r30,0                                  
 *                                                                    
 *  Output Parameters: NONE                                           
 */                                                                   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc09778:	90 01 00 14 	stw     r0,20(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc0977c:	80 1e 27 fc 	lwz     r0,10236(r30)                          
 *                                                                    
 *  Output Parameters: NONE                                           
 */                                                                   
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc09780:	93 e1 00 0c 	stw     r31,12(r1)                             
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc09784:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09788:	41 9e 00 2c 	beq-    cr7,ffc097b4 <_IO_Initialize_all_drivers+0x4c><== NEVER TAKEN
ffc0978c:	3b e0 00 00 	li      r31,0                                  
ffc09790:	3b de 27 fc 	addi    r30,r30,10236                          
     (void) rtems_io_initialize( major, 0, NULL );                    
ffc09794:	7f e3 fb 78 	mr      r3,r31                                 
ffc09798:	38 80 00 00 	li      r4,0                                   
ffc0979c:	38 a0 00 00 	li      r5,0                                   
ffc097a0:	48 00 6c 3d 	bl      ffc103dc <rtems_io_initialize>         
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc097a4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc097a8:	3b ff 00 01 	addi    r31,r31,1                              
ffc097ac:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc097b0:	41 9d ff e4 	bgt+    cr7,ffc09794 <_IO_Initialize_all_drivers+0x2c>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
ffc097b4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc097b8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc097bc:	7c 08 03 a6 	mtlr    r0                                     
ffc097c0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc097c4:	38 21 00 10 	addi    r1,r1,16                               
ffc097c8:	4e 80 00 20 	blr                                            
                                                                      

ffc09658 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
ffc09658:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0965c:	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;              
ffc09660:	3d 20 00 00 	lis     r9,0                                   
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09664:	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;              
ffc09668:	39 29 20 a0 	addi    r9,r9,8352                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0966c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc09670:	93 c1 00 18 	stw     r30,24(r1)                             
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
  number_of_drivers = Configuration.maximum_drivers;                  
ffc09674:	83 a9 00 30 	lwz     r29,48(r9)                             
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
ffc09678:	83 c9 00 34 	lwz     r30,52(r9)                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0967c:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
ffc09680:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc09684:	93 61 00 0c 	stw     r27,12(r1)                             
ffc09688:	93 81 00 10 	stw     r28,16(r1)                             
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc0968c:	83 e9 00 38 	lwz     r31,56(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 )                        
ffc09690:	40 9c 00 a4 	bge-    cr7,ffc09734 <_IO_Manager_initialization+0xdc>
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
ffc09694:	1f 7d 00 18 	mulli   r27,r29,24                             
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
ffc09698:	7f 63 db 78 	mr      r3,r27                                 
ffc0969c:	48 00 3f 25 	bl      ffc0d5c0 <_Workspace_Allocate_or_fatal_error>
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
ffc096a0:	3f 80 00 00 	lis     r28,0                                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc096a4:	3d 20 00 00 	lis     r9,0                                   
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
ffc096a8:	90 7c 28 00 	stw     r3,10240(r28)                          
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
ffc096ac:	38 80 00 00 	li      r4,0                                   
ffc096b0:	7f 65 db 78 	mr      r5,r27                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc096b4:	93 a9 27 fc 	stw     r29,10236(r9)                          
                                                                      
  memset(                                                             
ffc096b8:	48 00 aa bd 	bl      ffc14174 <memset>                      
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc096bc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc096c0:	41 9e 00 50 	beq-    cr7,ffc09710 <_IO_Manager_initialization+0xb8><== NEVER TAKEN
ffc096c4:	7f c9 03 a6 	mtctr   r30                                    
ffc096c8:	81 1c 28 00 	lwz     r8,10240(r28)                          
ffc096cc:	39 40 00 00 	li      r10,0                                  
    _IO_Driver_address_table[index] = driver_table[index];            
ffc096d0:	7f e9 fb 78 	mr      r9,r31                                 
ffc096d4:	7c a9 50 6e 	lwzux   r5,r9,r10                              
ffc096d8:	7d 68 52 14 	add     r11,r8,r10                             
ffc096dc:	80 e9 00 08 	lwz     r7,8(r9)                               
ffc096e0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc096e4:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc096e8:	7c a8 51 2e 	stwx    r5,r8,r10                              
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc096ec:	39 4a 00 18 	addi    r10,r10,24                             
    _IO_Driver_address_table[index] = driver_table[index];            
ffc096f0:	90 cb 00 04 	stw     r6,4(r11)                              
ffc096f4:	90 eb 00 08 	stw     r7,8(r11)                              
ffc096f8:	90 0b 00 0c 	stw     r0,12(r11)                             
ffc096fc:	80 e9 00 10 	lwz     r7,16(r9)                              
ffc09700:	80 09 00 14 	lwz     r0,20(r9)                              
ffc09704:	90 eb 00 10 	stw     r7,16(r11)                             
ffc09708:	90 0b 00 14 	stw     r0,20(r11)                             
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc0970c:	42 00 ff c4 	bdnz+   ffc096d0 <_IO_Manager_initialization+0x78>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc09710:	80 01 00 24 	lwz     r0,36(r1)                              
ffc09714:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc09718:	7c 08 03 a6 	mtlr    r0                                     
ffc0971c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc09720:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc09724:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc09728:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0972c:	38 21 00 20 	addi    r1,r1,32                               
ffc09730:	4e 80 00 20 	blr                                            
ffc09734:	80 01 00 24 	lwz     r0,36(r1)                              
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
ffc09738:	3d 20 00 00 	lis     r9,0                                   
ffc0973c:	93 e9 28 00 	stw     r31,10240(r9)                          
    _IO_Number_of_drivers = number_of_drivers;                        
ffc09740:	3d 20 00 00 	lis     r9,0                                   
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc09744:	7c 08 03 a6 	mtlr    r0                                     
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
    _IO_Number_of_drivers = number_of_drivers;                        
ffc09748:	93 c9 27 fc 	stw     r30,10236(r9)                          
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc0974c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc09750:	83 81 00 10 	lwz     r28,16(r1)                             
ffc09754:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc09758:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0975c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc09760:	38 21 00 20 	addi    r1,r1,32                               
ffc09764:	4e 80 00 20 	blr                                            
                                                                      

ffc0a698 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0a698:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a69c:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0a6a0:	3d 60 00 00 	lis     r11,0                                  
ffc0a6a4:	39 2b 2d 10 	addi    r9,r11,11536                           
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0a6a8:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a6ac:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a6b0:	7c bf 2b 78 	mr      r31,r5                                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc0a6b4:	98 89 00 04 	stb     r4,4(r9)                               
  _Internal_errors_What_happened.the_error   = the_error;             
ffc0a6b8:	90 a9 00 08 	stw     r5,8(r9)                               
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0a6bc:	90 6b 2d 10 	stw     r3,11536(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 );       
ffc0a6c0:	48 00 27 c1 	bl      ffc0ce80 <_User_extensions_Fatal>      
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc0a6c4:	38 00 00 05 	li      r0,5                                   
ffc0a6c8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc0a6cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a6d0:	90 09 27 ec 	stw     r0,10220(r9)                           
ffc0a6d4:	4b ff 92 a5 	bl      ffc03978 <_BSP_Fatal_error>            
ffc0a6d8:	48 00 00 00 	b       ffc0a6d8 <_Internal_error_Occurred+0x40><== NOT EXECUTED
                                                                      

ffc0a6f0 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc0a6f0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a6f4:	7c 08 02 a6 	mflr    r0                                     
ffc0a6f8:	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 )                                       
ffc0a6fc:	80 03 00 18 	lwz     r0,24(r3)                              
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a700:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a704:	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 )                                       
ffc0a708:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a70c:	93 c1 00 08 	stw     r30,8(r1)                              
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
    return NULL;                                                      
ffc0a710:	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 )                                       
ffc0a714:	40 9e 00 1c 	bne-    cr7,ffc0a730 <_Objects_Allocate+0x40>  <== ALWAYS TAKEN
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0a718:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a71c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a720:	7c 08 03 a6 	mtlr    r0                                     
ffc0a724:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a728:	38 21 00 10 	addi    r1,r1,16                               
ffc0a72c:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  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 );
ffc0a730:	3b df 00 20 	addi    r30,r31,32                             
ffc0a734:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a738:	4b ff f4 15 	bl      ffc09b4c <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc0a73c:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc0a740:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a744:	41 be ff d4 	beq-    cr7,ffc0a718 <_Objects_Allocate+0x28>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc0a748:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a74c:	41 9e 00 50 	beq-    cr7,ffc0a79c <_Objects_Allocate+0xac>  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0a750:	a1 63 00 0a 	lhz     r11,10(r3)                             
ffc0a754:	a0 1f 00 0a 	lhz     r0,10(r31)                             
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0a758:	a1 3f 00 14 	lhz     r9,20(r31)                             
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0a75c:	7c 00 58 50 	subf    r0,r0,r11                              
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
      information->inactive--;                                        
ffc0a760:	a1 7f 00 2c 	lhz     r11,44(r31)                            
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0a764:	7c 00 4b 96 	divwu   r0,r0,r9                               
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0a768:	81 3f 00 30 	lwz     r9,48(r31)                             
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0a76c:	83 c1 00 08 	lwz     r30,8(r1)                              
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0a770:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0a774:	7d 49 00 2e 	lwzx    r10,r9,r0                              
      information->inactive--;                                        
ffc0a778:	39 6b ff ff 	addi    r11,r11,-1                             
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0a77c:	39 4a ff ff 	addi    r10,r10,-1                             
ffc0a780:	7d 49 01 2e 	stwx    r10,r9,r0                              
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0a784:	80 01 00 14 	lwz     r0,20(r1)                              
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
      information->inactive--;                                        
ffc0a788:	b1 7f 00 2c 	sth     r11,44(r31)                            
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0a78c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a790:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a794:	38 21 00 10 	addi    r1,r1,16                               
ffc0a798:	4e 80 00 20 	blr                                            
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
ffc0a79c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a7a0:	48 00 00 4d 	bl      ffc0a7ec <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc0a7a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a7a8:	4b ff f3 a5 	bl      ffc09b4c <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc0a7ac:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a7b0:	41 82 ff 68 	beq+    ffc0a718 <_Objects_Allocate+0x28>      
ffc0a7b4:	4b ff ff 9c 	b       ffc0a750 <_Objects_Allocate+0x60>      
                                                                      

ffc0a7ec <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc0a7ec:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0a7f0:	7c 08 02 a6 	mflr    r0                                     
ffc0a7f4:	90 01 00 44 	stw     r0,68(r1)                              
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0a7f8:	81 23 00 34 	lwz     r9,52(r3)                              
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a7fc:	93 a1 00 34 	stw     r29,52(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 )                           
ffc0a800:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0a804:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0a808:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a80c:	92 c1 00 18 	stw     r22,24(r1)                             
ffc0a810:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc0a814:	93 01 00 20 	stw     r24,32(r1)                             
ffc0a818:	93 21 00 24 	stw     r25,36(r1)                             
ffc0a81c:	93 41 00 28 	stw     r26,40(r1)                             
ffc0a820:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0a824:	93 81 00 30 	stw     r28,48(r1)                             
ffc0a828:	93 c1 00 38 	stw     r30,56(r1)                             
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0a82c:	a3 a3 00 0a 	lhz     r29,10(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0a830:	41 9e 02 8c 	beq-    cr7,ffc0aabc <_Objects_Extend_information+0x2d0>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0a834:	a3 43 00 10 	lhz     r26,16(r3)                             
ffc0a838:	a1 63 00 14 	lhz     r11,20(r3)                             
ffc0a83c:	7e da 5b 96 	divwu   r22,r26,r11                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0a840:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0a844:	41 9e 02 94 	beq-    cr7,ffc0aad8 <_Objects_Extend_information+0x2ec><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0a848:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0a84c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a850:	41 9e 02 9c 	beq-    cr7,ffc0aaec <_Objects_Extend_information+0x300><== NEVER TAKEN
ffc0a854:	7d 6a 5b 78 	mr      r10,r11                                
   *  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;                                                  
ffc0a858:	7e c9 03 a6 	mtctr   r22                                    
  /*                                                                  
   *  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 );      
ffc0a85c:	7f be eb 78 	mr      r30,r29                                
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0a860:	3b 60 00 00 	li      r27,0                                  
ffc0a864:	48 00 00 10 	b       ffc0a874 <_Objects_Extend_information+0x88>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0a868:	84 09 00 04 	lwzu    r0,4(r9)                               
ffc0a86c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a870:	41 9e 01 fc 	beq-    cr7,ffc0aa6c <_Objects_Extend_information+0x280>
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
ffc0a874:	7f de 5a 14 	add     r30,r30,r11                            
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0a878:	3b 7b 00 01 	addi    r27,r27,1                              
ffc0a87c:	42 00 ff ec 	bdnz+   ffc0a868 <_Objects_Extend_information+0x7c>
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
ffc0a880:	3b 20 00 01 	li      r25,1                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc0a884:	7f 5a 52 14 	add     r26,r26,r10                            
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
ffc0a888:	2b 9a ff ff 	cmplwi  cr7,r26,65535                          
ffc0a88c:	41 9d 01 a8 	bgt-    cr7,ffc0aa34 <_Objects_Extend_information+0x248>
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
ffc0a890:	88 1f 00 12 	lbz     r0,18(r31)                             
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
ffc0a894:	80 7f 00 18 	lwz     r3,24(r31)                             
  if ( information->auto_extend ) {                                   
ffc0a898:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
ffc0a89c:	7c 6a 19 d6 	mullw   r3,r10,r3                              
  if ( information->auto_extend ) {                                   
ffc0a8a0:	41 9e 01 d4 	beq-    cr7,ffc0aa74 <_Objects_Extend_information+0x288>
    new_object_block = _Workspace_Allocate( block_size );             
ffc0a8a4:	48 00 2c bd 	bl      ffc0d560 <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc0a8a8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0a8ac:	41 82 01 88 	beq-    ffc0aa34 <_Objects_Extend_information+0x248>
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc0a8b0:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0a8b4:	41 9e 00 fc 	beq-    cr7,ffc0a9b0 <_Objects_Extend_information+0x1c4>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc0a8b8:	3a f6 00 01 	addi    r23,r22,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0a8bc:	1c 77 00 03 	mulli   r3,r23,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc0a8c0:	7c 7a 1a 14 	add     r3,r26,r3                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0a8c4:	7c 63 ea 14 	add     r3,r3,r29                              
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
ffc0a8c8:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0a8cc:	48 00 2c 95 	bl      ffc0d560 <_Workspace_Allocate>         
                                                                      
    if ( !object_blocks ) {                                           
ffc0a8d0:	7c 78 1b 79 	mr.     r24,r3                                 
ffc0a8d4:	41 82 02 2c 	beq-    ffc0ab00 <_Objects_Extend_information+0x314>
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0a8d8:	a0 1f 00 10 	lhz     r0,16(r31)                             
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
ffc0a8dc:	56 f7 10 3a 	rlwinm  r23,r23,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc0a8e0:	7f 38 ba 14 	add     r25,r24,r23                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0a8e4:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0a8e8:	7e f9 ba 14 	add     r23,r25,r23                            
ffc0a8ec:	41 9c 01 94 	blt-    cr7,ffc0aa80 <_Objects_Extend_information+0x294>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0a8f0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        local_table[ index ] = NULL;                                  
ffc0a8f4:	7f a9 03 a6 	mtctr   r29                                    
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0a8f8:	39 37 ff fc 	addi    r9,r23,-4                              
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0a8fc:	38 00 00 00 	li      r0,0                                   
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0a900:	41 9e 00 0c 	beq-    cr7,ffc0a90c <_Objects_Extend_information+0x120><== NEVER TAKEN
        local_table[ index ] = NULL;                                  
ffc0a904:	94 09 00 04 	stwu    r0,4(r9)                               
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0a908:	42 00 ff fc 	bdnz+   ffc0a904 <_Objects_Extend_information+0x118>
ffc0a90c:	56 d6 10 3a 	rlwinm  r22,r22,2,0,29                         
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0a910:	a1 7f 00 14 	lhz     r11,20(r31)                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0a914:	38 00 00 00 	li      r0,0                                   
ffc0a918:	7c 18 b1 2e 	stwx    r0,r24,r22                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0a91c:	7d 7e 5a 14 	add     r11,r30,r11                            
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0a920:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
ffc0a924:	7c 19 b1 2e 	stwx    r0,r25,r22                             
                                                                      
    for ( index=index_base ;                                          
ffc0a928:	40 9c 00 30 	bge-    cr7,ffc0a958 <_Objects_Extend_information+0x16c><== NEVER TAKEN
ffc0a92c:	38 1e 00 01 	addi    r0,r30,1                               
ffc0a930:	7f 80 58 40 	cmplw   cr7,r0,r11                             
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0a934:	57 c9 10 3a 	rlwinm  r9,r30,2,0,29                          
ffc0a938:	39 29 ff fc 	addi    r9,r9,-4                               
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0a93c:	7d 7e 58 50 	subf    r11,r30,r11                            
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0a940:	7d 29 ba 14 	add     r9,r9,r23                              
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0a944:	7d 69 03 a6 	mtctr   r11                                    
ffc0a948:	38 00 00 00 	li      r0,0                                   
ffc0a94c:	41 9d 01 c0 	bgt-    cr7,ffc0ab0c <_Objects_Extend_information+0x320><== NEVER TAKEN
ffc0a950:	94 09 00 04 	stwu    r0,4(r9)                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0a954:	42 00 ff fc 	bdnz+   ffc0a950 <_Objects_Extend_information+0x164>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0a958:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a95c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a960:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a964:	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)   |    
ffc0a968:	81 7f 00 00 	lwz     r11,0(r31)                             
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
ffc0a96c:	57 5a 04 3e 	clrlwi  r26,r26,16                             
    information->maximum_id = _Objects_Build_id(                      
ffc0a970:	a1 3f 00 04 	lhz     r9,4(r31)                              
ffc0a974:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc0a978:	80 7f 00 34 	lwz     r3,52(r31)                             
ffc0a97c:	65 6b 00 01 	oris    r11,r11,1                              
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
ffc0a980:	93 3f 00 30 	stw     r25,48(r31)                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a984:	55 29 d8 08 	rlwinm  r9,r9,27,0,4                           
ffc0a988:	7d 69 4b 78 	or      r9,r11,r9                              
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
ffc0a98c:	93 1f 00 34 	stw     r24,52(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a990:	7d 29 d3 78 	or      r9,r9,r26                              
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
ffc0a994:	92 ff 00 1c 	stw     r23,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
ffc0a998:	b3 5f 00 10 	sth     r26,16(r31)                            
    information->maximum_id = _Objects_Build_id(                      
ffc0a99c:	91 3f 00 0c 	stw     r9,12(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0a9a0:	7c 00 01 24 	mtmsr   r0                                     
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    if ( old_tables )                                                 
ffc0a9a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a9a8:	41 9e 00 08 	beq-    cr7,ffc0a9b0 <_Objects_Extend_information+0x1c4>
      _Workspace_Free( old_tables );                                  
ffc0a9ac:	48 00 2b e9 	bl      ffc0d594 <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0a9b0:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0a9b4:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a9b8:	3b a1 00 08 	addi    r29,r1,8                               
ffc0a9bc:	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;             
ffc0a9c0:	7f 89 d9 2e 	stwx    r28,r9,r27                             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a9c4:	7f 84 e3 78 	mr      r4,r28                                 
ffc0a9c8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a9cc:	80 df 00 18 	lwz     r6,24(r31)                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0a9d0:	3b 9f 00 20 	addi    r28,r31,32                             
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0a9d4:	48 00 5a 65 	bl      ffc10438 <_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 ) {
ffc0a9d8:	48 00 00 2c 	b       ffc0aa04 <_Objects_Extend_information+0x218>
ffc0a9dc:	81 7f 00 00 	lwz     r11,0(r31)                             
                                                                      
    the_object->id = _Objects_Build_id(                               
ffc0a9e0:	a0 1f 00 04 	lhz     r0,4(r31)                              
ffc0a9e4:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc0a9e8:	65 6b 00 01 	oris    r11,r11,1                              
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0a9ec:	54 00 d8 08 	rlwinm  r0,r0,27,0,4                           
ffc0a9f0:	7d 60 03 78 	or      r0,r11,r0                              
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0a9f4:	7c 00 f3 78 	or      r0,r0,r30                              
ffc0a9f8:	90 09 00 08 	stw     r0,8(r9)                               
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc0a9fc:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0aa00:	4b ff f0 f5 	bl      ffc09af4 <_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 ) {
ffc0aa04:	7f a3 eb 78 	mr      r3,r29                                 
ffc0aa08:	4b ff f1 45 	bl      ffc09b4c <_Chain_Get>                  
ffc0aa0c:	7c 69 1b 79 	mr.     r9,r3                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0aa10:	7f 83 e3 78 	mr      r3,r28                                 
ffc0aa14:	7d 24 4b 78 	mr      r4,r9                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0aa18:	40 82 ff c4 	bne+    ffc0a9dc <_Objects_Extend_information+0x1f0>
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0aa1c:	a1 3f 00 2c 	lhz     r9,44(r31)                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0aa20:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc0aa24:	81 7f 00 30 	lwz     r11,48(r31)                            
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0aa28:	7d 20 4a 14 	add     r9,r0,r9                               
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0aa2c:	7c 0b d9 2e 	stwx    r0,r11,r27                             
  information->inactive =                                             
ffc0aa30:	b1 3f 00 2c 	sth     r9,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc0aa34:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0aa38:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc0aa3c:	7c 08 03 a6 	mtlr    r0                                     
ffc0aa40:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0aa44:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0aa48:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0aa4c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0aa50:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0aa54:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0aa58:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0aa5c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0aa60:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0aa64:	38 21 00 40 	addi    r1,r1,64                               
ffc0aa68:	4e 80 00 20 	blr                                            
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc0aa6c:	3b 20 00 00 	li      r25,0                                  
ffc0aa70:	4b ff fe 14 	b       ffc0a884 <_Objects_Extend_information+0x98>
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
ffc0aa74:	48 00 2b 4d 	bl      ffc0d5c0 <_Workspace_Allocate_or_fatal_error>
ffc0aa78:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0aa7c:	4b ff fe 34 	b       ffc0a8b0 <_Objects_Extend_information+0xc4>
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc0aa80:	56 d6 10 3a 	rlwinm  r22,r22,2,0,29                         
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
ffc0aa84:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc0aa88:	7e c5 b3 78 	mr      r5,r22                                 
ffc0aa8c:	48 00 96 09 	bl      ffc14094 <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc0aa90:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc0aa94:	7e c5 b3 78 	mr      r5,r22                                 
ffc0aa98:	7f 23 cb 78 	mr      r3,r25                                 
ffc0aa9c:	48 00 95 f9 	bl      ffc14094 <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0aaa0:	a0 bf 00 10 	lhz     r5,16(r31)                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0aaa4:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0aaa8:	7e e3 bb 78 	mr      r3,r23                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0aaac:	7c bd 2a 14 	add     r5,r29,r5                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0aab0:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0aab4:	48 00 95 e1 	bl      ffc14094 <memcpy>                      
ffc0aab8:	4b ff fe 58 	b       ffc0a910 <_Objects_Extend_information+0x124>
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0aabc:	a3 43 00 10 	lhz     r26,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 );      
ffc0aac0:	7f be eb 78 	mr      r30,r29                                
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0aac4:	a1 43 00 14 	lhz     r10,20(r3)                             
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
ffc0aac8:	3b 20 00 01 	li      r25,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0aacc:	3b 60 00 00 	li      r27,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc0aad0:	3a c0 00 00 	li      r22,0                                  
ffc0aad4:	4b ff fd b0 	b       ffc0a884 <_Objects_Extend_information+0x98>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0aad8:	7d 6a 5b 78 	mr      r10,r11                                <== NOT EXECUTED
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0aadc:	7f be eb 78 	mr      r30,r29                                <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
ffc0aae0:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0aae4:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc0aae8:	4b ff fd 9c 	b       ffc0a884 <_Objects_Extend_information+0x98><== NOT EXECUTED
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0aaec:	7d 6a 5b 78 	mr      r10,r11                                <== NOT EXECUTED
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0aaf0:	7f be eb 78 	mr      r30,r29                                <== NOT EXECUTED
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc0aaf4:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0aaf8:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc0aafc:	4b ff fd 88 	b       ffc0a884 <_Objects_Extend_information+0x98><== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
ffc0ab00:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ab04:	48 00 2a 91 	bl      ffc0d594 <_Workspace_Free>             
      return;                                                         
ffc0ab08:	4b ff ff 2c 	b       ffc0aa34 <_Objects_Extend_information+0x248>
ffc0ab0c:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc0ab10:	7d 69 03 a6 	mtctr   r11                                    <== NOT EXECUTED
ffc0ab14:	4b ff fe 3c 	b       ffc0a950 <_Objects_Extend_information+0x164><== NOT EXECUTED
                                                                      

ffc0ac04 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc0ac04:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ac08:	7c 08 02 a6 	mflr    r0                                     
ffc0ac0c:	93 c1 00 10 	stw     r30,16(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0ac10:	7c 9e 23 79 	mr.     r30,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0ac14:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0ac18:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0ac1c:	93 e1 00 14 	stw     r31,20(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc0ac20:	3b e0 00 00 	li      r31,0                                  
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0ac24:	90 01 00 1c 	stw     r0,28(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0ac28:	40 82 00 24 	bne-    ffc0ac4c <_Objects_Get_information+0x48>
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc0ac2c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ac30:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ac34:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ac38:	7c 08 03 a6 	mtlr    r0                                     
ffc0ac3c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ac40:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ac44:	38 21 00 18 	addi    r1,r1,24                               
ffc0ac48:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  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 );      
ffc0ac4c:	48 00 5e 01 	bl      ffc10a4c <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc0ac50:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ac54:	41 82 ff d8 	beq+    ffc0ac2c <_Objects_Get_information+0x28>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc0ac58:	7f 83 f0 40 	cmplw   cr7,r3,r30                             
ffc0ac5c:	41 9c ff d0 	blt+    cr7,ffc0ac2c <_Objects_Get_information+0x28>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0ac60:	3d 20 00 00 	lis     r9,0                                   
ffc0ac64:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc0ac68:	39 29 2c 00 	addi    r9,r9,11264                            
ffc0ac6c:	7d 29 e8 2e 	lwzx    r9,r9,r29                              
ffc0ac70:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ac74:	41 9e ff b8 	beq+    cr7,ffc0ac2c <_Objects_Get_information+0x28><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc0ac78:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0ac7c:	7f e9 f0 2e 	lwzx    r31,r9,r30                             
  if ( !info )                                                        
ffc0ac80:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ac84:	41 9e ff a8 	beq+    cr7,ffc0ac2c <_Objects_Get_information+0x28><== 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 )                                         
ffc0ac88:	a0 1f 00 10 	lhz     r0,16(r31)                             
ffc0ac8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ac90:	40 9e ff 9c 	bne+    cr7,ffc0ac2c <_Objects_Get_information+0x28>
      return NULL;                                                    
ffc0ac94:	3b e0 00 00 	li      r31,0                                  
ffc0ac98:	4b ff ff 94 	b       ffc0ac2c <_Objects_Get_information+0x28>
                                                                      

ffc0cedc <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
ffc0cedc:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0cee0:	7c 08 02 a6 	mflr    r0                                     
ffc0cee4:	93 c1 00 20 	stw     r30,32(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc0cee8:	7c 9e 23 79 	mr.     r30,r4                                 
char *_Objects_Get_name_as_string(                                    
  Objects_Id        id,                                               
  size_t            length,                                           
  char             *name                                              
)                                                                     
{                                                                     
ffc0ceec:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0cef0:	7c bf 2b 78 	mr      r31,r5                                 
ffc0cef4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0cef8:	93 81 00 18 	stw     r28,24(r1)                             
ffc0cefc:	93 a1 00 1c 	stw     r29,28(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc0cf00:	40 82 00 2c 	bne-    ffc0cf2c <_Objects_Get_name_as_string+0x50>
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
ffc0cf04:	3b e0 00 00 	li      r31,0                                  
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc0cf08:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0cf0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cf10:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0cf14:	7c 08 03 a6 	mtlr    r0                                     
ffc0cf18:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0cf1c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0cf20:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0cf24:	38 21 00 28 	addi    r1,r1,40                               
ffc0cf28:	4e 80 00 20 	blr                                            
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
ffc0cf2c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0cf30:	41 9e ff d8 	beq+    cr7,ffc0cf08 <_Objects_Get_name_as_string+0x2c>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0cf34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cf38:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0cf3c:	40 9e 00 10 	bne-    cr7,ffc0cf4c <_Objects_Get_name_as_string+0x70>
ffc0cf40:	3d 20 00 01 	lis     r9,1                                   
ffc0cf44:	81 29 af 90 	lwz     r9,-20592(r9)                          
ffc0cf48:	83 89 00 08 	lwz     r28,8(r9)                              
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
ffc0cf4c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0cf50:	4b ff fe 59 	bl      ffc0cda8 <_Objects_Get_information_id> 
  if ( !information )                                                 
ffc0cf54:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0cf58:	41 82 ff ac 	beq+    ffc0cf04 <_Objects_Get_name_as_string+0x28>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
ffc0cf5c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0cf60:	38 a1 00 08 	addi    r5,r1,8                                
ffc0cf64:	48 00 00 cd 	bl      ffc0d030 <_Objects_Get>                
  switch ( location ) {                                               
ffc0cf68:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0cf6c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cf70:	40 be ff 94 	bne-    cr7,ffc0cf04 <_Objects_Get_name_as_string+0x28>
      return NULL;                                                    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)             
        if ( information->is_string ) {                               
ffc0cf74:	89 3d 00 38 	lbz     r9,56(r29)                             
ffc0cf78:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0cf7c:	41 9e 00 88 	beq-    cr7,ffc0d004 <_Objects_Get_name_as_string+0x128>
          s = the_object->name.name_p;                                
ffc0cf80:	80 e3 00 0c 	lwz     r7,12(r3)                              
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
ffc0cf84:	7f e9 fb 78 	mr      r9,r31                                 
ffc0cf88:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0cf8c:	41 9e 00 68 	beq-    cr7,ffc0cff4 <_Objects_Get_name_as_string+0x118>
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cf90:	34 1e ff ff 	addic.  r0,r30,-1                              
ffc0cf94:	7f e9 fb 78 	mr      r9,r31                                 
ffc0cf98:	7c 09 03 a6 	mtctr   r0                                     
ffc0cf9c:	41 82 00 58 	beq-    ffc0cff4 <_Objects_Get_name_as_string+0x118><== NEVER TAKEN
ffc0cfa0:	88 07 00 00 	lbz     r0,0(r7)                               
ffc0cfa4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cfa8:	41 9e 00 4c 	beq-    cr7,ffc0cff4 <_Objects_Get_name_as_string+0x118>
ffc0cfac:	3c c0 00 00 	lis     r6,0                                   
ffc0cfb0:	39 60 00 00 	li      r11,0                                  
ffc0cfb4:	38 c6 27 d4 	addi    r6,r6,10196                            
ffc0cfb8:	48 00 00 10 	b       ffc0cfc8 <_Objects_Get_name_as_string+0xec>
ffc0cfbc:	7c 07 58 ae 	lbzx    r0,r7,r11                              
ffc0cfc0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cfc4:	41 9e 00 30 	beq-    cr7,ffc0cff4 <_Objects_Get_name_as_string+0x118>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc0cfc8:	81 06 00 00 	lwz     r8,0(r6)                               
ffc0cfcc:	7c 0a 03 78 	mr      r10,r0                                 
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cfd0:	39 6b 00 01 	addi    r11,r11,1                              
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc0cfd4:	7d 08 02 14 	add     r8,r8,r0                               
ffc0cfd8:	88 08 00 01 	lbz     r0,1(r8)                               
ffc0cfdc:	70 08 00 97 	andi.   r8,r0,151                              
ffc0cfe0:	40 82 00 08 	bne-    ffc0cfe8 <_Objects_Get_name_as_string+0x10c>
ffc0cfe4:	39 40 00 2a 	li      r10,42                                 
ffc0cfe8:	99 49 00 00 	stb     r10,0(r9)                              
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc0cfec:	39 29 00 01 	addi    r9,r9,1                                
ffc0cff0:	42 00 ff cc 	bdnz+   ffc0cfbc <_Objects_Get_name_as_string+0xe0>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
ffc0cff4:	38 00 00 00 	li      r0,0                                   
ffc0cff8:	98 09 00 00 	stb     r0,0(r9)                               
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0cffc:	48 00 0f 4d 	bl      ffc0df48 <_Thread_Enable_dispatch>     
      return name;                                                    
ffc0d000:	4b ff ff 08 	b       ffc0cf08 <_Objects_Get_name_as_string+0x2c>
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
ffc0d004:	80 03 00 0c 	lwz     r0,12(r3)                              
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
ffc0d008:	38 e1 00 0c 	addi    r7,r1,12                               
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
ffc0d00c:	99 21 00 10 	stb     r9,16(r1)                              
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc0d010:	54 0a 46 3e 	rlwinm  r10,r0,8,24,31                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc0d014:	54 0b 84 3e 	rlwinm  r11,r0,16,16,31                        
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc0d018:	99 41 00 0c 	stb     r10,12(r1)                             
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc0d01c:	54 09 c2 3e 	rlwinm  r9,r0,24,8,31                          
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc0d020:	99 61 00 0d 	stb     r11,13(r1)                             
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc0d024:	99 21 00 0e 	stb     r9,14(r1)                              
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
ffc0d028:	98 01 00 0f 	stb     r0,15(r1)                              
ffc0d02c:	4b ff ff 64 	b       ffc0cf90 <_Objects_Get_name_as_string+0xb4>
                                                                      

ffc1ebb0 <_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;
ffc1ebb0:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1ebb4:	a0 03 00 10 	lhz     r0,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;                           
ffc1ebb8:	21 29 00 01 	subfic  r9,r9,1                                
ffc1ebbc:	7d 29 22 14 	add     r9,r9,r4                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1ebc0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1ebc4:	41 9d 00 24 	bgt-    cr7,ffc1ebe8 <_Objects_Get_no_protection+0x38>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
ffc1ebc8:	81 63 00 1c 	lwz     r11,28(r3)                             
ffc1ebcc:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc1ebd0:	7c 6b 48 2e 	lwzx    r3,r11,r9                              
ffc1ebd4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ebd8:	41 9e 00 10 	beq-    cr7,ffc1ebe8 <_Objects_Get_no_protection+0x38><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
ffc1ebdc:	38 00 00 00 	li      r0,0                                   
ffc1ebe0:	90 05 00 00 	stw     r0,0(r5)                               
      return the_object;                                              
ffc1ebe4:	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;                                          
ffc1ebe8:	38 00 00 01 	li      r0,1                                   
ffc1ebec:	90 05 00 00 	stw     r0,0(r5)                               
  return NULL;                                                        
ffc1ebf0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1ebf4:	4e 80 00 20 	blr                                            
                                                                      

ffc0c8bc <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
ffc0c8bc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c8c0:	7c 08 02 a6 	mflr    r0                                     
ffc0c8c4:	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;
ffc0c8c8:	7c 60 1b 79 	mr.     r0,r3                                  
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc0c8cc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0c8d0:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c8d4:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0c8d8:	40 82 00 10 	bne-    ffc0c8e8 <_Objects_Id_to_name+0x2c>    
ffc0c8dc:	3d 20 00 00 	lis     r9,0                                   
ffc0c8e0:	81 29 31 90 	lwz     r9,12688(r9)                           
ffc0c8e4:	80 09 00 08 	lwz     r0,8(r9)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
ffc0c8e8:	54 09 47 7e 	rlwinm  r9,r0,8,29,31                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc0c8ec:	39 69 ff ff 	addi    r11,r9,-1                              
ffc0c8f0:	2b 8b 00 02 	cmplwi  cr7,r11,2                              
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
ffc0c8f4:	3b e0 00 03 	li      r31,3                                  
ffc0c8f8:	41 9d 00 38 	bgt-    cr7,ffc0c930 <_Objects_Id_to_name+0x74>
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0c8fc:	3d 60 00 00 	lis     r11,0                                  
ffc0c900:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0c904:	39 6b 2c 80 	addi    r11,r11,11392                          
ffc0c908:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc0c90c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c910:	41 9e 00 20 	beq-    cr7,ffc0c930 <_Objects_Id_to_name+0x74>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
ffc0c914:	54 0b 3e 7a 	rlwinm  r11,r0,7,25,29                         
ffc0c918:	7c 69 58 2e 	lwzx    r3,r9,r11                              
  if ( !information )                                                 
ffc0c91c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c920:	41 9e 00 10 	beq-    cr7,ffc0c930 <_Objects_Id_to_name+0x74><== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
ffc0c924:	89 23 00 38 	lbz     r9,56(r3)                              
ffc0c928:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c92c:	41 9e 00 20 	beq-    cr7,ffc0c94c <_Objects_Id_to_name+0x90><== ALWAYS TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0c930:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c934:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c938:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c93c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c940:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c944:	38 21 00 20 	addi    r1,r1,32                               
ffc0c948:	4e 80 00 20 	blr                                            
  #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 ); 
ffc0c94c:	7c 04 03 78 	mr      r4,r0                                  
ffc0c950:	38 a1 00 08 	addi    r5,r1,8                                
ffc0c954:	4b ff fe cd 	bl      ffc0c820 <_Objects_Get>                
  if ( !the_object )                                                  
ffc0c958:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0c95c:	41 a2 ff d4 	beq-    ffc0c930 <_Objects_Id_to_name+0x74>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0c960:	80 03 00 0c 	lwz     r0,12(r3)                              
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc0c964:	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;                                           
ffc0c968:	90 1e 00 00 	stw     r0,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc0c96c:	48 00 0e 9d 	bl      ffc0d808 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0c970:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c974:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c978:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c97c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c980:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c984:	38 21 00 20 	addi    r1,r1,32                               
ffc0c988:	4e 80 00 20 	blr                                            
                                                                      

ffc0af70 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
ffc0af70:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0af74:	7c 08 02 a6 	mflr    r0                                     
ffc0af78:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0af7c:	93 e1 00 14 	stw     r31,20(r1)                             
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
ffc0af80:	a1 43 00 10 	lhz     r10,16(r3)                             
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
ffc0af84:	a3 e3 00 0a 	lhz     r31,10(r3)                             
  block_count = (information->maximum - index_base) /                 
ffc0af88:	a0 03 00 14 	lhz     r0,20(r3)                              
ffc0af8c:	7d 5f 50 50 	subf    r10,r31,r10                            
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0af90:	93 81 00 08 	stw     r28,8(r1)                              
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
ffc0af94:	7d 4a 03 96 	divwu   r10,r10,r0                             
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0af98:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0af9c:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0afa0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0afa4:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0afa8:	41 9e 00 3c 	beq-    cr7,ffc0afe4 <_Objects_Shrink_information+0x74><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
ffc0afac:	81 63 00 30 	lwz     r11,48(r3)                             
ffc0afb0:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc0afb4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0afb8:	41 9e 00 4c 	beq-    cr7,ffc0b004 <_Objects_Shrink_information+0x94><== NEVER TAKEN
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0afbc:	39 20 00 00 	li      r9,0                                   
ffc0afc0:	7d 49 03 a6 	mtctr   r10                                    
ffc0afc4:	48 00 00 18 	b       ffc0afdc <_Objects_Shrink_information+0x6c>
    if ( information->inactive_per_block[ block ] ==                  
ffc0afc8:	85 4b 00 04 	lwzu    r10,4(r11)                             
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
ffc0afcc:	7f ff 02 14 	add     r31,r31,r0                             
ffc0afd0:	55 3d 10 3a 	rlwinm  r29,r9,2,0,29                          
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
ffc0afd4:	7f 80 50 00 	cmpw    cr7,r0,r10                             
ffc0afd8:	41 9e 00 30 	beq-    cr7,ffc0b008 <_Objects_Shrink_information+0x98>
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0afdc:	39 29 00 01 	addi    r9,r9,1                                
ffc0afe0:	42 00 ff e8 	bdnz+   ffc0afc8 <_Objects_Shrink_information+0x58>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0afe4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0afe8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0afec:	7c 08 03 a6 	mtlr    r0                                     
ffc0aff0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0aff4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0aff8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0affc:	38 21 00 18 	addi    r1,r1,24                               
ffc0b000:	4e 80 00 20 	blr                                            
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
ffc0b004:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
ffc0b008:	80 7c 00 20 	lwz     r3,32(r28)                             
ffc0b00c:	48 00 00 10 	b       ffc0b01c <_Objects_Shrink_information+0xac>
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b010:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0b014:	7f c3 f3 78 	mr      r3,r30                                 
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b018:	41 9e 00 34 	beq-    cr7,ffc0b04c <_Objects_Shrink_information+0xdc>
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
ffc0b01c:	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;      
ffc0b020:	83 c3 00 00 	lwz     r30,0(r3)                              
         if ((index >= index_base) &&                                 
ffc0b024:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0b028:	41 bc ff e8 	blt-    cr7,ffc0b010 <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
ffc0b02c:	a1 3c 00 14 	lhz     r9,20(r28)                             
ffc0b030:	7d 3f 4a 14 	add     r9,r31,r9                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
ffc0b034:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0b038:	40 9c ff d8 	bge+    cr7,ffc0b010 <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
ffc0b03c:	4b ff ea e9 	bl      ffc09b24 <_Chain_Extract>              
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b040:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0b044:	7f c3 f3 78 	mr      r3,r30                                 
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0b048:	40 9e ff d4 	bne+    cr7,ffc0b01c <_Objects_Shrink_information+0xac><== ALWAYS TAKEN
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
ffc0b04c:	81 3c 00 34 	lwz     r9,52(r28)                             
ffc0b050:	7c 69 e8 2e 	lwzx    r3,r9,r29                              
ffc0b054:	48 00 25 41 	bl      ffc0d594 <_Workspace_Free>             
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b058:	a1 5c 00 2c 	lhz     r10,44(r28)                            
ffc0b05c:	a0 1c 00 14 	lhz     r0,20(r28)                             
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc0b060:	81 7c 00 34 	lwz     r11,52(r28)                            
      information->inactive_per_block[ block ] = 0;                   
ffc0b064:	81 3c 00 30 	lwz     r9,48(r28)                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b068:	7c 00 50 50 	subf    r0,r0,r10                              
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc0b06c:	7f cb e9 2e 	stwx    r30,r11,r29                            
      information->inactive_per_block[ block ] = 0;                   
ffc0b070:	7f c9 e9 2e 	stwx    r30,r9,r29                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0b074:	b0 1c 00 2c 	sth     r0,44(r28)                             
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0b078:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b07c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b080:	7c 08 03 a6 	mtlr    r0                                     
ffc0b084:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b088:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b08c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b090:	38 21 00 18 	addi    r1,r1,24                               
ffc0b094:	4e 80 00 20 	blr                                            
                                                                      

ffc0b6e0 <_POSIX_Absolute_timeout_to_ticks>: */ POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks( const struct timespec *abstime, Watchdog_Interval *ticks_out ) {
ffc0b6e0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0b6e4:	7c 08 02 a6 	mflr    r0                                     
ffc0b6e8:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
                                                                      
  /*                                                                  
   *  Make sure there is always a value returned.                     
   */                                                                 
  *ticks_out = 0;                                                     
ffc0b6ec:	38 00 00 00 	li      r0,0                                   
 */                                                                   
POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks(
  const struct timespec *abstime,                                     
  Watchdog_Interval     *ticks_out                                    
)                                                                     
{                                                                     
ffc0b6f0:	93 81 00 18 	stw     r28,24(r1)                             
ffc0b6f4:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0b6f8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0b6fc:	7c 9f 23 78 	mr      r31,r4                                 
ffc0b700:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0b704:	93 c1 00 20 	stw     r30,32(r1)                             
                                                                      
                                                                      
  /*                                                                  
   *  Make sure there is always a value returned.                     
   */                                                                 
  *ticks_out = 0;                                                     
ffc0b708:	90 04 00 00 	stw     r0,0(r4)                               
                                                                      
  /*                                                                  
   *  Is the absolute time even valid?                                
   */                                                                 
  if ( !_Timespec_Is_valid(abstime) )                                 
ffc0b70c:	48 00 54 61 	bl      ffc10b6c <_Timespec_Is_valid>          
ffc0b710:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return POSIX_ABSOLUTE_TIMEOUT_INVALID;                            
ffc0b714:	38 60 00 00 	li      r3,0                                   
  *ticks_out = 0;                                                     
                                                                      
  /*                                                                  
   *  Is the absolute time even valid?                                
   */                                                                 
  if ( !_Timespec_Is_valid(abstime) )                                 
ffc0b718:	40 9e 00 24 	bne-    cr7,ffc0b73c <_POSIX_Absolute_timeout_to_ticks+0x5c>
  /*                                                                  
   *  This is the case we were expecting and it took this long to     
   *  get here.                                                       
   */                                                                 
  return POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE;                         
}                                                                     
ffc0b71c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0b720:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0b724:	7c 08 03 a6 	mtlr    r0                                     
ffc0b728:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0b72c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0b730:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0b734:	38 21 00 28 	addi    r1,r1,40                               
ffc0b738:	4e 80 00 20 	blr                                            
    return POSIX_ABSOLUTE_TIMEOUT_INVALID;                            
                                                                      
  /*                                                                  
   *  Is the absolute time in the past?                               
   */                                                                 
  _TOD_Get( ¤t_time );                                          
ffc0b73c:	3b c1 00 08 	addi    r30,r1,8                               
ffc0b740:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b744:	48 00 27 b9 	bl      ffc0defc <_TOD_Get>                    
                                                                      
  if ( _Timespec_Less_than( abstime, ¤t_time ) )                
ffc0b748:	7f 83 e3 78 	mr      r3,r28                                 
ffc0b74c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b750:	48 00 54 59 	bl      ffc10ba8 <_Timespec_Less_than>         
ffc0b754:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST;                         
ffc0b758:	38 60 00 01 	li      r3,1                                   
  /*                                                                  
   *  Is the absolute time in the past?                               
   */                                                                 
  _TOD_Get( ¤t_time );                                          
                                                                      
  if ( _Timespec_Less_than( abstime, ¤t_time ) )                
ffc0b75c:	40 be ff c0 	bne-    cr7,ffc0b71c <_POSIX_Absolute_timeout_to_ticks+0x3c>
    return POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST;                         
                                                                      
  /*                                                                  
   *  How long until the requested absolute time?                     
   */                                                                 
  _Timespec_Subtract( ¤t_time, abstime, &difference );          
ffc0b760:	3b a1 00 10 	addi    r29,r1,16                              
ffc0b764:	7f 84 e3 78 	mr      r4,r28                                 
ffc0b768:	7f a5 eb 78 	mr      r5,r29                                 
ffc0b76c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b770:	48 00 54 75 	bl      ffc10be4 <_Timespec_Subtract>          
                                                                      
  /*                                                                  
   *  Internally the SuperCore uses ticks, so convert to them.        
   */                                                                 
  *ticks_out = _Timespec_To_ticks( &difference );                     
ffc0b774:	7f a3 eb 78 	mr      r3,r29                                 
ffc0b778:	48 00 54 c1 	bl      ffc10c38 <_Timespec_To_ticks>          
                                                                      
  /*                                                                  
   *  If the difference was 0, then the future is now.  It is so bright
   *  we better wear shades.                                          
   */                                                                 
  if ( !*ticks_out )                                                  
ffc0b77c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  _Timespec_Subtract( ¤t_time, abstime, &difference );          
                                                                      
  /*                                                                  
   *  Internally the SuperCore uses ticks, so convert to them.        
   */                                                                 
  *ticks_out = _Timespec_To_ticks( &difference );                     
ffc0b780:	90 7f 00 00 	stw     r3,0(r31)                              
                                                                      
  /*                                                                  
   *  This is the case we were expecting and it took this long to     
   *  get here.                                                       
   */                                                                 
  return POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE;                         
ffc0b784:	38 60 00 03 	li      r3,3                                   
                                                                      
  /*                                                                  
   *  If the difference was 0, then the future is now.  It is so bright
   *  we better wear shades.                                          
   */                                                                 
  if ( !*ticks_out )                                                  
ffc0b788:	40 9e ff 94 	bne+    cr7,ffc0b71c <_POSIX_Absolute_timeout_to_ticks+0x3c><== ALWAYS TAKEN
    return POSIX_ABSOLUTE_TIMEOUT_IS_NOW;                             
ffc0b78c:	38 60 00 02 	li      r3,2                                   <== NOT EXECUTED
ffc0b790:	4b ff ff 8c 	b       ffc0b71c <_POSIX_Absolute_timeout_to_ticks+0x3c><== NOT EXECUTED
                                                                      

ffc0eaf8 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
ffc0eaf8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0eafc:	7c 08 02 a6 	mflr    r0                                     
ffc0eb00:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0eb04:	7c 7f 1b 78 	mr      r31,r3                                 
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
ffc0eb08:	3c 60 00 00 	lis     r3,0                                   
ffc0eb0c:	93 81 00 20 	stw     r28,32(r1)                             
ffc0eb10:	38 63 36 18 	addi    r3,r3,13848                            
ffc0eb14:	7c 9c 23 78 	mr      r28,r4                                 
ffc0eb18:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0eb1c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0eb20:	7c be 2b 78 	mr      r30,r5                                 
ffc0eb24:	38 a1 00 08 	addi    r5,r1,8                                
ffc0eb28:	90 01 00 34 	stw     r0,52(r1)                              
ffc0eb2c:	93 41 00 18 	stw     r26,24(r1)                             
ffc0eb30:	7c fa 3b 78 	mr      r26,r7                                 
ffc0eb34:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0eb38:	7d 1b 43 78 	mr      r27,r8                                 
ffc0eb3c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0eb40:	7c dd 33 78 	mr      r29,r6                                 
ffc0eb44:	48 00 41 e1 	bl      ffc12d24 <_Objects_Get>                
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
ffc0eb48:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0eb4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eb50:	41 9e 00 3c 	beq-    cr7,ffc0eb8c <_POSIX_Message_queue_Receive_support+0x94>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
ffc0eb54:	48 00 d4 25 	bl      ffc1bf78 <__errno>                     
ffc0eb58:	38 00 00 09 	li      r0,9                                   
ffc0eb5c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0eb60:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0eb64:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0eb68:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0eb6c:	7c 08 03 a6 	mtlr    r0                                     
ffc0eb70:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0eb74:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0eb78:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0eb7c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0eb80:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0eb84:	38 21 00 30 	addi    r1,r1,48                               
ffc0eb88:	4e 80 00 20 	blr                                            
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
ffc0eb8c:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0eb90:	54 09 07 be 	clrlwi  r9,r0,30                               
ffc0eb94:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0eb98:	41 9e 00 e4 	beq-    cr7,ffc0ec7c <_POSIX_Message_queue_Receive_support+0x184>
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
ffc0eb9c:	80 63 00 10 	lwz     r3,16(r3)                              
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
ffc0eba0:	81 23 00 68 	lwz     r9,104(r3)                             
ffc0eba4:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc0eba8:	41 9d 00 9c 	bgt-    cr7,ffc0ec44 <_POSIX_Message_queue_Receive_support+0x14c>
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
ffc0ebac:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
ffc0ebb0:	39 20 ff ff 	li      r9,-1                                  
ffc0ebb4:	91 21 00 0c 	stw     r9,12(r1)                              
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
ffc0ebb8:	38 e0 00 00 	li      r7,0                                   
ffc0ebbc:	40 9e 00 78 	bne-    cr7,ffc0ec34 <_POSIX_Message_queue_Receive_support+0x13c><== ALWAYS TAKEN
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
ffc0ebc0:	7f e4 fb 78 	mr      r4,r31                                 
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
ffc0ebc4:	3f e0 00 00 	lis     r31,0                                  
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
ffc0ebc8:	38 63 00 1c 	addi    r3,r3,28                               
ffc0ebcc:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ebd0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0ebd4:	7f 68 db 78 	mr      r8,r27                                 
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
ffc0ebd8:	3b ff 36 84 	addi    r31,r31,13956                          
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
ffc0ebdc:	48 00 2c 39 	bl      ffc11814 <_CORE_message_queue_Seize>   
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0ebe0:	48 00 51 1d 	bl      ffc13cfc <_Thread_Enable_dispatch>     
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
ffc0ebe4:	81 3f 00 0c 	lwz     r9,12(r31)                             
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
ffc0ebe8:	81 69 00 34 	lwz     r11,52(r9)                             
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return ((priority >= 0) ? priority : -priority);                    
ffc0ebec:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0ebf0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0ebf4:	7c 09 fe 70 	srawi   r9,r0,31                               
ffc0ebf8:	7d 20 02 78 	xor     r0,r9,r0                               
ffc0ebfc:	7c 09 00 50 	subf    r0,r9,r0                               
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
ffc0ec00:	90 1d 00 00 	stw     r0,0(r29)                              
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
ffc0ec04:	40 9e 00 58 	bne-    cr7,ffc0ec5c <_POSIX_Message_queue_Receive_support+0x164>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
ffc0ec08:	80 01 00 34 	lwz     r0,52(r1)                              
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
ffc0ec0c:	80 61 00 0c 	lwz     r3,12(r1)                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
ffc0ec10:	7c 08 03 a6 	mtlr    r0                                     
ffc0ec14:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0ec18:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0ec1c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0ec20:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0ec24:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0ec28:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0ec2c:	38 21 00 30 	addi    r1,r1,48                               
ffc0ec30:	4e 80 00 20 	blr                                            
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
ffc0ec34:	70 09 40 00 	andi.   r9,r0,16384                            
ffc0ec38:	7c e0 00 26 	mfcr    r7                                     
ffc0ec3c:	54 e7 1f fe 	rlwinm  r7,r7,3,31,31                          
ffc0ec40:	4b ff ff 80 	b       ffc0ebc0 <_POSIX_Message_queue_Receive_support+0xc8>
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
ffc0ec44:	48 00 50 b9 	bl      ffc13cfc <_Thread_Enable_dispatch>     
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
ffc0ec48:	48 00 d3 31 	bl      ffc1bf78 <__errno>                     
ffc0ec4c:	38 00 00 7a 	li      r0,122                                 
ffc0ec50:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ec54:	38 60 ff ff 	li      r3,-1                                  
ffc0ec58:	4b ff ff 0c 	b       ffc0eb64 <_POSIX_Message_queue_Receive_support+0x6c>
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
ffc0ec5c:	48 00 d3 1d 	bl      ffc1bf78 <__errno>                     
ffc0ec60:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0ec64:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ec68:	80 69 00 34 	lwz     r3,52(r9)                              
ffc0ec6c:	48 00 03 71 	bl      ffc0efdc <_POSIX_Message_queue_Translate_core_message_queue_return_code>
ffc0ec70:	90 7e 00 00 	stw     r3,0(r30)                              
ffc0ec74:	38 60 ff ff 	li      r3,-1                                  
ffc0ec78:	4b ff fe ec 	b       ffc0eb64 <_POSIX_Message_queue_Receive_support+0x6c>
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
ffc0ec7c:	48 00 50 81 	bl      ffc13cfc <_Thread_Enable_dispatch>     
        rtems_set_errno_and_return_minus_one( EBADF );                
ffc0ec80:	48 00 d2 f9 	bl      ffc1bf78 <__errno>                     
ffc0ec84:	38 00 00 09 	li      r0,9                                   
ffc0ec88:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ec8c:	38 60 ff ff 	li      r3,-1                                  
ffc0ec90:	4b ff fe d4 	b       ffc0eb64 <_POSIX_Message_queue_Receive_support+0x6c>
                                                                      

ffc0ecbc <_POSIX_Message_queue_Send_support>: /* * Validate the priority. * XXX - Do not validate msg_prio is not less than 0. */ if ( msg_prio > MQ_PRIO_MAX )
ffc0ecbc:	2b 86 00 20 	cmplwi  cr7,r6,32                              
  size_t              msg_len,                                        
  uint32_t            msg_prio,                                       
  bool                wait,                                           
  Watchdog_Interval   timeout                                         
)                                                                     
{                                                                     
ffc0ecc0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0ecc4:	7c 08 02 a6 	mflr    r0                                     
ffc0ecc8:	93 41 00 18 	stw     r26,24(r1)                             
ffc0eccc:	7c fa 3b 78 	mr      r26,r7                                 
ffc0ecd0:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0ecd4:	7c 9b 23 78 	mr      r27,r4                                 
ffc0ecd8:	93 81 00 20 	stw     r28,32(r1)                             
ffc0ecdc:	7c bc 2b 78 	mr      r28,r5                                 
ffc0ece0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0ece4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0ece8:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0ecec:	7c de 33 78 	mr      r30,r6                                 
ffc0ecf0:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0ecf4:	7d 1f 43 78 	mr      r31,r8                                 
ffc0ecf8:	90 01 00 34 	stw     r0,52(r1)                              
  /*                                                                  
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
ffc0ecfc:	41 9d 01 04 	bgt-    cr7,ffc0ee00 <_POSIX_Message_queue_Send_support+0x144>
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
ffc0ed00:	3c 60 00 00 	lis     r3,0                                   
ffc0ed04:	38 63 36 18 	addi    r3,r3,13848                            
ffc0ed08:	7f a4 eb 78 	mr      r4,r29                                 
ffc0ed0c:	38 a1 00 08 	addi    r5,r1,8                                
ffc0ed10:	48 00 40 15 	bl      ffc12d24 <_Objects_Get>                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
ffc0ed14:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ed18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed1c:	40 9e 00 d0 	bne-    cr7,ffc0edec <_POSIX_Message_queue_Send_support+0x130>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
ffc0ed20:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0ed24:	70 09 00 03 	andi.   r9,r0,3                                
ffc0ed28:	41 82 00 ec 	beq-    ffc0ee14 <_POSIX_Message_queue_Send_support+0x158>
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
ffc0ed2c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
ffc0ed30:	81 63 00 10 	lwz     r11,16(r3)                             
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
ffc0ed34:	39 20 00 00 	li      r9,0                                   
ffc0ed38:	40 9e 00 68 	bne-    cr7,ffc0eda0 <_POSIX_Message_queue_Send_support+0xe4>
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
ffc0ed3c:	7f ea fb 78 	mr      r10,r31                                
ffc0ed40:	7f 64 db 78 	mr      r4,r27                                 
ffc0ed44:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ed48:	7f a6 eb 78 	mr      r6,r29                                 
ffc0ed4c:	38 e0 00 00 	li      r7,0                                   
ffc0ed50:	7d 1e 00 d0 	neg     r8,r30                                 
ffc0ed54:	38 6b 00 1c 	addi    r3,r11,28                              
ffc0ed58:	48 00 2c 51 	bl      ffc119a8 <_CORE_message_queue_Submit>  
ffc0ed5c:	7c 7f 1b 78 	mr      r31,r3                                 
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0ed60:	48 00 4f 9d 	bl      ffc13cfc <_Thread_Enable_dispatch>     
       *  after it wakes up.  The returned status is correct for      
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
ffc0ed64:	2f 9f 00 07 	cmpwi   cr7,r31,7                              
ffc0ed68:	41 9e 00 74 	beq-    cr7,ffc0eddc <_POSIX_Message_queue_Send_support+0x120><== NEVER TAKEN
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
ffc0ed6c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
        return msg_status;                                            
ffc0ed70:	38 60 00 00 	li      r3,0                                   
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
ffc0ed74:	40 9e 00 b8 	bne-    cr7,ffc0ee2c <_POSIX_Message_queue_Send_support+0x170>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
ffc0ed78:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0ed7c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0ed80:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed84:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0ed88:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0ed8c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0ed90:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0ed94:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0ed98:	38 21 00 30 	addi    r1,r1,48                               
ffc0ed9c:	4e 80 00 20 	blr                                            
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
ffc0eda0:	70 09 40 00 	andi.   r9,r0,16384                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
ffc0eda4:	7f ea fb 78 	mr      r10,r31                                
ffc0eda8:	7f 64 db 78 	mr      r4,r27                                 
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
ffc0edac:	7d 20 00 26 	mfcr    r9                                     
ffc0edb0:	55 29 1f fe 	rlwinm  r9,r9,3,31,31                          
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
ffc0edb4:	7f 85 e3 78 	mr      r5,r28                                 
ffc0edb8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0edbc:	38 e0 00 00 	li      r7,0                                   
ffc0edc0:	7d 1e 00 d0 	neg     r8,r30                                 
ffc0edc4:	38 6b 00 1c 	addi    r3,r11,28                              
ffc0edc8:	48 00 2b e1 	bl      ffc119a8 <_CORE_message_queue_Submit>  
ffc0edcc:	7c 7f 1b 78 	mr      r31,r3                                 
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0edd0:	48 00 4f 2d 	bl      ffc13cfc <_Thread_Enable_dispatch>     
       *  after it wakes up.  The returned status is correct for      
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
ffc0edd4:	2f 9f 00 07 	cmpwi   cr7,r31,7                              
ffc0edd8:	40 9e ff 94 	bne+    cr7,ffc0ed6c <_POSIX_Message_queue_Send_support+0xb0>
        msg_status = _Thread_Executing->Wait.return_code;             
ffc0eddc:	3d 20 00 00 	lis     r9,0                                   
ffc0ede0:	81 29 36 90 	lwz     r9,13968(r9)                           
ffc0ede4:	83 e9 00 34 	lwz     r31,52(r9)                             
ffc0ede8:	4b ff ff 84 	b       ffc0ed6c <_POSIX_Message_queue_Send_support+0xb0>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
ffc0edec:	48 00 d1 8d 	bl      ffc1bf78 <__errno>                     
ffc0edf0:	38 00 00 09 	li      r0,9                                   
ffc0edf4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0edf8:	38 60 ff ff 	li      r3,-1                                  
ffc0edfc:	4b ff ff 7c 	b       ffc0ed78 <_POSIX_Message_queue_Send_support+0xbc>
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0ee00:	48 00 d1 79 	bl      ffc1bf78 <__errno>                     
ffc0ee04:	38 00 00 16 	li      r0,22                                  
ffc0ee08:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ee0c:	38 60 ff ff 	li      r3,-1                                  
ffc0ee10:	4b ff ff 68 	b       ffc0ed78 <_POSIX_Message_queue_Send_support+0xbc>
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
        _Thread_Enable_dispatch();                                    
ffc0ee14:	48 00 4e e9 	bl      ffc13cfc <_Thread_Enable_dispatch>     
        rtems_set_errno_and_return_minus_one( EBADF );                
ffc0ee18:	48 00 d1 61 	bl      ffc1bf78 <__errno>                     
ffc0ee1c:	38 00 00 09 	li      r0,9                                   
ffc0ee20:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ee24:	38 60 ff ff 	li      r3,-1                                  
ffc0ee28:	4b ff ff 50 	b       ffc0ed78 <_POSIX_Message_queue_Send_support+0xbc>
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
        return msg_status;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
ffc0ee2c:	48 00 d1 4d 	bl      ffc1bf78 <__errno>                     
ffc0ee30:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ee34:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ee38:	48 00 01 a5 	bl      ffc0efdc <_POSIX_Message_queue_Translate_core_message_queue_return_code>
ffc0ee3c:	90 7e 00 00 	stw     r3,0(r30)                              
ffc0ee40:	38 60 ff ff 	li      r3,-1                                  
ffc0ee44:	4b ff ff 34 	b       ffc0ed78 <_POSIX_Message_queue_Send_support+0xbc>
                                                                      

ffc0f94c <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
ffc0f94c:	7c 08 02 a6 	mflr    r0                                     
ffc0f950:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f954:	90 01 00 0c 	stw     r0,12(r1)                              
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
ffc0f958:	81 23 01 34 	lwz     r9,308(r3)                             
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
ffc0f95c:	80 09 00 d8 	lwz     r0,216(r9)                             
ffc0f960:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f964:	40 9e 00 10 	bne-    cr7,ffc0f974 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x28><== NEVER TAKEN
ffc0f968:	80 09 00 dc 	lwz     r0,220(r9)                             
ffc0f96c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0f970:	41 9e 00 18 	beq-    cr7,ffc0f988 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x3c>
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
ffc0f974:	4b ff c8 a1 	bl      ffc0c214 <_Thread_Enable_dispatch>     
                                                                      
}                                                                     
ffc0f978:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f97c:	38 21 00 08 	addi    r1,r1,8                                
ffc0f980:	7c 08 03 a6 	mtlr    r0                                     
ffc0f984:	4e 80 00 20 	blr                                            
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
ffc0f988:	80 09 00 e0 	lwz     r0,224(r9)                             
ffc0f98c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f990:	41 9e ff e4 	beq+    cr7,ffc0f974 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x28>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0f994:	3d 20 00 00 	lis     r9,0                                   
ffc0f998:	81 69 27 f4 	lwz     r11,10228(r9)                          
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
ffc0f99c:	38 80 ff ff 	li      r4,-1                                  
ffc0f9a0:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0f9a4:	90 09 27 f4 	stw     r0,10228(r9)                           
ffc0f9a8:	48 00 09 69 	bl      ffc10310 <_POSIX_Thread_Exit>          
ffc0f9ac:	4b ff ff cc 	b       ffc0f978 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x2c>
                                                                      

ffc112cc <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
ffc112cc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc112d0:	7c 08 02 a6 	mflr    r0                                     
ffc112d4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc112d8:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
ffc112dc:	80 64 00 00 	lwz     r3,0(r4)                               
  int                                  policy,                        
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
ffc112e0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc112e4:	7c db 33 78 	mr      r27,r6                                 
ffc112e8:	93 81 00 10 	stw     r28,16(r1)                             
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
    return EINVAL;                                                    
ffc112ec:	3b 80 00 16 	li      r28,22                                 
  int                                  policy,                        
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
ffc112f0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc112f4:	7c bd 2b 78 	mr      r29,r5                                 
ffc112f8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc112fc:	7c 9e 23 78 	mr      r30,r4                                 
ffc11300:	90 01 00 24 	stw     r0,36(r1)                              
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
ffc11304:	4b ff ff a5 	bl      ffc112a8 <_POSIX_Priority_Is_valid>    
ffc11308:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1130c:	41 9e 00 38 	beq-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
ffc11310:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
)                                                                     
{                                                                     
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
ffc11314:	38 00 00 00 	li      r0,0                                   
ffc11318:	90 1d 00 00 	stw     r0,0(r29)                              
  *budget_callout = NULL;                                             
ffc1131c:	90 1b 00 00 	stw     r0,0(r27)                              
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
ffc11320:	41 9e 00 4c 	beq-    cr7,ffc1136c <_POSIX_Thread_Translate_sched_param+0xa0>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
ffc11324:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
ffc11328:	3b 80 00 00 	li      r28,0                                  
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
ffc1132c:	41 9e 00 18 	beq-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
ffc11330:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc11334:	41 9e 00 ec 	beq-    cr7,ffc11420 <_POSIX_Thread_Translate_sched_param+0x154>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
ffc11338:	2f 9f 00 04 	cmpwi   cr7,r31,4                              
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
ffc1133c:	3b 80 00 16 	li      r28,22                                 
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
ffc11340:	41 9e 00 60 	beq-    cr7,ffc113a0 <_POSIX_Thread_Translate_sched_param+0xd4>
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
ffc11344:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11348:	7f 83 e3 78 	mr      r3,r28                                 
ffc1134c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc11350:	7c 08 03 a6 	mtlr    r0                                     
ffc11354:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11358:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1135c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc11360:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11364:	38 21 00 20 	addi    r1,r1,32                               
ffc11368:	4e 80 00 20 	blr                                            
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
ffc1136c:	38 00 00 01 	li      r0,1                                   
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
ffc11370:	83 61 00 0c 	lwz     r27,12(r1)                             
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
ffc11374:	90 1d 00 00 	stw     r0,0(r29)                              
    return 0;                                                         
ffc11378:	3b 80 00 00 	li      r28,0                                  
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
ffc1137c:	7f 83 e3 78 	mr      r3,r28                                 
ffc11380:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11384:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11388:	7c 08 03 a6 	mtlr    r0                                     
ffc1138c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc11390:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc11394:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11398:	38 21 00 20 	addi    r1,r1,32                               
ffc1139c:	4e 80 00 20 	blr                                            
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
ffc113a0:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc113a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc113a8:	40 9e 00 10 	bne-    cr7,ffc113b8 <_POSIX_Thread_Translate_sched_param+0xec>
ffc113ac:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc113b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc113b4:	41 be ff 90 	beq-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
ffc113b8:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc113bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc113c0:	40 9e 00 14 	bne-    cr7,ffc113d4 <_POSIX_Thread_Translate_sched_param+0x108>
ffc113c4:	80 1e 00 14 	lwz     r0,20(r30)                             
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
ffc113c8:	3b 80 00 16 	li      r28,22                                 
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
ffc113cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc113d0:	41 be ff 74 	beq-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
ffc113d4:	38 7e 00 08 	addi    r3,r30,8                               
ffc113d8:	4b ff d0 09 	bl      ffc0e3e0 <_Timespec_To_ticks>          
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
ffc113dc:	3b 80 00 16 	li      r28,22                                 
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
ffc113e0:	7c 7f 1b 78 	mr      r31,r3                                 
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
ffc113e4:	38 7e 00 10 	addi    r3,r30,16                              
ffc113e8:	4b ff cf f9 	bl      ffc0e3e0 <_Timespec_To_ticks>          
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
ffc113ec:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc113f0:	41 bc ff 54 	blt-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
ffc113f4:	80 7e 00 04 	lwz     r3,4(r30)                              
ffc113f8:	4b ff fe b1 	bl      ffc112a8 <_POSIX_Priority_Is_valid>    
ffc113fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11400:	41 be ff 44 	beq-    cr7,ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
ffc11404:	38 00 00 03 	li      r0,3                                   
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
ffc11408:	3d 20 ff c1 	lis     r9,-63                                 
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
ffc1140c:	90 1d 00 00 	stw     r0,0(r29)                              
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
ffc11410:	38 09 96 f8 	addi    r0,r9,-26888                           
    return 0;                                                         
ffc11414:	3b 80 00 00 	li      r28,0                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
ffc11418:	90 1b 00 00 	stw     r0,0(r27)                              
    return 0;                                                         
ffc1141c:	4b ff ff 28 	b       ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
ffc11420:	93 fd 00 00 	stw     r31,0(r29)                             
    return 0;                                                         
ffc11424:	4b ff ff 20 	b       ffc11344 <_POSIX_Thread_Translate_sched_param+0x78>
                                                                      

ffc0f92c <_POSIX_Threads_Exitted_extension>: * This method is invoked each time a thread exits. */ void _POSIX_Threads_Exitted_extension( Thread_Control *executing ) {
ffc0f92c:	7c 08 02 a6 	mflr    r0                                     
ffc0f930:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f934:	90 01 00 0c 	stw     r0,12(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
ffc0f938:	88 03 00 08 	lbz     r0,8(r3)                               
ffc0f93c:	54 00 07 7e 	clrlwi  r0,r0,29                               
  /*                                                                  
   *  If the executing thread was not created with the POSIX API, then this
   *  API do not get to define its exit behavior.                     
   */                                                                 
  if ( _Objects_Get_API( executing->Object.id ) == OBJECTS_POSIX_API )
ffc0f940:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0f944:	41 9e 00 14 	beq-    cr7,ffc0f958 <_POSIX_Threads_Exitted_extension+0x2c>
    pthread_exit( executing->Wait.return_argument );                  
}                                                                     
ffc0f948:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f94c:	38 21 00 08 	addi    r1,r1,8                                
ffc0f950:	7c 08 03 a6 	mtlr    r0                                     
ffc0f954:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  If the executing thread was not created with the POSIX API, then this
   *  API do not get to define its exit behavior.                     
   */                                                                 
  if ( _Objects_Get_API( executing->Object.id ) == OBJECTS_POSIX_API )
    pthread_exit( executing->Wait.return_argument );                  
ffc0f958:	80 63 00 28 	lwz     r3,40(r3)                              
ffc0f95c:	48 00 34 51 	bl      ffc12dac <pthread_exit>                
}                                                                     
ffc0f960:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc0f964:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc0f968:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0f96c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc092c4 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
ffc092c4:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc092c8:	7c 08 02 a6 	mflr    r0                                     
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
ffc092cc:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _POSIX_Threads_Initialize_user_threads_body(void)                
{                                                                     
ffc092d0:	90 01 00 74 	stw     r0,116(r1)                             
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
ffc092d4:	39 29 20 84 	addi    r9,r9,8324                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _POSIX_Threads_Initialize_user_threads_body(void)                
{                                                                     
ffc092d8:	93 c1 00 68 	stw     r30,104(r1)                            
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
ffc092dc:	83 c9 00 34 	lwz     r30,52(r9)                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _POSIX_Threads_Initialize_user_threads_body(void)                
{                                                                     
ffc092e0:	93 81 00 60 	stw     r28,96(r1)                             
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
                                                                      
  if ( !user_threads || maximum == 0 )                                
ffc092e4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _POSIX_Threads_Initialize_user_threads_body(void)                
{                                                                     
ffc092e8:	93 61 00 5c 	stw     r27,92(r1)                             
ffc092ec:	93 a1 00 64 	stw     r29,100(r1)                            
ffc092f0:	93 e1 00 6c 	stw     r31,108(r1)                            
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
ffc092f4:	83 89 00 30 	lwz     r28,48(r9)                             
                                                                      
  if ( !user_threads || maximum == 0 )                                
ffc092f8:	41 9e 00 64 	beq-    cr7,ffc0935c <_POSIX_Threads_Initialize_user_threads_body+0x98><== NEVER TAKEN
ffc092fc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc09300:	41 9e 00 5c 	beq-    cr7,ffc0935c <_POSIX_Threads_Initialize_user_threads_body+0x98><== NEVER TAKEN
ffc09304:	3b a0 00 00 	li      r29,0                                  
ffc09308:	3b e1 00 0c 	addi    r31,r1,12                              
ffc0930c:	3b 61 00 08 	addi    r27,r1,8                               
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
ffc09310:	7f e3 fb 78 	mr      r3,r31                                 
ffc09314:	48 00 81 15 	bl      ffc11428 <pthread_attr_init>           
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
ffc09318:	38 80 00 02 	li      r4,2                                   
ffc0931c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09320:	48 00 81 49 	bl      ffc11468 <pthread_attr_setinheritsched>
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
ffc09324:	80 9e 00 04 	lwz     r4,4(r30)                              
ffc09328:	7f e3 fb 78 	mr      r3,r31                                 
ffc0932c:	48 00 81 71 	bl      ffc1149c <pthread_attr_setstacksize>   
                                                                      
    status = pthread_create(                                          
ffc09330:	80 be 00 00 	lwz     r5,0(r30)                              
ffc09334:	7f 63 db 78 	mr      r3,r27                                 
ffc09338:	7f e4 fb 78 	mr      r4,r31                                 
ffc0933c:	38 c0 00 00 	li      r6,0                                   
ffc09340:	4b ff fb c1 	bl      ffc08f00 <pthread_create>              
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
ffc09344:	7c 65 1b 79 	mr.     r5,r3                                  
ffc09348:	40 82 00 38 	bne-    ffc09380 <_POSIX_Threads_Initialize_user_threads_body+0xbc>
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc0934c:	3b bd 00 01 	addi    r29,r29,1                              
ffc09350:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc09354:	3b de 00 08 	addi    r30,r30,8                              
ffc09358:	41 9d ff b8 	bgt+    cr7,ffc09310 <_POSIX_Threads_Initialize_user_threads_body+0x4c><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
ffc0935c:	80 01 00 74 	lwz     r0,116(r1)                             
ffc09360:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc09364:	7c 08 03 a6 	mtlr    r0                                     
ffc09368:	83 81 00 60 	lwz     r28,96(r1)                             
ffc0936c:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc09370:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc09374:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc09378:	38 21 00 70 	addi    r1,r1,112                              
ffc0937c:	4e 80 00 20 	blr                                            
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
ffc09380:	38 60 00 02 	li      r3,2                                   
ffc09384:	38 80 00 01 	li      r4,1                                   
ffc09388:	48 00 2a 19 	bl      ffc0bda0 <_Internal_error_Occurred>    
                                                                      

ffc0fb9c <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
ffc0fb9c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fba0:	7c 08 02 a6 	mflr    r0                                     
ffc0fba4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0fba8:	93 e1 00 0c 	stw     r31,12(r1)                             
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc0fbac:	83 e4 01 34 	lwz     r31,308(r4)                            
 */                                                                   
void _POSIX_Threads_Sporadic_budget_TSR(                              
  Objects_Id      id __attribute__((unused)),                         
  void           *argument                                            
)                                                                     
{                                                                     
ffc0fbb0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0fbb4:	7c 9e 23 78 	mr      r30,r4                                 
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
ffc0fbb8:	38 7f 00 98 	addi    r3,r31,152                             
ffc0fbbc:	48 00 13 81 	bl      ffc10f3c <_Timespec_To_ticks>          
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
ffc0fbc0:	80 1e 00 1c 	lwz     r0,28(r30)                             
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
ffc0fbc4:	3d 20 00 00 	lis     r9,0                                   
ffc0fbc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fbcc:	88 89 26 ec 	lbz     r4,9964(r9)                            
ffc0fbd0:	80 1f 00 88 	lwz     r0,136(r31)                            
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
ffc0fbd4:	90 7e 00 78 	stw     r3,120(r30)                            
ffc0fbd8:	7c 80 20 50 	subf    r4,r0,r4                               
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
ffc0fbdc:	90 9e 00 18 	stw     r4,24(r30)                             
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
ffc0fbe0:	40 9e 00 10 	bne-    cr7,ffc0fbf0 <_POSIX_Threads_Sporadic_budget_TSR+0x54><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
ffc0fbe4:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc0fbe8:	7f 80 20 40 	cmplw   cr7,r0,r4                              
ffc0fbec:	41 9d 00 38 	bgt-    cr7,ffc0fc24 <_POSIX_Threads_Sporadic_budget_TSR+0x88>
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
ffc0fbf0:	38 7f 00 90 	addi    r3,r31,144                             
ffc0fbf4:	48 00 13 49 	bl      ffc10f3c <_Timespec_To_ticks>          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0fbf8:	38 9f 00 a8 	addi    r4,r31,168                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0fbfc:	90 7f 00 b4 	stw     r3,180(r31)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0fc00:	3c 60 00 00 	lis     r3,0                                   
ffc0fc04:	38 63 2d 28 	addi    r3,r3,11560                            
ffc0fc08:	4b ff d5 4d 	bl      ffc0d154 <_Watchdog_Insert>            
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
ffc0fc0c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fc10:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0fc14:	7c 08 03 a6 	mtlr    r0                                     
ffc0fc18:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fc1c:	38 21 00 10 	addi    r1,r1,16                               
ffc0fc20:	4e 80 00 20 	blr                                            
  if ( the_thread->resource_count == 0 ) {                            
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
ffc0fc24:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fc28:	38 a0 00 01 	li      r5,1                                   
ffc0fc2c:	4b ff b9 29 	bl      ffc0b554 <_Thread_Change_priority>     
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
ffc0fc30:	38 7f 00 90 	addi    r3,r31,144                             
ffc0fc34:	48 00 13 09 	bl      ffc10f3c <_Timespec_To_ticks>          
ffc0fc38:	38 9f 00 a8 	addi    r4,r31,168                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0fc3c:	90 7f 00 b4 	stw     r3,180(r31)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0fc40:	3c 60 00 00 	lis     r3,0                                   
ffc0fc44:	38 63 2d 28 	addi    r3,r3,11560                            
ffc0fc48:	4b ff d5 0d 	bl      ffc0d154 <_Watchdog_Insert>            
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
}                                                                     
ffc0fc4c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fc50:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0fc54:	7c 08 03 a6 	mtlr    r0                                     
ffc0fc58:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fc5c:	38 21 00 10 	addi    r1,r1,16                               
ffc0fc60:	4e 80 00 20 	blr                                            
                                                                      

ffc0fc64 <_POSIX_Threads_Sporadic_budget_callout>: * _POSIX_Threads_Sporadic_budget_callout */ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ) {
ffc0fc64:	7c 08 02 a6 	mflr    r0                                     
ffc0fc68:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0fc6c:	90 01 00 0c 	stw     r0,12(r1)                              
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
ffc0fc70:	80 03 00 1c 	lwz     r0,28(r3)                              
)                                                                     
{                                                                     
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc0fc74:	81 63 01 34 	lwz     r11,308(r3)                            
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
ffc0fc78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fc7c:	80 0b 00 8c 	lwz     r0,140(r11)                            
ffc0fc80:	3d 60 00 00 	lis     r11,0                                  
ffc0fc84:	88 8b 26 ec 	lbz     r4,9964(r11)                           
ffc0fc88:	7c 80 20 50 	subf    r4,r0,r4                               
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
ffc0fc8c:	38 00 ff ff 	li      r0,-1                                  
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
ffc0fc90:	90 83 00 18 	stw     r4,24(r3)                              
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
ffc0fc94:	90 03 00 78 	stw     r0,120(r3)                             
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
ffc0fc98:	40 9e 00 10 	bne-    cr7,ffc0fca8 <_POSIX_Threads_Sporadic_budget_callout+0x44><== NEVER TAKEN
    /*                                                                
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
ffc0fc9c:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0fca0:	7f 80 20 40 	cmplw   cr7,r0,r4                              
ffc0fca4:	41 9c 00 14 	blt-    cr7,ffc0fcb8 <_POSIX_Threads_Sporadic_budget_callout+0x54><== ALWAYS TAKEN
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
ffc0fca8:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc0fcac:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc0fcb0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0fcb4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
ffc0fcb8:	38 a0 00 01 	li      r5,1                                   
ffc0fcbc:	4b ff b8 99 	bl      ffc0b554 <_Thread_Change_priority>     
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
ffc0fcc0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0fcc4:	38 21 00 08 	addi    r1,r1,8                                
ffc0fcc8:	7c 08 03 a6 	mtlr    r0                                     
ffc0fccc:	4e 80 00 20 	blr                                            
                                                                      

ffc12900 <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
ffc12900:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc12904:	7c 08 02 a6 	mflr    r0                                     
ffc12908:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1290c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc12910:	93 c1 00 10 	stw     r30,16(r1)                             
ffc12914:	93 e1 00 14 	stw     r31,20(r1)                             
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
ffc12918:	83 c3 01 34 	lwz     r30,308(r3)                            
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
ffc1291c:	80 1e 00 e4 	lwz     r0,228(r30)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc12920:	3b be 00 e8 	addi    r29,r30,232                            
ffc12924:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
ffc12928:	38 00 00 01 	li      r0,1                                   
ffc1292c:	90 1e 00 d8 	stw     r0,216(r30)                            
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
ffc12930:	41 9e 00 50 	beq-    cr7,ffc12980 <_POSIX_Threads_cancel_run+0x80>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc12934:	7c 00 00 a6 	mfmsr   r0                                     
ffc12938:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1293c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc12940:	7d 20 01 24 	mtmsr   r9                                     
    _ISR_Disable( level );                                            
      handler = (POSIX_Cancel_Handler_control *)                      
ffc12944:	83 fe 00 ec 	lwz     r31,236(r30)                           
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc12948:	81 7f 00 00 	lwz     r11,0(r31)                             
  previous       = the_node->previous;                                
ffc1294c:	81 3f 00 04 	lwz     r9,4(r31)                              
  next->previous = previous;                                          
ffc12950:	91 2b 00 04 	stw     r9,4(r11)                              
  previous->next = next;                                              
ffc12954:	91 69 00 00 	stw     r11,0(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc12958:	7c 00 01 24 	mtmsr   r0                                     
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
                                                                      
    (*handler->routine)( handler->arg );                              
ffc1295c:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc12960:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc12964:	7c 09 03 a6 	mtctr   r0                                     
ffc12968:	4e 80 04 21 	bctrl                                          
                                                                      
    _Workspace_Free( handler );                                       
ffc1296c:	7f e3 fb 78 	mr      r3,r31                                 
ffc12970:	4b ff ac 25 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
ffc12974:	80 1e 00 e4 	lwz     r0,228(r30)                            
ffc12978:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc1297c:	40 9e ff b8 	bne+    cr7,ffc12934 <_POSIX_Threads_cancel_run+0x34><== NEVER TAKEN
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
ffc12980:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc12984:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc12988:	7c 08 03 a6 	mtlr    r0                                     
ffc1298c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc12990:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc12994:	38 21 00 18 	addi    r1,r1,24                               
ffc12998:	4e 80 00 20 	blr                                            
                                                                      

ffc09050 <_POSIX_Timer_TSR>: * This is the operation that is run when a timer expires */ void _POSIX_Timer_TSR( Objects_Id timer __attribute__((unused)), void *data) {
ffc09050:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09054:	7c 08 02 a6 	mflr    r0                                     
ffc09058:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
ffc0905c:	80 04 00 54 	lwz     r0,84(r4)                              
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
ffc09060:	81 24 00 68 	lwz     r9,104(r4)                             
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
ffc09064:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 *  This is the operation that is run when a timer expires            
 */                                                                   
void _POSIX_Timer_TSR(                                                
  Objects_Id timer __attribute__((unused)),                           
  void *data)                                                         
{                                                                     
ffc09068:	93 e1 00 0c 	stw     r31,12(r1)                             
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
ffc0906c:	38 09 00 01 	addi    r0,r9,1                                
 *  This is the operation that is run when a timer expires            
 */                                                                   
void _POSIX_Timer_TSR(                                                
  Objects_Id timer __attribute__((unused)),                           
  void *data)                                                         
{                                                                     
ffc09070:	7c 9f 23 78 	mr      r31,r4                                 
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
ffc09074:	90 04 00 68 	stw     r0,104(r4)                             
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
ffc09078:	40 9e 00 40 	bne-    cr7,ffc090b8 <_POSIX_Timer_TSR+0x68>   
ffc0907c:	80 04 00 58 	lwz     r0,88(r4)                              
ffc09080:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09084:	40 9e 00 34 	bne-    cr7,ffc090b8 <_POSIX_Timer_TSR+0x68>   <== ALWAYS TAKEN
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
ffc09088:	38 00 00 04 	li      r0,4                                   
ffc0908c:	98 04 00 3c 	stb     r0,60(r4)                              
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
ffc09090:	80 7f 00 38 	lwz     r3,56(r31)                             
ffc09094:	80 9f 00 44 	lwz     r4,68(r31)                             
ffc09098:	48 00 79 45 	bl      ffc109dc <pthread_kill>                
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
ffc0909c:	38 00 00 00 	li      r0,0                                   
ffc090a0:	90 1f 00 68 	stw     r0,104(r31)                            
}                                                                     
ffc090a4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc090a8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc090ac:	38 21 00 10 	addi    r1,r1,16                               
ffc090b0:	7c 08 03 a6 	mtlr    r0                                     
ffc090b4:	4e 80 00 20 	blr                                            
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
ffc090b8:	80 9f 00 64 	lwz     r4,100(r31)                            
ffc090bc:	3c c0 ff c1 	lis     r6,-63                                 
ffc090c0:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc090c4:	38 7f 00 10 	addi    r3,r31,16                              
ffc090c8:	38 c6 90 50 	addi    r6,r6,-28592                           
ffc090cc:	7f e7 fb 78 	mr      r7,r31                                 
ffc090d0:	48 00 7f 21 	bl      ffc10ff0 <_POSIX_Timer_Insert_helper>  
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
ffc090d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc090d8:	41 9e ff cc 	beq+    cr7,ffc090a4 <_POSIX_Timer_TSR+0x54>   <== NEVER TAKEN
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
ffc090dc:	38 7f 00 6c 	addi    r3,r31,108                             
ffc090e0:	48 00 1e 79 	bl      ffc0af58 <_TOD_Get>                    
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
ffc090e4:	38 00 00 03 	li      r0,3                                   
ffc090e8:	98 1f 00 3c 	stb     r0,60(r31)                             
ffc090ec:	4b ff ff a4 	b       ffc09090 <_POSIX_Timer_TSR+0x40>       
                                                                      

ffc12a78 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
ffc12a78:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc12a7c:	7c 08 02 a6 	mflr    r0                                     
ffc12a80:	7c a6 2b 78 	mr      r6,r5                                  
ffc12a84:	93 c1 00 68 	stw     r30,104(r1)                            
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
ffc12a88:	3b c1 00 08 	addi    r30,r1,8                               
ffc12a8c:	7f c5 f3 78 	mr      r5,r30                                 
ffc12a90:	38 e0 00 01 	li      r7,1                                   
bool    _POSIX_signals_Check_signal(                                  
  POSIX_API_Control  *api,                                            
  int                 signo,                                          
  bool                is_global                                       
)                                                                     
{                                                                     
ffc12a94:	93 a1 00 64 	stw     r29,100(r1)                            
ffc12a98:	7c 9d 23 78 	mr      r29,r4                                 
ffc12a9c:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc12aa0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc12aa4:	90 01 00 74 	stw     r0,116(r1)                             
ffc12aa8:	92 e1 00 4c 	stw     r23,76(r1)                             
ffc12aac:	93 01 00 50 	stw     r24,80(r1)                             
ffc12ab0:	93 21 00 54 	stw     r25,84(r1)                             
ffc12ab4:	93 41 00 58 	stw     r26,88(r1)                             
ffc12ab8:	93 61 00 5c 	stw     r27,92(r1)                             
ffc12abc:	93 81 00 60 	stw     r28,96(r1)                             
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
ffc12ac0:	48 00 00 e1 	bl      ffc12ba0 <_POSIX_signals_Clear_signals>
ffc12ac4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                       is_global, true ) )            
    return false;                                                     
ffc12ac8:	38 60 00 00 	li      r3,0                                   
{                                                                     
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
ffc12acc:	41 9e 00 88 	beq-    cr7,ffc12b54 <_POSIX_signals_Check_signal+0xdc>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
ffc12ad0:	1f 7d 00 0c 	mulli   r27,r29,12                             
ffc12ad4:	3f 40 00 00 	lis     r26,0                                  
ffc12ad8:	3b 5a 31 60 	addi    r26,r26,12640                          
ffc12adc:	7d 3a da 14 	add     r9,r26,r27                             
ffc12ae0:	83 89 00 08 	lwz     r28,8(r9)                              
ffc12ae4:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc12ae8:	41 9e 00 6c 	beq-    cr7,ffc12b54 <_POSIX_signals_Check_signal+0xdc><== NEVER TAKEN
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
ffc12aec:	83 3f 00 d0 	lwz     r25,208(r31)                           
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
ffc12af0:	3e e0 00 00 	lis     r23,0                                  
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
ffc12af4:	80 09 00 04 	lwz     r0,4(r9)                               
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
ffc12af8:	3a f7 31 04 	addi    r23,r23,12548                          
ffc12afc:	80 97 00 0c 	lwz     r4,12(r23)                             
ffc12b00:	3b 01 00 14 	addi    r24,r1,20                              
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
ffc12b04:	7c 00 cb 78 	or      r0,r0,r25                              
ffc12b08:	90 1f 00 d0 	stw     r0,208(r31)                            
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
ffc12b0c:	7f 03 c3 78 	mr      r3,r24                                 
ffc12b10:	38 84 00 20 	addi    r4,r4,32                               
ffc12b14:	38 a0 00 28 	li      r5,40                                  
ffc12b18:	48 00 15 7d 	bl      ffc14094 <memcpy>                      
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
ffc12b1c:	7c 1a d8 2e 	lwzx    r0,r26,r27                             
ffc12b20:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc12b24:	41 9e 00 64 	beq-    cr7,ffc12b88 <_POSIX_signals_Check_signal+0x110>
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
ffc12b28:	7f a3 eb 78 	mr      r3,r29                                 
ffc12b2c:	7f 89 03 a6 	mtctr   r28                                    
ffc12b30:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc12b34:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the blocking information                                
   */                                                                 
  memcpy( &_Thread_Executing->Wait, &stored_thread_wait_information,  
ffc12b38:	80 77 00 0c 	lwz     r3,12(r23)                             
ffc12b3c:	7f 04 c3 78 	mr      r4,r24                                 
ffc12b40:	38 a0 00 28 	li      r5,40                                  
ffc12b44:	38 63 00 20 	addi    r3,r3,32                               
ffc12b48:	48 00 15 4d 	bl      ffc14094 <memcpy>                      
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
ffc12b4c:	93 3f 00 d0 	stw     r25,208(r31)                           
                                                                      
  return true;                                                        
ffc12b50:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc12b54:	80 01 00 74 	lwz     r0,116(r1)                             
ffc12b58:	82 e1 00 4c 	lwz     r23,76(r1)                             
ffc12b5c:	7c 08 03 a6 	mtlr    r0                                     
ffc12b60:	83 01 00 50 	lwz     r24,80(r1)                             
ffc12b64:	83 21 00 54 	lwz     r25,84(r1)                             
ffc12b68:	83 41 00 58 	lwz     r26,88(r1)                             
ffc12b6c:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc12b70:	83 81 00 60 	lwz     r28,96(r1)                             
ffc12b74:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc12b78:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc12b7c:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc12b80:	38 21 00 70 	addi    r1,r1,112                              
ffc12b84:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
ffc12b88:	7f a3 eb 78 	mr      r3,r29                                 
ffc12b8c:	7f 89 03 a6 	mtctr   r28                                    
ffc12b90:	7f c4 f3 78 	mr      r4,r30                                 
ffc12b94:	38 a0 00 00 	li      r5,0                                   
ffc12b98:	4e 80 04 21 	bctrl                                          
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
ffc12b9c:	4b ff ff 9c 	b       ffc12b38 <_POSIX_signals_Check_signal+0xc0>
                                                                      

ffc133c4 <_POSIX_signals_Clear_process_signals>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; asm volatile (
ffc133c4:	7d 60 00 a6 	mfmsr   r11                                    
ffc133c8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc133cc:	7d 60 00 78 	andc    r0,r11,r0                              
ffc133d0:	7c 00 01 24 	mtmsr   r0                                     
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
ffc133d4:	3d 20 00 00 	lis     r9,0                                   
ffc133d8:	1c 03 00 0c 	mulli   r0,r3,12                               
ffc133dc:	39 29 31 60 	addi    r9,r9,12640                            
ffc133e0:	7d 29 00 2e 	lwzx    r9,r9,r0                               
ffc133e4:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc133e8:	41 9e 00 28 	beq-    cr7,ffc13410 <_POSIX_signals_Clear_process_signals+0x4c>
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
ffc133ec:	3d 20 00 00 	lis     r9,0                                   
ffc133f0:	80 09 27 f4 	lwz     r0,10228(r9)                           
ffc133f4:	39 40 ff fe 	li      r10,-2                                 
ffc133f8:	38 63 ff ff 	addi    r3,r3,-1                               
ffc133fc:	5d 43 18 3e 	rotlw   r3,r10,r3                              
ffc13400:	7c 63 00 38 	and     r3,r3,r0                               
ffc13404:	90 69 27 f4 	stw     r3,10228(r9)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc13408:	7d 60 01 24 	mtmsr   r11                                    
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc1340c:	4e 80 00 20 	blr                                            
ffc13410:	3d 20 00 00 	lis     r9,0                                   
ffc13414:	39 29 33 54 	addi    r9,r9,13140                            
ffc13418:	7d 49 02 14 	add     r10,r9,r0                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
ffc1341c:	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 );                            
ffc13420:	38 0a 00 04 	addi    r0,r10,4                               
ffc13424:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc13428:	41 be ff c4 	beq-    cr7,ffc133ec <_POSIX_signals_Clear_process_signals+0x28><== ALWAYS TAKEN
ffc1342c:	7d 60 01 24 	mtmsr   r11                                    <== NOT EXECUTED
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc13430:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc09cf8 <_POSIX_signals_Get_lowest>:
ffc09cf8:	38 00 00 05 	li      r0,5                                   
ffc09cfc:	7c 09 03 a6 	mtctr   r0                                     
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
ffc09d00:	39 20 00 1b 	li      r9,27                                  
ffc09d04:	39 60 00 01 	li      r11,1                                  
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_lowest(                                        
ffc09d08:	38 09 ff ff 	addi    r0,r9,-1                               
ffc09d0c:	7d 60 00 30 	slw     r0,r11,r0                              
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
ffc09d10:	7c 0a 18 39 	and.    r10,r0,r3                              
ffc09d14:	40 82 00 38 	bne-    ffc09d4c <_POSIX_signals_Get_lowest+0x54><== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
ffc09d18:	39 29 00 01 	addi    r9,r9,1                                
ffc09d1c:	42 00 ff ec 	bdnz+   ffc09d08 <_POSIX_signals_Get_lowest+0x10>
ffc09d20:	38 00 00 1a 	li      r0,26                                  
ffc09d24:	39 20 00 01 	li      r9,1                                   
ffc09d28:	7c 09 03 a6 	mtctr   r0                                     
ffc09d2c:	39 60 00 01 	li      r11,1                                  
ffc09d30:	48 00 00 0c 	b       ffc09d3c <_POSIX_signals_Get_lowest+0x44>
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
ffc09d34:	39 29 00 01 	addi    r9,r9,1                                
ffc09d38:	42 40 00 14 	bdz-    ffc09d4c <_POSIX_signals_Get_lowest+0x54>
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_lowest(                                        
ffc09d3c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc09d40:	7d 60 00 30 	slw     r0,r11,r0                              
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
ffc09d44:	7c 0a 18 39 	and.    r10,r0,r3                              
ffc09d48:	41 82 ff ec 	beq+    ffc09d34 <_POSIX_signals_Get_lowest+0x3c>
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
ffc09d4c:	7d 23 4b 78 	mr      r3,r9                                  
ffc09d50:	4e 80 00 20 	blr                                            
                                                                      

ffc0f578 <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
ffc0f578:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f57c:	7c 08 02 a6 	mflr    r0                                     
ffc0f580:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f584:	93 c1 00 10 	stw     r30,16(r1)                             
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc0f588:	83 c3 01 34 	lwz     r30,308(r3)                            
 */                                                                   
                                                                      
void _POSIX_signals_Post_switch_extension(                            
  Thread_Control  *the_thread                                         
)                                                                     
{                                                                     
ffc0f58c:	93 a1 00 0c 	stw     r29,12(r1)                             
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
ffc0f590:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
 */                                                                   
                                                                      
void _POSIX_signals_Post_switch_extension(                            
  Thread_Control  *the_thread                                         
)                                                                     
{                                                                     
ffc0f594:	93 e1 00 14 	stw     r31,20(r1)                             
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
ffc0f598:	41 9e 00 c4 	beq-    cr7,ffc0f65c <_POSIX_signals_Post_switch_extension+0xe4>
ffc0f59c:	3f a0 00 00 	lis     r29,0                                  
ffc0f5a0:	3b bd 27 f4 	addi    r29,r29,10228                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0f5a4:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f5a8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f5ac:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0f5b0:	7d 20 01 24 	mtmsr   r9                                     
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
ffc0f5b4:	81 5d 00 00 	lwz     r10,0(r29)                             
ffc0f5b8:	81 3e 00 d4 	lwz     r9,212(r30)                            
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
ffc0f5bc:	81 7e 00 d0 	lwz     r11,208(r30)                           
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
ffc0f5c0:	7d 49 4b 78 	or      r9,r10,r9                              
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
ffc0f5c4:	7d 2a 58 79 	andc.   r10,r9,r11                             
ffc0f5c8:	41 82 00 90 	beq-    ffc0f658 <_POSIX_signals_Post_switch_extension+0xe0>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0f5cc:	7c 00 01 24 	mtmsr   r0                                     
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
ffc0f5d0:	3b e0 00 1b 	li      r31,27                                 
      _POSIX_signals_Check_signal( api, signo, false );               
ffc0f5d4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f5d8:	38 a0 00 00 	li      r5,0                                   
ffc0f5dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f5e0:	48 00 34 99 	bl      ffc12a78 <_POSIX_signals_Check_signal> 
      _POSIX_signals_Check_signal( api, signo, true );                
ffc0f5e4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f5e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f5ec:	38 a0 00 01 	li      r5,1                                   
ffc0f5f0:	48 00 34 89 	bl      ffc12a78 <_POSIX_signals_Check_signal> 
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
ffc0f5f4:	2f 9f 00 1f 	cmpwi   cr7,r31,31                             
ffc0f5f8:	3b ff 00 01 	addi    r31,r31,1                              
ffc0f5fc:	40 9e ff d8 	bne+    cr7,ffc0f5d4 <_POSIX_signals_Post_switch_extension+0x5c>
ffc0f600:	3b e0 00 01 	li      r31,1                                  
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
ffc0f604:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f608:	38 a0 00 00 	li      r5,0                                   
ffc0f60c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f610:	48 00 34 69 	bl      ffc12a78 <_POSIX_signals_Check_signal> 
      _POSIX_signals_Check_signal( api, signo, true );                
ffc0f614:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f618:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f61c:	38 a0 00 01 	li      r5,1                                   
ffc0f620:	48 00 34 59 	bl      ffc12a78 <_POSIX_signals_Check_signal> 
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
ffc0f624:	2f 9f 00 1a 	cmpwi   cr7,r31,26                             
ffc0f628:	3b ff 00 01 	addi    r31,r31,1                              
ffc0f62c:	40 9e ff d8 	bne+    cr7,ffc0f604 <_POSIX_signals_Post_switch_extension+0x8c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0f630:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f634:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f638:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0f63c:	7d 20 01 24 	mtmsr   r9                                     
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
ffc0f640:	81 5d 00 00 	lwz     r10,0(r29)                             
ffc0f644:	81 3e 00 d4 	lwz     r9,212(r30)                            
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
ffc0f648:	81 7e 00 d0 	lwz     r11,208(r30)                           
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
ffc0f64c:	7d 49 4b 78 	or      r9,r10,r9                              
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
ffc0f650:	7d 2a 58 79 	andc.   r10,r9,r11                             
ffc0f654:	40 82 ff 78 	bne+    ffc0f5cc <_POSIX_signals_Post_switch_extension+0x54><== NEVER TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0f658:	7c 00 01 24 	mtmsr   r0                                     
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
}                                                                     
ffc0f65c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f660:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f664:	7c 08 03 a6 	mtlr    r0                                     
ffc0f668:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f66c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f670:	38 21 00 18 	addi    r1,r1,24                               
ffc0f674:	4e 80 00 20 	blr                                            
                                                                      

ffc2a2f0 <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
ffc2a2f0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc2a2f4:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
ffc2a2f8:	3d 20 10 00 	lis     r9,4096                                
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
ffc2a2fc:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
ffc2a300:	61 29 80 00 	ori     r9,r9,32768                            
ffc2a304:	80 03 00 10 	lwz     r0,16(r3)                              
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
ffc2a308:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc2a30c:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
ffc2a310:	7c 0b 48 38 	and     r11,r0,r9                              
ffc2a314:	7f 8b 48 00 	cmpw    cr7,r11,r9                             
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
ffc2a318:	93 c1 00 08 	stw     r30,8(r1)                              
ffc2a31c:	39 64 ff ff 	addi    r11,r4,-1                              
ffc2a320:	39 20 00 01 	li      r9,1                                   
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc2a324:	81 43 01 34 	lwz     r10,308(r3)                            
ffc2a328:	7d 2b 58 30 	slw     r11,r9,r11                             
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
ffc2a32c:	41 9e 00 70 	beq-    cr7,ffc2a39c <_POSIX_signals_Unblock_thread+0xac>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
ffc2a330:	81 4a 00 d0 	lwz     r10,208(r10)                           
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
ffc2a334:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
ffc2a338:	7d 68 50 79 	andc.   r8,r11,r10                             
ffc2a33c:	41 82 00 44 	beq-    ffc2a380 <_POSIX_signals_Unblock_thread+0x90>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
ffc2a340:	74 0b 10 00 	andis.  r11,r0,4096                            
ffc2a344:	41 82 00 b8 	beq-    ffc2a3fc <_POSIX_signals_Unblock_thread+0x10c>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
ffc2a348:	3d 20 00 03 	lis     r9,3                                   
ffc2a34c:	61 29 be e0 	ori     r9,r9,48864                            
      the_thread->Wait.return_code = EINTR;                           
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
ffc2a350:	7c 08 48 39 	and.    r8,r0,r9                               
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
      the_thread->Wait.return_code = EINTR;                           
ffc2a354:	39 20 00 04 	li      r9,4                                   
ffc2a358:	91 23 00 34 	stw     r9,52(r3)                              
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
ffc2a35c:	40 82 00 e4 	bne-    ffc2a440 <_POSIX_signals_Unblock_thread+0x150>
         _Thread_queue_Extract_with_proxy( the_thread );              
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
ffc2a360:	70 09 00 08 	andi.   r9,r0,8                                
ffc2a364:	41 a2 00 1c 	beq+    ffc2a380 <_POSIX_signals_Unblock_thread+0x90><== NEVER TAKEN
          (void) _Watchdog_Remove( &the_thread->Timer );              
ffc2a368:	38 63 00 48 	addi    r3,r3,72                               
ffc2a36c:	4b fe a1 05 	bl      ffc14470 <_Watchdog_Remove>            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc2a370:	3c 80 10 03 	lis     r4,4099                                
ffc2a374:	7f e3 fb 78 	mr      r3,r31                                 
ffc2a378:	60 84 ff f8 	ori     r4,r4,65528                            
ffc2a37c:	4b fe 85 29 	bl      ffc128a4 <_Thread_Clear_state>         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
ffc2a380:	80 01 00 14 	lwz     r0,20(r1)                              
ffc2a384:	7f c3 f3 78 	mr      r3,r30                                 
ffc2a388:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc2a38c:	7c 08 03 a6 	mtlr    r0                                     
ffc2a390:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc2a394:	38 21 00 10 	addi    r1,r1,16                               
ffc2a398:	4e 80 00 20 	blr                                            
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
ffc2a39c:	80 03 00 30 	lwz     r0,48(r3)                              
ffc2a3a0:	7d 68 00 39 	and.    r8,r11,r0                              
ffc2a3a4:	41 82 00 88 	beq-    ffc2a42c <_POSIX_signals_Unblock_thread+0x13c>
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
ffc2a3a8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
ffc2a3ac:	81 3f 00 28 	lwz     r9,40(r31)                             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
      the_thread->Wait.return_code = EINTR;                           
ffc2a3b0:	38 00 00 04 	li      r0,4                                   
ffc2a3b4:	90 1f 00 34 	stw     r0,52(r31)                             
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
ffc2a3b8:	41 9e 00 90 	beq-    cr7,ffc2a448 <_POSIX_signals_Unblock_thread+0x158>
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
ffc2a3bc:	81 45 00 00 	lwz     r10,0(r5)                              
ffc2a3c0:	81 65 00 04 	lwz     r11,4(r5)                              
ffc2a3c4:	80 05 00 08 	lwz     r0,8(r5)                               
ffc2a3c8:	91 49 00 00 	stw     r10,0(r9)                              
ffc2a3cc:	91 69 00 04 	stw     r11,4(r9)                              
ffc2a3d0:	90 09 00 08 	stw     r0,8(r9)                               
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
ffc2a3d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc2a3d8:	4b fe 92 d9 	bl      ffc136b0 <_Thread_queue_Extract_with_proxy>
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
ffc2a3dc:	80 01 00 14 	lwz     r0,20(r1)                              
      } else {                                                        
        *the_info = *info;                                            
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
      return true;                                                    
ffc2a3e0:	3b c0 00 01 	li      r30,1                                  
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
ffc2a3e4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc2a3e8:	7c 08 03 a6 	mtlr    r0                                     
ffc2a3ec:	7f c3 f3 78 	mr      r3,r30                                 
ffc2a3f0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc2a3f4:	38 21 00 10 	addi    r1,r1,16                               
ffc2a3f8:	4e 80 00 20 	blr                                            
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
          (void) _Watchdog_Remove( &the_thread->Timer );              
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
ffc2a3fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc2a400:	40 be ff 80 	bne-    cr7,ffc2a380 <_POSIX_signals_Unblock_thread+0x90><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc2a404:	3d 60 00 00 	lis     r11,0                                  
ffc2a408:	39 6b 32 84 	addi    r11,r11,12932                          
ffc2a40c:	80 0b 00 08 	lwz     r0,8(r11)                              
ffc2a410:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc2a414:	41 be ff 6c 	beq-    cr7,ffc2a380 <_POSIX_signals_Unblock_thread+0x90>
ffc2a418:	80 0b 00 0c 	lwz     r0,12(r11)                             
ffc2a41c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc2a420:	40 9e ff 60 	bne+    cr7,ffc2a380 <_POSIX_signals_Unblock_thread+0x90><== NEVER TAKEN
        _Thread_Dispatch_necessary = true;                            
ffc2a424:	99 2b 00 18 	stb     r9,24(r11)                             
ffc2a428:	4b ff ff 58 	b       ffc2a380 <_POSIX_signals_Unblock_thread+0x90>
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
ffc2a42c:	80 0a 00 d0 	lwz     r0,208(r10)                            
                                                                      
    /*                                                                
     *  This should only be reached via pthread_kill().               
     */                                                               
                                                                      
    return false;                                                     
ffc2a430:	3b c0 00 00 	li      r30,0                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
ffc2a434:	7d 69 00 79 	andc.   r9,r11,r0                              
ffc2a438:	40 82 ff 70 	bne+    ffc2a3a8 <_POSIX_signals_Unblock_thread+0xb8>
ffc2a43c:	4b ff ff 44 	b       ffc2a380 <_POSIX_signals_Unblock_thread+0x90>
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
         _Thread_queue_Extract_with_proxy( the_thread );              
ffc2a440:	4b fe 92 71 	bl      ffc136b0 <_Thread_queue_Extract_with_proxy>
ffc2a444:	4b ff ff 3c 	b       ffc2a380 <_POSIX_signals_Unblock_thread+0x90>
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
ffc2a448:	38 00 00 01 	li      r0,1                                   
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
ffc2a44c:	90 89 00 00 	stw     r4,0(r9)                               
        the_info->si_code = SI_USER;                                  
ffc2a450:	90 09 00 04 	stw     r0,4(r9)                               
        the_info->si_value.sival_int = 0;                             
ffc2a454:	90 a9 00 08 	stw     r5,8(r9)                               
ffc2a458:	4b ff ff 7c 	b       ffc2a3d4 <_POSIX_signals_Unblock_thread+0xe4>
                                                                      

ffc09218 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
ffc09218:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0921c:	7c 08 02 a6 	mflr    r0                                     
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09220:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09224:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09228:	39 29 20 70 	addi    r9,r9,8304                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc0922c:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09230:	83 e9 00 2c 	lwz     r31,44(r9)                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09234:	93 a1 00 1c 	stw     r29,28(r1)                             
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
ffc09238:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc0923c:	93 81 00 18 	stw     r28,24(r1)                             
ffc09240:	93 c1 00 20 	stw     r30,32(r1)                             
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
ffc09244:	83 a9 00 28 	lwz     r29,40(r9)                             
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
ffc09248:	41 9e 00 60 	beq-    cr7,ffc092a8 <_RTEMS_tasks_Initialize_user_tasks_body+0x90>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc0924c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc09250:	41 9e 00 58 	beq-    cr7,ffc092a8 <_RTEMS_tasks_Initialize_user_tasks_body+0x90><== NEVER TAKEN
ffc09254:	3b c0 00 00 	li      r30,0                                  
ffc09258:	3b 81 00 08 	addi    r28,r1,8                               
    return_value = rtems_task_create(                                 
ffc0925c:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc09260:	7f 88 e3 78 	mr      r8,r28                                 
ffc09264:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc09268:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0926c:	80 df 00 14 	lwz     r6,20(r31)                             
ffc09270:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc09274:	4b ff fc b1 	bl      ffc08f24 <rtems_task_create>           
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
ffc09278:	7c 65 1b 79 	mr.     r5,r3                                  
ffc0927c:	40 82 00 4c 	bne-    ffc092c8 <_RTEMS_tasks_Initialize_user_tasks_body+0xb0>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
ffc09280:	80 bf 00 18 	lwz     r5,24(r31)                             
ffc09284:	80 61 00 08 	lwz     r3,8(r1)                               
ffc09288:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc0928c:	48 00 00 49 	bl      ffc092d4 <rtems_task_start>            
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
ffc09290:	7c 65 1b 79 	mr.     r5,r3                                  
ffc09294:	40 82 00 34 	bne-    ffc092c8 <_RTEMS_tasks_Initialize_user_tasks_body+0xb0>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc09298:	3b de 00 01 	addi    r30,r30,1                              
ffc0929c:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc092a0:	3b ff 00 1c 	addi    r31,r31,28                             
ffc092a4:	41 9d ff b8 	bgt+    cr7,ffc0925c <_RTEMS_tasks_Initialize_user_tasks_body+0x44><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
ffc092a8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc092ac:	83 81 00 18 	lwz     r28,24(r1)                             
ffc092b0:	7c 08 03 a6 	mtlr    r0                                     
ffc092b4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc092b8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc092bc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc092c0:	38 21 00 28 	addi    r1,r1,40                               
ffc092c4:	4e 80 00 20 	blr                                            
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
ffc092c8:	38 60 00 01 	li      r3,1                                   
ffc092cc:	38 80 00 01 	li      r4,1                                   
ffc092d0:	48 00 13 c9 	bl      ffc0a698 <_Internal_error_Occurred>    
                                                                      

ffc10050 <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
ffc10050:	81 23 01 3c 	lwz     r9,316(r3)                             
  while (tvp) {                                                       
ffc10054:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10058:	41 9e 00 24 	beq-    cr7,ffc1007c <_RTEMS_tasks_Switch_extension+0x2c>
    tvp->tval = *tvp->ptr;                                            
ffc1005c:	81 69 00 04 	lwz     r11,4(r9)                              
    *tvp->ptr = tvp->gval;                                            
ffc10060:	80 09 00 08 	lwz     r0,8(r9)                               
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
ffc10064:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc10068:	91 49 00 0c 	stw     r10,12(r9)                             
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc1006c:	81 29 00 00 	lwz     r9,0(r9)                               
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
ffc10070:	90 0b 00 00 	stw     r0,0(r11)                              
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
ffc10074:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10078:	40 9e ff e4 	bne+    cr7,ffc1005c <_RTEMS_tasks_Switch_extension+0xc><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
ffc1007c:	81 24 01 3c 	lwz     r9,316(r4)                             
  while (tvp) {                                                       
ffc10080:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10084:	4d 9e 00 20 	beqlr   cr7                                    
    tvp->gval = *tvp->ptr;                                            
ffc10088:	81 69 00 04 	lwz     r11,4(r9)                              
    *tvp->ptr = tvp->tval;                                            
ffc1008c:	80 09 00 0c 	lwz     r0,12(r9)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
ffc10090:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc10094:	91 49 00 08 	stw     r10,8(r9)                              
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc10098:	81 29 00 00 	lwz     r9,0(r9)                               
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
ffc1009c:	90 0b 00 00 	stw     r0,0(r11)                              
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
ffc100a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc100a4:	40 9e ff e4 	bne+    cr7,ffc10088 <_RTEMS_tasks_Switch_extension+0x38><== NEVER TAKEN
ffc100a8:	4e 80 00 20 	blr                                            
                                                                      

ffc0a7ec <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc0a7ec:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a7f0:	7c 08 02 a6 	mflr    r0                                     
ffc0a7f4:	7c 64 1b 78 	mr      r4,r3                                  
ffc0a7f8:	3c 60 00 00 	lis     r3,0                                   
ffc0a7fc:	90 01 00 24 	stw     r0,36(r1)                              
ffc0a800:	38 63 2c 58 	addi    r3,r3,11352                            
ffc0a804:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a808:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0a80c:	48 00 28 5d 	bl      ffc0d068 <_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 ) {                                               
ffc0a810:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a814:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a818:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a81c:	40 9e 00 48 	bne-    cr7,ffc0a864 <_Rate_monotonic_Timeout+0x78><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc0a820:	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);                   
ffc0a824:	80 03 00 10 	lwz     r0,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc0a828:	70 09 40 00 	andi.   r9,r0,16384                            
ffc0a82c:	41 82 00 14 	beq-    ffc0a840 <_Rate_monotonic_Timeout+0x54>
ffc0a830:	81 23 00 20 	lwz     r9,32(r3)                              
ffc0a834:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0a838:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a83c:	41 9e 00 68 	beq-    cr7,ffc0a8a4 <_Rate_monotonic_Timeout+0xb8>
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
ffc0a840:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc0a844:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0a848:	41 9e 00 30 	beq-    cr7,ffc0a878 <_Rate_monotonic_Timeout+0x8c>
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc0a84c:	38 00 00 04 	li      r0,4                                   
ffc0a850:	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;                                
ffc0a854:	3d 20 00 00 	lis     r9,0                                   
ffc0a858:	81 69 28 2c 	lwz     r11,10284(r9)                          
ffc0a85c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0a860:	90 09 28 2c 	stw     r0,10284(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc0a864:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a868:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a86c:	38 21 00 20 	addi    r1,r1,32                               
ffc0a870:	7c 08 03 a6 	mtlr    r0                                     
ffc0a874:	4e 80 00 20 	blr                                            
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
ffc0a878:	38 00 00 03 	li      r0,3                                   
ffc0a87c:	90 1f 00 38 	stw     r0,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc0a880:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a884:	4b ff f7 55 	bl      ffc09fd8 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a888:	80 1f 00 3c 	lwz     r0,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a88c:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a890:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a894:	38 63 2e 48 	addi    r3,r3,11848                            
ffc0a898:	38 9f 00 10 	addi    r4,r31,16                              
ffc0a89c:	48 00 4d 39 	bl      ffc0f5d4 <_Watchdog_Insert>            
ffc0a8a0:	4b ff ff b4 	b       ffc0a854 <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc0a8a4:	3c 80 10 03 	lis     r4,4099                                
ffc0a8a8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc0a8ac:	48 00 32 09 	bl      ffc0dab4 <_Thread_Clear_state>         
ffc0a8b0:	4b ff ff d0 	b       ffc0a880 <_Rate_monotonic_Timeout+0x94>
                                                                      

ffc10a70 <_Scheduler_priority_Block>: RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_extract( Thread_Control *the_thread ) { Chain_Control *ready = the_thread->scheduler.priority->ready_chain;
ffc10a70:	81 24 00 8c 	lwz     r9,140(r4)                             
ffc10a74:	81 29 00 00 	lwz     r9,0(r9)                               
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
ffc10a78:	81 69 00 00 	lwz     r11,0(r9)                              
ffc10a7c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc10a80:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc10a84:	41 9e 00 a8 	beq-    cr7,ffc10b2c <_Scheduler_priority_Block+0xbc>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc10a88:	81 64 00 00 	lwz     r11,0(r4)                              
  previous       = the_node->previous;                                
ffc10a8c:	81 24 00 04 	lwz     r9,4(r4)                               
  next->previous = previous;                                          
ffc10a90:	91 2b 00 04 	stw     r9,4(r11)                              
  previous->next = next;                                              
ffc10a94:	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 );                              
ffc10a98:	3d 20 00 00 	lis     r9,0                                   
ffc10a9c:	39 29 31 04 	addi    r9,r9,12548                            
{                                                                     
  _Scheduler_priority_Ready_queue_extract(the_thread);                
                                                                      
  /* TODO: flash critical section */                                  
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc10aa0:	80 09 00 10 	lwz     r0,16(r9)                              
ffc10aa4:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc10aa8:	41 9e 00 1c 	beq-    cr7,ffc10ac4 <_Scheduler_priority_Block+0x54>
     _Scheduler_priority_Schedule_body(the_scheduler);                
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc10aac:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc10ab0:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc10ab4:	4c be 00 20 	bnelr+  cr7                                    
    _Thread_Dispatch_necessary = true;                                
ffc10ab8:	38 00 00 01 	li      r0,1                                   
ffc10abc:	98 09 00 18 	stb     r0,24(r9)                              
ffc10ac0:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc10ac4:	3c a0 00 00 	lis     r5,0                                   
  Scheduler_Control *the_scheduler,                                   
  Thread_Control   *the_thread                                        
)                                                                     
{                                                                     
  _Scheduler_priority_Block_body(the_scheduler, the_thread);          
}                                                                     
ffc10ac8:	81 43 00 00 	lwz     r10,0(r3)                              
ffc10acc:	81 65 27 f0 	lwz     r11,10224(r5)                          
ffc10ad0:	7d 66 00 34 	cntlzw  r6,r11                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc10ad4:	3c e0 00 00 	lis     r7,0                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc10ad8:	91 65 27 f0 	stw     r11,10224(r5)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc10adc:	38 e7 31 20 	addi    r7,r7,12576                            
ffc10ae0:	54 c8 10 3a 	rlwinm  r8,r6,2,0,29                           
ffc10ae4:	7c 07 40 2e 	lwzx    r0,r7,r8                               
ffc10ae8:	7c 0b 00 34 	cntlzw  r11,r0                                 
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc10aec:	54 c6 20 36 	rlwinm  r6,r6,4,0,27                           
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc10af0:	7c 07 41 2e 	stwx    r0,r7,r8                               
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc10af4:	7d 66 5a 14 	add     r11,r6,r11                             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc10af8:	1d 6b 00 0c 	mulli   r11,r11,12                             
ffc10afc:	7d 0a 5a 14 	add     r8,r10,r11                             
ffc10b00:	7d 6a 58 2e 	lwzx    r11,r10,r11                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc10b04:	38 08 00 04 	addi    r0,r8,4                                
ffc10b08:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc10b0c:	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 ] ) )                
ffc10b10:	41 9e 00 08 	beq-    cr7,ffc10b18 <_Scheduler_priority_Block+0xa8><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
ffc10b14:	7d 60 5b 78 	mr      r0,r11                                 
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc10b18:	90 09 00 10 	stw     r0,16(r9)                              
  /* TODO: flash critical section */                                  
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body(the_scheduler);                
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc10b1c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc10b20:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc10b24:	4c be 00 20 	bnelr+  cr7                                    
ffc10b28:	4b ff ff 90 	b       ffc10ab8 <_Scheduler_priority_Block+0x48>
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc10b2c:	38 09 00 04 	addi    r0,r9,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc10b30:	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;                                                  
ffc10b34:	90 09 00 00 	stw     r0,0(r9)                               
  head->previous = NULL;                                              
ffc10b38:	38 00 00 00 	li      r0,0                                   
ffc10b3c:	90 09 00 04 	stw     r0,4(r9)                               
{                                                                     
  Chain_Control         *ready  = the_thread->scheduler.priority->ready_chain;
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
    _Chain_Initialize_empty( ready );                                 
    _Priority_bit_map_Remove( &the_thread->scheduler.priority->Priority_map );
ffc10b40:	81 24 00 8c 	lwz     r9,140(r4)                             
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc10b44:	81 69 00 04 	lwz     r11,4(r9)                              
ffc10b48:	80 09 00 14 	lwz     r0,20(r9)                              
ffc10b4c:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc10b50:	7d 40 00 38 	and     r0,r10,r0                              
  if ( *the_priority_map->minor == 0 )                                
ffc10b54:	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;          
ffc10b58:	90 0b 00 00 	stw     r0,0(r11)                              
  if ( *the_priority_map->minor == 0 )                                
ffc10b5c:	40 be ff 3c 	bne-    cr7,ffc10a98 <_Scheduler_priority_Block+0x28>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
ffc10b60:	3d 60 00 00 	lis     r11,0                                  
ffc10b64:	80 09 00 10 	lwz     r0,16(r9)                              
ffc10b68:	81 4b 27 f0 	lwz     r10,10224(r11)                         
ffc10b6c:	7d 40 00 38 	and     r0,r10,r0                              
ffc10b70:	90 0b 27 f0 	stw     r0,10224(r11)                          
ffc10b74:	4b ff ff 24 	b       ffc10a98 <_Scheduler_priority_Block+0x28>
                                                                      

ffc0b29c <_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 );
ffc0b29c:	3d 20 00 00 	lis     r9,0                                   
void _Scheduler_priority_Schedule(                                    
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Scheduler_priority_Schedule_body( the_scheduler );                 
}                                                                     
ffc0b2a0:	81 63 00 00 	lwz     r11,0(r3)                              
ffc0b2a4:	80 09 27 f0 	lwz     r0,10224(r9)                           
ffc0b2a8:	7c 07 00 34 	cntlzw  r7,r0                                  
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0b2ac:	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 );         
ffc0b2b0:	90 09 27 f0 	stw     r0,10224(r9)                           
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0b2b4:	39 08 31 20 	addi    r8,r8,12576                            
ffc0b2b8:	54 ea 10 3a 	rlwinm  r10,r7,2,0,29                          
ffc0b2bc:	7c c8 50 2e 	lwzx    r6,r8,r10                              
ffc0b2c0:	7c c0 33 78 	mr      r0,r6                                  
ffc0b2c4:	7c 06 00 34 	cntlzw  r6,r0                                  
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0b2c8:	54 e9 20 36 	rlwinm  r9,r7,4,0,27                           
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0b2cc:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0b2d0:	7d 29 32 14 	add     r9,r9,r6                               
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0b2d4:	1d 29 00 0c 	mulli   r9,r9,12                               
ffc0b2d8:	7d 4b 4a 14 	add     r10,r11,r9                             
ffc0b2dc:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0b2e0:	38 0a 00 04 	addi    r0,r10,4                               
ffc0b2e4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc0b2e8:	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 ] ) )                
ffc0b2ec:	41 9e 00 08 	beq-    cr7,ffc0b2f4 <_Scheduler_priority_Schedule+0x58><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
ffc0b2f0:	7d 20 4b 78 	mr      r0,r9                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(          
  Scheduler_Control     *the_scheduler                                
)                                                                     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0b2f4:	3d 20 00 00 	lis     r9,0                                   
ffc0b2f8:	90 09 31 14 	stw     r0,12564(r9)                           
ffc0b2fc:	4e 80 00 20 	blr                                            
                                                                      

ffc0b450 <_Scheduler_priority_Yield>: { ISR_Level level; Thread_Control *executing; Chain_Control *ready; executing = _Thread_Executing;
ffc0b450:	3d 40 00 00 	lis     r10,0                                  
ffc0b454:	39 4a 31 04 	addi    r10,r10,12548                          
ffc0b458:	81 2a 00 0c 	lwz     r9,12(r10)                             
  ready = executing->scheduler.priority->ready_chain;                 
ffc0b45c:	81 69 00 8c 	lwz     r11,140(r9)                            
ffc0b460:	81 6b 00 00 	lwz     r11,0(r11)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0b464:	7c 00 00 a6 	mfmsr   r0                                     
ffc0b468:	7d 10 42 a6 	mfsprg  r8,0                                   
ffc0b46c:	7c 08 40 78 	andc    r8,r0,r8                               
ffc0b470:	7d 00 01 24 	mtmsr   r8                                     
  _ISR_Disable( level );                                              
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
ffc0b474:	80 eb 00 00 	lwz     r7,0(r11)                              
ffc0b478:	81 0b 00 08 	lwz     r8,8(r11)                              
ffc0b47c:	7f 87 40 00 	cmpw    cr7,r7,r8                              
ffc0b480:	41 9e 00 60 	beq-    cr7,ffc0b4e0 <_Scheduler_priority_Yield+0x90>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0b484:	80 c9 00 00 	lwz     r6,0(r9)                               
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc0b488:	38 ab 00 04 	addi    r5,r11,4                               
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0b48c:	80 e9 00 04 	lwz     r7,4(r9)                               
  next->previous = previous;                                          
ffc0b490:	90 e6 00 04 	stw     r7,4(r6)                               
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc0b494:	81 0b 00 08 	lwz     r8,8(r11)                              
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc0b498:	90 c7 00 00 	stw     r6,0(r7)                               
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc0b49c:	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;                                              
ffc0b4a0:	90 a9 00 00 	stw     r5,0(r9)                               
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc0b4a4:	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;                                          
ffc0b4a8:	91 28 00 00 	stw     r9,0(r8)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0b4ac:	7d 00 00 a6 	mfmsr   r8                                     
ffc0b4b0:	7c 00 01 24 	mtmsr   r0                                     
ffc0b4b4:	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 ) )                             
ffc0b4b8:	81 0a 00 10 	lwz     r8,16(r10)                             
ffc0b4bc:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc0b4c0:	41 9e 00 14 	beq-    cr7,ffc0b4d4 <_Scheduler_priority_Yield+0x84><== ALWAYS TAKEN
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
      _Thread_Dispatch_necessary = true;                              
ffc0b4c4:	39 20 00 01 	li      r9,1                                   
ffc0b4c8:	99 2a 00 18 	stb     r9,24(r10)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b4cc:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc0b4d0:	4e 80 00 20 	blr                                            
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
ffc0b4d4:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc0b4d8:	91 2a 00 10 	stw     r9,16(r10)                             
ffc0b4dc:	4b ff ff e8 	b       ffc0b4c4 <_Scheduler_priority_Yield+0x74>
      _Thread_Dispatch_necessary = true;                              
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
ffc0b4e0:	81 6a 00 10 	lwz     r11,16(r10)                            
ffc0b4e4:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc0b4e8:	40 9e ff dc 	bne+    cr7,ffc0b4c4 <_Scheduler_priority_Yield+0x74>
ffc0b4ec:	4b ff ff e0 	b       ffc0b4cc <_Scheduler_priority_Yield+0x7c>
                                                                      

ffc0b554 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc0b554:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b558:	7c 08 02 a6 	mflr    r0                                     
ffc0b55c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0b560:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0b564:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0b568:	93 81 00 08 	stw     r28,8(r1)                              
ffc0b56c:	7c bc 2b 78 	mr      r28,r5                                 
ffc0b570:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0b574:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0b578:	7c 9e 23 78 	mr      r30,r4                                 
*/                                                                    
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc0b57c:	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 );                                
ffc0b580:	48 00 12 a1 	bl      ffc0c820 <_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 )                  
ffc0b584:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0b588:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc0b58c:	41 9e 00 10 	beq-    cr7,ffc0b59c <_Thread_Change_priority+0x48>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc0b590:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b594:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b598:	48 00 11 c1 	bl      ffc0c758 <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0b59c:	7f c0 00 a6 	mfmsr   r30                                    
ffc0b5a0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0b5a4:	7f c0 00 78 	andc    r0,r30,r0                              
ffc0b5a8:	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;                                  
ffc0b5ac:	80 1f 00 10 	lwz     r0,16(r31)                             
  if ( state != STATES_TRANSIENT ) {                                  
ffc0b5b0:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0b5b4:	41 9e 00 88 	beq-    cr7,ffc0b63c <_Thread_Change_priority+0xe8>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc0b5b8:	73 a9 00 04 	andi.   r9,r29,4                               
ffc0b5bc:	41 82 00 38 	beq-    ffc0b5f4 <_Thread_Change_priority+0xa0><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b5c0:	7f c0 01 24 	mtmsr   r30                                    <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
ffc0b5c4:	3d 20 00 03 	lis     r9,3                                   <== NOT EXECUTED
ffc0b5c8:	61 29 be e0 	ori     r9,r9,48864                            <== NOT EXECUTED
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0b5cc:	7c 0b 48 39 	and.    r11,r0,r9                              <== NOT EXECUTED
ffc0b5d0:	40 82 00 40 	bne-    ffc0b610 <_Thread_Change_priority+0xbc><== NOT EXECUTED
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0b5d4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b5d8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b5dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0b5e0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b5e4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b5e8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b5ec:	38 21 00 18 	addi    r1,r1,24                               
ffc0b5f0:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc0b5f4:	54 09 07 b8 	rlwinm  r9,r0,0,30,28                          
   */                                                                 
  state = the_thread->current_state;                                  
  if ( state != STATES_TRANSIENT ) {                                  
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0b5f8:	91 3f 00 10 	stw     r9,16(r31)                             
ffc0b5fc:	7f c0 01 24 	mtmsr   r30                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
ffc0b600:	3d 20 00 03 	lis     r9,3                                   
ffc0b604:	61 29 be e0 	ori     r9,r9,48864                            
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0b608:	7c 0b 48 39 	and.    r11,r0,r9                              
ffc0b60c:	41 82 ff c8 	beq+    ffc0b5d4 <_Thread_Change_priority+0x80>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0b610:	80 7f 00 44 	lwz     r3,68(r31)                             
ffc0b614:	7f e4 fb 78 	mr      r4,r31                                 
ffc0b618:	48 00 10 49 	bl      ffc0c660 <_Thread_queue_Requeue>       
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0b61c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b620:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b624:	7c 08 03 a6 	mtlr    r0                                     
ffc0b628:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b62c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b630:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b634:	38 21 00 18 	addi    r1,r1,24                               
ffc0b638:	4e 80 00 20 	blr                                            
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc0b63c:	73 bd 00 04 	andi.   r29,r29,4                              
ffc0b640:	40 82 00 58 	bne-    ffc0b698 <_Thread_Change_priority+0x144><== NEVER TAKEN
     *  FIXME: hard-coded for priority scheduling. Might be ok since this
     *  function is specific to priority scheduling?                  
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
                                                                      
    if ( prepend_it )                                                 
ffc0b644:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
     *  Ready Queue with interrupts off.                              
     *                                                                
     *  FIXME: hard-coded for priority scheduling. Might be ok since this
     *  function is specific to priority scheduling?                  
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0b648:	93 bf 00 10 	stw     r29,16(r31)                            
                                                                      
    if ( prepend_it )                                                 
ffc0b64c:	41 9e 00 bc 	beq-    cr7,ffc0b708 <_Thread_Change_priority+0x1b4>
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue_first(
  Thread_Control                   *the_thread                        
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
ffc0b650:	81 3f 00 8c 	lwz     r9,140(r31)                            
ffc0b654:	3d 40 00 00 	lis     r10,0                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
ffc0b658:	81 69 00 04 	lwz     r11,4(r9)                              
ffc0b65c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0b660:	81 0b 00 00 	lwz     r8,0(r11)                              
ffc0b664:	7d 00 03 78 	or      r0,r8,r0                               
ffc0b668:	90 0b 00 00 	stw     r0,0(r11)                              
                                                                      
  _Chain_Prepend_unprotected( the_thread->scheduler.priority->ready_chain,
ffc0b66c:	81 7f 00 8c 	lwz     r11,140(r31)                           
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
ffc0b670:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0b674:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc0b678:	81 0a 27 f0 	lwz     r8,10224(r10)                          
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0b67c:	81 69 00 00 	lwz     r11,0(r9)                              
ffc0b680:	7d 00 03 78 	or      r0,r8,r0                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0b684:	91 3f 00 04 	stw     r9,4(r31)                              
ffc0b688:	90 0a 27 f0 	stw     r0,10224(r10)                          
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0b68c:	93 eb 00 04 	stw     r31,4(r11)                             
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0b690:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->next        = before_node;                                
ffc0b694:	91 7f 00 00 	stw     r11,0(r31)                             
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0b698:	7c 00 00 a6 	mfmsr   r0                                     
ffc0b69c:	7f c0 01 24 	mtmsr   r30                                    
ffc0b6a0:	7c 00 01 24 	mtmsr   r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule(                        
    Scheduler_Control *the_scheduler                                  
)                                                                     
{                                                                     
  the_scheduler->Operations.schedule( the_scheduler );                
ffc0b6a4:	3c 60 00 00 	lis     r3,0                                   
ffc0b6a8:	38 63 2c e0 	addi    r3,r3,11488                            
ffc0b6ac:	80 03 00 04 	lwz     r0,4(r3)                               
ffc0b6b0:	7c 09 03 a6 	mtctr   r0                                     
ffc0b6b4:	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 );                       
ffc0b6b8:	3d 20 00 00 	lis     r9,0                                   
ffc0b6bc:	39 29 31 04 	addi    r9,r9,12548                            
ffc0b6c0:	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(&_Scheduler);                                   
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
ffc0b6c4:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0b6c8:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc0b6cc:	41 9e 00 18 	beq-    cr7,ffc0b6e4 <_Thread_Change_priority+0x190>
ffc0b6d0:	88 0b 00 74 	lbz     r0,116(r11)                            
ffc0b6d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b6d8:	41 9e 00 0c 	beq-    cr7,ffc0b6e4 <_Thread_Change_priority+0x190>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc0b6dc:	38 00 00 01 	li      r0,1                                   
ffc0b6e0:	98 09 00 18 	stb     r0,24(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0b6e4:	7f c0 01 24 	mtmsr   r30                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc0b6e8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b6ec:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0b6f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0b6f4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0b6f8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b6fc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b700:	38 21 00 18 	addi    r1,r1,24                               
ffc0b704:	4e 80 00 20 	blr                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_enqueue(    
  Thread_Control                  *the_thread                         
)                                                                     
{                                                                     
  _Priority_bit_map_Add( &the_thread->scheduler.priority->Priority_map );
ffc0b708:	81 3f 00 8c 	lwz     r9,140(r31)                            
ffc0b70c:	3d 40 00 00 	lis     r10,0                                  
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Add (                     
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor |= the_priority_map->ready_minor;          
ffc0b710:	81 69 00 04 	lwz     r11,4(r9)                              
ffc0b714:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0b718:	81 0b 00 00 	lwz     r8,0(r11)                              
ffc0b71c:	7d 00 03 78 	or      r0,r8,r0                               
ffc0b720:	90 0b 00 00 	stw     r0,0(r11)                              
                                                                      
  _Chain_Append_unprotected( the_thread->scheduler.priority->ready_chain,
ffc0b724:	81 7f 00 8c 	lwz     r11,140(r31)                           
  _Priority_Major_bit_map  |= the_priority_map->ready_major;          
ffc0b728:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0b72c:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc0b730:	81 0a 27 f0 	lwz     r8,10224(r10)                          
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc0b734:	81 69 00 08 	lwz     r11,8(r9)                              
ffc0b738:	7d 08 03 78 	or      r8,r8,r0                               
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc0b73c:	93 e9 00 08 	stw     r31,8(r9)                              
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc0b740:	38 09 00 04 	addi    r0,r9,4                                
ffc0b744:	91 0a 27 f0 	stw     r8,10224(r10)                          
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc0b748:	91 7f 00 04 	stw     r11,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc0b74c:	90 1f 00 00 	stw     r0,0(r31)                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc0b750:	93 eb 00 00 	stw     r31,0(r11)                             
ffc0b754:	4b ff ff 44 	b       ffc0b698 <_Thread_Change_priority+0x144>
                                                                      

ffc0b7e0 <_Thread_Close>: void _Thread_Close( Objects_Information *information, Thread_Control *the_thread ) {
ffc0b7e0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b7e4:	7c 08 02 a6 	mflr    r0                                     
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0b7e8:	39 60 00 00 	li      r11,0                                  
ffc0b7ec:	90 01 00 1c 	stw     r0,28(r1)                              
RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id(                     
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0b7f0:	a0 04 00 0a 	lhz     r0,10(r4)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0b7f4:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc0b7f8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0b7fc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0b800:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0b804:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0b808:	7c 9f 23 78 	mr      r31,r4                                 
ffc0b80c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0b810:	7d 69 01 2e 	stwx    r11,r9,r0                              
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0b814:	3f a0 00 00 	lis     r29,0                                  
ffc0b818:	81 3d 27 a8 	lwz     r9,10152(r29)                          
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
ffc0b81c:	7c 83 23 78 	mr      r3,r4                                  
ffc0b820:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0b824:	90 1d 27 a8 	stw     r0,10152(r29)                          
ffc0b828:	48 00 17 a5 	bl      ffc0cfcc <_User_extensions_Thread_delete>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0b82c:	81 3d 27 a8 	lwz     r9,10152(r29)                          
ffc0b830:	38 09 00 01 	addi    r0,r9,1                                
ffc0b834:	90 1d 27 a8 	stw     r0,10152(r29)                          
  /*                                                                  
   *  Now we are in a dispatching critical section again and we       
   *  can take the thread OUT of the published set.  It is invalid    
   *  to use this thread's Id OR name after this call.                
   */                                                                 
  _Objects_Close( information, &the_thread->Object );                 
ffc0b838:	7f e4 fb 78 	mr      r4,r31                                 
ffc0b83c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b840:	4b ff ef 79 	bl      ffc0a7b8 <_Objects_Close>              
                                                                      
  /*                                                                  
   *  By setting the dormant state, the thread will not be considered 
   *  for scheduling when we remove any blocking states.              
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
ffc0b844:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b848:	38 80 00 01 	li      r4,1                                   
ffc0b84c:	48 00 0f 4d 	bl      ffc0c798 <_Thread_Set_state>           
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
ffc0b850:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b854:	48 00 0d 11 	bl      ffc0c564 <_Thread_queue_Extract_with_proxy>
ffc0b858:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b85c:	40 9e 00 10 	bne-    cr7,ffc0b86c <_Thread_Close+0x8c>      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
ffc0b860:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0b864:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0b868:	41 9e 00 78 	beq-    cr7,ffc0b8e0 <_Thread_Close+0x100>     
RTEMS_INLINE_ROUTINE void _Scheduler_Thread_scheduler_free(           
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return the_scheduler->Operations.scheduler_free( the_scheduler, the_thread );
ffc0b86c:	3c 60 00 00 	lis     r3,0                                   
ffc0b870:	38 63 2c e0 	addi    r3,r3,11488                            
ffc0b874:	80 03 00 18 	lwz     r0,24(r3)                              
ffc0b878:	7f e4 fb 78 	mr      r4,r31                                 
ffc0b87c:	7c 09 03 a6 	mtctr   r0                                     
ffc0b880:	4e 80 04 21 	bctrl                                          
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
                                                                      
  if ( the_thread->Start.fp_context )                                 
ffc0b884:	80 7f 00 c0 	lwz     r3,192(r31)                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
ffc0b888:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( the_thread->Start.fp_context )                                 
ffc0b88c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
ffc0b890:	90 1f 01 28 	stw     r0,296(r31)                            
                                                                      
  if ( the_thread->Start.fp_context )                                 
ffc0b894:	41 9e 00 08 	beq-    cr7,ffc0b89c <_Thread_Close+0xbc>      <== NEVER TAKEN
    (void) _Workspace_Free( the_thread->Start.fp_context );           
ffc0b898:	48 00 1c fd 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
ffc0b89c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b8a0:	48 00 10 c5 	bl      ffc0c964 <_Thread_Stack_Free>          
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
ffc0b8a4:	80 7f 01 38 	lwz     r3,312(r31)                            
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
ffc0b8a8:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( the_thread->extensions )                                       
ffc0b8ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
ffc0b8b0:	90 1f 00 c4 	stw     r0,196(r31)                            
                                                                      
  if ( the_thread->extensions )                                       
ffc0b8b4:	41 9e 00 08 	beq-    cr7,ffc0b8bc <_Thread_Close+0xdc>      
    (void) _Workspace_Free( the_thread->extensions );                 
ffc0b8b8:	48 00 1c dd 	bl      ffc0d594 <_Workspace_Free>             
  the_thread->extensions = NULL;                                      
ffc0b8bc:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0b8c0:	83 a1 00 0c 	lwz     r29,12(r1)                             
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
                                                                      
  if ( the_thread->extensions )                                       
    (void) _Workspace_Free( the_thread->extensions );                 
  the_thread->extensions = NULL;                                      
ffc0b8c4:	90 1f 01 38 	stw     r0,312(r31)                            
}                                                                     
ffc0b8c8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b8cc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0b8d0:	7c 08 03 a6 	mtlr    r0                                     
ffc0b8d4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0b8d8:	38 21 00 18 	addi    r1,r1,24                               
ffc0b8dc:	4e 80 00 20 	blr                                            
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
ffc0b8e0:	38 7f 00 48 	addi    r3,r31,72                              
ffc0b8e4:	48 00 1a 41 	bl      ffc0d324 <_Watchdog_Remove>            
ffc0b8e8:	4b ff ff 84 	b       ffc0b86c <_Thread_Close+0x8c>          
                                                                      

ffc0b9e8 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0b9e8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b9ec:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b9f0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0b9f4:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b9f8:	48 00 02 4d 	bl      ffc0bc44 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0b9fc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ba00:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ba04:	40 9e 00 20 	bne-    cr7,ffc0ba24 <_Thread_Delay_ended+0x3c><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc0ba08:	3c 80 10 00 	lis     r4,4096                                
ffc0ba0c:	60 84 00 18 	ori     r4,r4,24                               
ffc0ba10:	4b ff fd 49 	bl      ffc0b758 <_Thread_Clear_state>         
ffc0ba14:	3d 20 00 00 	lis     r9,0                                   
ffc0ba18:	81 69 27 a8 	lwz     r11,10152(r9)                          
ffc0ba1c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0ba20:	90 09 27 a8 	stw     r0,10152(r9)                           
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0ba24:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ba28:	38 21 00 18 	addi    r1,r1,24                               
ffc0ba2c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ba30:	4e 80 00 20 	blr                                            
                                                                      

ffc0ba34 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
ffc0ba34:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0ba38:	7c 08 02 a6 	mflr    r0                                     
ffc0ba3c:	93 a1 00 3c 	stw     r29,60(r1)                             
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc0ba40:	3f a0 00 00 	lis     r29,0                                  
ffc0ba44:	3b bd 31 04 	addi    r29,r29,12548                          
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
ffc0ba48:	93 e1 00 44 	stw     r31,68(r1)                             
ffc0ba4c:	90 01 00 4c 	stw     r0,76(r1)                              
ffc0ba50:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc0ba54:	92 c1 00 20 	stw     r22,32(r1)                             
ffc0ba58:	92 e1 00 24 	stw     r23,36(r1)                             
ffc0ba5c:	93 01 00 28 	stw     r24,40(r1)                             
ffc0ba60:	93 21 00 2c 	stw     r25,44(r1)                             
ffc0ba64:	93 41 00 30 	stw     r26,48(r1)                             
ffc0ba68:	93 61 00 34 	stw     r27,52(r1)                             
ffc0ba6c:	93 81 00 38 	stw     r28,56(r1)                             
ffc0ba70:	93 c1 00 40 	stw     r30,64(r1)                             
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc0ba74:	83 fd 00 0c 	lwz     r31,12(r29)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0ba78:	7d 20 00 a6 	mfmsr   r9                                     
ffc0ba7c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0ba80:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0ba84:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0ba88:	88 1d 00 18 	lbz     r0,24(r29)                             
ffc0ba8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ba90:	41 9e 01 88 	beq-    cr7,ffc0bc18 <_Thread_Dispatch+0x1e4>  
    heir = _Thread_Heir;                                              
ffc0ba94:	83 dd 00 10 	lwz     r30,16(r29)                            
    _Thread_Dispatch_disable_level = 1;                               
ffc0ba98:	38 00 00 01 	li      r0,1                                   
ffc0ba9c:	3f 20 00 00 	lis     r25,0                                  
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
ffc0baa0:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
ffc0baa4:	90 19 27 a8 	stw     r0,10152(r25)                          
    _Thread_Dispatch_necessary = false;                               
ffc0baa8:	39 60 00 00 	li      r11,0                                  
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
ffc0baac:	7d 20 4b 78 	mr      r0,r9                                  
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
ffc0bab0:	99 7d 00 18 	stb     r11,24(r29)                            
    _Thread_Executing = heir;                                         
ffc0bab4:	93 dd 00 0c 	stw     r30,12(r29)                            
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
ffc0bab8:	41 9e 01 14 	beq-    cr7,ffc0bbcc <_Thread_Dispatch+0x198>  
ffc0babc:	3f 60 00 00 	lis     r27,0                                  
ffc0bac0:	3f 00 00 00 	lis     r24,0                                  
ffc0bac4:	3b 41 00 08 	addi    r26,r1,8                               
ffc0bac8:	3b 7b 27 d8 	addi    r27,r27,10200                          
ffc0bacc:	3b 81 00 10 	addi    r28,r1,16                              
ffc0bad0:	3b 18 27 bc 	addi    r24,r24,10172                          
#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;            
ffc0bad4:	3e a0 00 00 	lis     r21,0                                  
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
ffc0bad8:	3a c0 00 01 	li      r22,1                                  
    _Thread_Dispatch_necessary = false;                               
ffc0badc:	3a e0 00 00 	li      r23,0                                  
ffc0bae0:	48 00 00 d0 	b       ffc0bbb0 <_Thread_Dispatch+0x17c>      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0bae4:	7d 20 01 24 	mtmsr   r9                                     
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc0bae8:	7f 43 d3 78 	mr      r3,r26                                 
ffc0baec:	48 00 4b 19 	bl      ffc10604 <_TOD_Get_uptime>             
        _Timestamp_Subtract(                                          
ffc0baf0:	7f 63 db 78 	mr      r3,r27                                 
ffc0baf4:	7f 44 d3 78 	mr      r4,r26                                 
ffc0baf8:	7f 85 e3 78 	mr      r5,r28                                 
ffc0bafc:	48 00 11 3d 	bl      ffc0cc38 <_Timespec_Subtract>          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
ffc0bb00:	38 7f 00 84 	addi    r3,r31,132                             
ffc0bb04:	7f 84 e3 78 	mr      r4,r28                                 
ffc0bb08:	48 00 10 d5 	bl      ffc0cbdc <_Timespec_Add_to>            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0bb0c:	81 78 00 00 	lwz     r11,0(r24)                             
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0bb10:	81 21 00 08 	lwz     r9,8(r1)                               
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0bb14:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0bb18:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc0bb1c:	91 3b 00 00 	stw     r9,0(r27)                              
ffc0bb20:	91 5b 00 04 	stw     r10,4(r27)                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0bb24:	41 9e 00 14 	beq-    cr7,ffc0bb38 <_Thread_Dispatch+0x104>  <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0bb28:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc0bb2c:	90 1f 01 2c 	stw     r0,300(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0bb30:	80 1e 01 2c 	lwz     r0,300(r30)                            
ffc0bb34:	90 0b 00 00 	stw     r0,0(r11)                              
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0bb38:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bb3c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0bb40:	48 00 15 99 	bl      ffc0d0d8 <_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 )                              
ffc0bb44:	80 1f 01 28 	lwz     r0,296(r31)                            
ffc0bb48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bb4c:	41 9e 00 0c 	beq-    cr7,ffc0bb58 <_Thread_Dispatch+0x124>  
      _Context_Save_fp( &executing->fp_context );                     
ffc0bb50:	38 7f 01 28 	addi    r3,r31,296                             
ffc0bb54:	48 00 c9 0d 	bl      ffc18460 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0bb58:	38 7f 00 c8 	addi    r3,r31,200                             
ffc0bb5c:	38 9e 00 c8 	addi    r4,r30,200                             
ffc0bb60:	48 00 ca 81 	bl      ffc185e0 <_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 )                              
ffc0bb64:	80 1f 01 28 	lwz     r0,296(r31)                            
ffc0bb68:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bb6c:	41 9e 00 0c 	beq-    cr7,ffc0bb78 <_Thread_Dispatch+0x144>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0bb70:	38 7f 01 28 	addi    r3,r31,296                             
ffc0bb74:	48 00 c9 ad 	bl      ffc18520 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0bb78:	83 fd 00 0c 	lwz     r31,12(r29)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0bb7c:	7d 20 00 a6 	mfmsr   r9                                     
ffc0bb80:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0bb84:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0bb88:	7c 00 01 24 	mtmsr   r0                                     
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0bb8c:	88 1d 00 18 	lbz     r0,24(r29)                             
ffc0bb90:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bb94:	41 9e 00 34 	beq-    cr7,ffc0bbc8 <_Thread_Dispatch+0x194>  
    heir = _Thread_Heir;                                              
ffc0bb98:	83 dd 00 10 	lwz     r30,16(r29)                            
    _Thread_Dispatch_disable_level = 1;                               
ffc0bb9c:	92 d9 27 a8 	stw     r22,10152(r25)                         
    /*                                                                
     *  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 )                                          
ffc0bba0:	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;                               
ffc0bba4:	9a fd 00 18 	stb     r23,24(r29)                            
    _Thread_Executing = heir;                                         
ffc0bba8:	93 dd 00 0c 	stw     r30,12(r29)                            
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
ffc0bbac:	41 9e 00 1c 	beq-    cr7,ffc0bbc8 <_Thread_Dispatch+0x194>  <== NEVER TAKEN
     */                                                               
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
ffc0bbb0:	80 1e 00 7c 	lwz     r0,124(r30)                            
ffc0bbb4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0bbb8:	40 9e ff 2c 	bne+    cr7,ffc0bae4 <_Thread_Dispatch+0xb0>   
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0bbbc:	80 15 27 a4 	lwz     r0,10148(r21)                          
ffc0bbc0:	90 1e 00 78 	stw     r0,120(r30)                            
ffc0bbc4:	4b ff ff 20 	b       ffc0bae4 <_Thread_Dispatch+0xb0>       
ffc0bbc8:	7d 20 4b 78 	mr      r0,r9                                  
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
ffc0bbcc:	39 20 00 00 	li      r9,0                                   
ffc0bbd0:	91 39 27 a8 	stw     r9,10152(r25)                          
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0bbd4:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _API_extensions_Run_postswitch();                                   
ffc0bbd8:	4b ff dd 4d 	bl      ffc09924 <_API_extensions_Run_postswitch>
}                                                                     
ffc0bbdc:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc0bbe0:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc0bbe4:	7c 08 03 a6 	mtlr    r0                                     
ffc0bbe8:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc0bbec:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc0bbf0:	83 01 00 28 	lwz     r24,40(r1)                             
ffc0bbf4:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc0bbf8:	83 41 00 30 	lwz     r26,48(r1)                             
ffc0bbfc:	83 61 00 34 	lwz     r27,52(r1)                             
ffc0bc00:	83 81 00 38 	lwz     r28,56(r1)                             
ffc0bc04:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc0bc08:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc0bc0c:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc0bc10:	38 21 00 48 	addi    r1,r1,72                               
ffc0bc14:	4e 80 00 20 	blr                                            
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
ffc0bc18:	7d 20 4b 78 	mr      r0,r9                                  
ffc0bc1c:	3f 20 00 00 	lis     r25,0                                  
ffc0bc20:	4b ff ff ac 	b       ffc0bbcc <_Thread_Dispatch+0x198>      
                                                                      

ffc131c0 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
ffc131c0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc131c4:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc131c8:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc131cc:	90 01 00 14 	stw     r0,20(r1)                              
ffc131d0:	93 e1 00 0c 	stw     r31,12(r1)                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc131d4:	83 e9 31 10 	lwz     r31,12560(r9)                          
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc131d8:	93 c1 00 08 	stw     r30,8(r1)                              
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
ffc131dc:	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);                                                  
ffc131e0:	38 00 00 00 	li      r0,0                                   
ffc131e4:	7c 00 00 a6 	mfmsr   r0                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc131e8:	71 2b 00 01 	andi.   r11,r9,1                               
ffc131ec:	40 82 00 60 	bne-    ffc1324c <_Thread_Handler+0x8c>        
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc131f0:	7d 30 42 a6 	mfsprg  r9,0                                   
    msr |= ppc_interrupt_get_disable_mask();                          
ffc131f4:	7d 20 03 78 	or      r0,r9,r0                               
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc131f8:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
ffc131fc:	3d 20 00 00 	lis     r9,0                                   
ffc13200:	8b c9 29 98 	lbz     r30,10648(r9)                          
    doneConstructors = 1;                                             
ffc13204:	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 );                         
ffc13208:	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;                                             
ffc1320c:	98 09 29 98 	stb     r0,10648(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 );                         
ffc13210:	4b ff 9b 8d 	bl      ffc0cd9c <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc13214:	4b ff 8a 11 	bl      ffc0bc24 <_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) */ {                 
ffc13218:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1321c:	41 9e 00 60 	beq-    cr7,ffc1327c <_Thread_Handler+0xbc>    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc13220:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc13224:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc13228:	41 9e 00 64 	beq-    cr7,ffc1328c <_Thread_Handler+0xcc>    
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
ffc1322c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc13230:	41 9e 00 74 	beq-    cr7,ffc132a4 <_Thread_Handler+0xe4>    <== ALWAYS TAKEN
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
ffc13234:	7f e3 fb 78 	mr      r3,r31                                 
ffc13238:	4b ff 9b d9 	bl      ffc0ce10 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
ffc1323c:	38 60 00 00 	li      r3,0                                   
ffc13240:	38 80 00 01 	li      r4,1                                   
ffc13244:	38 a0 00 05 	li      r5,5                                   
ffc13248:	4b ff 74 51 	bl      ffc0a698 <_Internal_error_Occurred>    
ffc1324c:	7d 30 42 a6 	mfsprg  r9,0                                   
  _CPU_MSR_GET(msr);                                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
    msr |= ppc_interrupt_get_disable_mask();                          
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc13250:	7c 00 48 78 	andc    r0,r0,r9                               
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc13254:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
ffc13258:	3d 20 00 00 	lis     r9,0                                   
ffc1325c:	8b c9 29 98 	lbz     r30,10648(r9)                          
    doneConstructors = 1;                                             
ffc13260:	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 );                         
ffc13264:	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;                                             
ffc13268:	98 09 29 98 	stb     r0,10648(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 );                         
ffc1326c:	4b ff 9b 31 	bl      ffc0cd9c <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc13270:	4b ff 89 b5 	bl      ffc0bc24 <_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) */ {                 
ffc13274:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc13278:	40 9e ff a8 	bne+    cr7,ffc13220 <_Thread_Handler+0x60>    <== ALWAYS TAKEN
      INIT_NAME ();                                                   
ffc1327c:	48 00 62 a1 	bl      ffc1951c <_init>                       
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc13280:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc13284:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc13288:	40 9e ff a4 	bne+    cr7,ffc1322c <_Thread_Handler+0x6c>    
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc1328c:	80 1f 00 90 	lwz     r0,144(r31)                            
ffc13290:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc13294:	7c 09 03 a6 	mtctr   r0                                     
ffc13298:	4e 80 04 21 	bctrl                                          
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc1329c:	90 7f 00 28 	stw     r3,40(r31)                             
ffc132a0:	4b ff ff 94 	b       ffc13234 <_Thread_Handler+0x74>        
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
ffc132a4:	80 1f 00 90 	lwz     r0,144(r31)                            
ffc132a8:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc132ac:	7c 09 03 a6 	mtctr   r0                                     
ffc132b0:	4e 80 04 21 	bctrl                                          
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
ffc132b4:	90 7f 00 28 	stw     r3,40(r31)                             
ffc132b8:	4b ff ff 7c 	b       ffc13234 <_Thread_Handler+0x74>        
                                                                      

ffc0bcfc <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0bcfc:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0bd00:	7d 80 00 26 	mfcr    r12                                    
ffc0bd04:	7c 08 02 a6 	mflr    r0                                     
ffc0bd08:	93 c1 00 30 	stw     r30,48(r1)                             
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
ffc0bd0c:	7c be 2b 79 	mr.     r30,r5                                 
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0bd10:	90 01 00 3c 	stw     r0,60(r1)                              
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0bd14:	38 00 00 00 	li      r0,0                                   
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0bd18:	93 61 00 24 	stw     r27,36(r1)                             
ffc0bd1c:	7d 3b 4b 78 	mr      r27,r9                                 
ffc0bd20:	81 21 00 48 	lwz     r9,72(r1)                              
ffc0bd24:	93 01 00 18 	stw     r24,24(r1)                             
ffc0bd28:	93 41 00 20 	stw     r26,32(r1)                             
ffc0bd2c:	7d 5a 53 78 	mr      r26,r10                                
ffc0bd30:	93 81 00 28 	stw     r28,40(r1)                             
ffc0bd34:	7d 1c 43 78 	mr      r28,r8                                 
ffc0bd38:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0bd3c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0bd40:	93 e1 00 34 	stw     r31,52(r1)                             
ffc0bd44:	7c 9f 23 78 	mr      r31,r4                                 
ffc0bd48:	92 e1 00 14 	stw     r23,20(r1)                             
ffc0bd4c:	93 21 00 1c 	stw     r25,28(r1)                             
ffc0bd50:	91 81 00 10 	stw     r12,16(r1)                             
ffc0bd54:	83 09 00 00 	lwz     r24,0(r9)                              
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0bd58:	90 04 01 30 	stw     r0,304(r4)                             
ffc0bd5c:	90 04 01 34 	stw     r0,308(r4)                             
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
ffc0bd60:	90 04 01 2c 	stw     r0,300(r4)                             
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
ffc0bd64:	41 82 02 34 	beq-    ffc0bf98 <_Thread_Initialize+0x29c>    
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
ffc0bd68:	98 04 00 b4 	stb     r0,180(r4)                             
ffc0bd6c:	7c c0 33 78 	mr      r0,r6                                  
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0bd70:	2f 87 00 00 	cmpwi   cr7,r7,0                               
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0bd74:	93 df 00 bc 	stw     r30,188(r31)                           
ffc0bd78:	39 20 00 00 	li      r9,0                                   
  the_stack->size = size;                                             
ffc0bd7c:	90 1f 00 b8 	stw     r0,184(r31)                            
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
ffc0bd80:	3b 20 00 00 	li      r25,0                                  
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0bd84:	40 9e 01 88 	bne-    cr7,ffc0bf0c <_Thread_Initialize+0x210>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bd88:	3e e0 00 00 	lis     r23,0                                  
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
ffc0bd8c:	91 3f 01 28 	stw     r9,296(r31)                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0bd90:	38 00 00 00 	li      r0,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bd94:	81 77 27 c8 	lwz     r11,10184(r23)                         
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
    the_thread->Start.fp_context = fp_area;                           
ffc0bd98:	91 3f 00 c0 	stw     r9,192(r31)                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bd9c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0bda0:	90 1f 00 50 	stw     r0,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0bda4:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0bda8:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0bdac:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc0bdb0:	40 9e 01 a0 	bne-    cr7,ffc0bf50 <_Thread_Initialize+0x254>
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0bdb4:	91 7f 01 38 	stw     r11,312(r31)                           
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0bdb8:	3b c0 00 00 	li      r30,0                                  
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
ffc0bdbc:	2f 9a 00 02 	cmpwi   cr7,r26,2                              
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0bdc0:	80 01 00 40 	lwz     r0,64(r1)                              
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0bdc4:	9b 7f 00 a0 	stb     r27,160(r31)                           
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0bdc8:	93 5f 00 a4 	stw     r26,164(r31)                           
  the_thread->Start.budget_callout   = budget_callout;                
ffc0bdcc:	90 1f 00 a8 	stw     r0,168(r31)                            
                                                                      
  switch ( budget_algorithm ) {                                       
ffc0bdd0:	40 be 00 10 	bne+    cr7,ffc0bde0 <_Thread_Initialize+0xe4> 
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
ffc0bdd4:	3d 20 00 00 	lis     r9,0                                   
ffc0bdd8:	80 09 27 a4 	lwz     r0,10148(r9)                           
ffc0bddc:	90 1f 00 78 	stw     r0,120(r31)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0bde0:	80 01 00 44 	lwz     r0,68(r1)                              
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
    the_scheduler->Operations.scheduler_allocate( the_scheduler, the_thread );
ffc0bde4:	3d 20 00 00 	lis     r9,0                                   
ffc0bde8:	39 29 2c e0 	addi    r9,r9,11488                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
  the_thread->real_priority           = priority;                     
ffc0bdec:	93 9f 00 18 	stw     r28,24(r31)                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
ffc0bdf0:	3b 60 00 00 	li      r27,0                                  
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0bdf4:	90 1f 00 ac 	stw     r0,172(r31)                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0bdf8:	38 00 00 01 	li      r0,1                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Thread_scheduler_allocate(      
  Scheduler_Control *the_scheduler,                                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return                                                              
ffc0bdfc:	7d 23 4b 78 	mr      r3,r9                                  
ffc0be00:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0be04:	7f e4 fb 78 	mr      r4,r31                                 
ffc0be08:	80 09 00 14 	lwz     r0,20(r9)                              
  the_thread->Wait.queue              = NULL;                         
ffc0be0c:	93 7f 00 44 	stw     r27,68(r31)                            
ffc0be10:	7c 09 03 a6 	mtctr   r0                                     
  the_thread->resource_count          = 0;                            
ffc0be14:	93 7f 00 1c 	stw     r27,28(r31)                            
  the_thread->real_priority           = priority;                     
  the_thread->Start.initial_priority  = priority;                     
ffc0be18:	93 9f 00 b0 	stw     r28,176(r31)                           
ffc0be1c:	4e 80 04 21 	bctrl                                          
  sched =_Scheduler_Thread_scheduler_allocate( &_Scheduler, the_thread );
  if ( !sched )                                                       
ffc0be20:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc0be24:	7c 7a 1b 78 	mr      r26,r3                                 
ffc0be28:	41 92 00 40 	beq-    cr4,ffc0be68 <_Thread_Initialize+0x16c>
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
ffc0be2c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0be30:	7f 84 e3 78 	mr      r4,r28                                 
ffc0be34:	48 00 09 25 	bl      ffc0c758 <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0be38:	a0 1f 00 0a 	lhz     r0,10(r31)                             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
                                                                      
                                                                      
}                                                                     
ffc0be3c:	81 3d 00 1c 	lwz     r9,28(r29)                             
   *  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 );    
ffc0be40:	7f e3 fb 78 	mr      r3,r31                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0be44:	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 );             
ffc0be48:	93 7f 00 84 	stw     r27,132(r31)                           
ffc0be4c:	93 7f 00 88 	stw     r27,136(r31)                           
ffc0be50:	7f e9 01 2e 	stwx    r31,r9,r0                              
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0be54:	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 );    
ffc0be58:	48 00 10 b9 	bl      ffc0cf10 <_User_extensions_Thread_create>
  if ( extension_status )                                             
ffc0be5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return true;                                                      
ffc0be60:	38 60 00 01 	li      r3,1                                   
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
ffc0be64:	40 9e 00 6c 	bne-    cr7,ffc0bed0 <_Thread_Initialize+0x1d4>
ffc0be68:	2d 99 00 00 	cmpwi   cr3,r25,0                              
ffc0be6c:	2d 1e 00 00 	cmpwi   cr2,r30,0                              
    return true;                                                      
                                                                      
failed:                                                               
  if ( the_thread->libc_reent )                                       
ffc0be70:	80 7f 01 2c 	lwz     r3,300(r31)                            
ffc0be74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0be78:	41 9e 00 08 	beq-    cr7,ffc0be80 <_Thread_Initialize+0x184>
    _Workspace_Free( the_thread->libc_reent );                        
ffc0be7c:	48 00 17 19 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
ffc0be80:	80 7f 01 30 	lwz     r3,304(r31)                            
ffc0be84:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0be88:	41 9e 00 08 	beq-    cr7,ffc0be90 <_Thread_Initialize+0x194>
      _Workspace_Free( the_thread->API_Extensions[i] );               
ffc0be8c:	48 00 17 09 	bl      ffc0d594 <_Workspace_Free>             
failed:                                                               
  if ( the_thread->libc_reent )                                       
    _Workspace_Free( the_thread->libc_reent );                        
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    if ( the_thread->API_Extensions[i] )                              
ffc0be90:	80 7f 01 34 	lwz     r3,308(r31)                            
ffc0be94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0be98:	41 9e 00 08 	beq-    cr7,ffc0bea0 <_Thread_Initialize+0x1a4>
      _Workspace_Free( the_thread->API_Extensions[i] );               
ffc0be9c:	48 00 16 f9 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
  if ( extensions_area )                                              
ffc0bea0:	41 8a 00 0c 	beq-    cr2,ffc0beac <_Thread_Initialize+0x1b0>
    (void) _Workspace_Free( extensions_area );                        
ffc0bea4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0bea8:	48 00 16 ed 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( fp_area )                                                    
ffc0beac:	41 8e 00 0c 	beq-    cr3,ffc0beb8 <_Thread_Initialize+0x1bc>
      (void) _Workspace_Free( fp_area );                              
ffc0beb0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0beb4:	48 00 16 e1 	bl      ffc0d594 <_Workspace_Free>             
  #endif                                                              
                                                                      
  if ( sched )                                                        
ffc0beb8:	41 92 00 0c 	beq-    cr4,ffc0bec4 <_Thread_Initialize+0x1c8>
    (void) _Workspace_Free( sched );                                  
ffc0bebc:	7f 43 d3 78 	mr      r3,r26                                 
ffc0bec0:	48 00 16 d5 	bl      ffc0d594 <_Workspace_Free>             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0bec4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bec8:	48 00 0a 9d 	bl      ffc0c964 <_Thread_Stack_Free>          
  return false;                                                       
ffc0becc:	38 60 00 00 	li      r3,0                                   
                                                                      
                                                                      
}                                                                     
ffc0bed0:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc0bed4:	81 81 00 10 	lwz     r12,16(r1)                             
ffc0bed8:	7c 08 03 a6 	mtlr    r0                                     
ffc0bedc:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc0bee0:	83 01 00 18 	lwz     r24,24(r1)                             
ffc0bee4:	7d 83 81 20 	mtcrf   56,r12                                 
ffc0bee8:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc0beec:	83 41 00 20 	lwz     r26,32(r1)                             
ffc0bef0:	83 61 00 24 	lwz     r27,36(r1)                             
ffc0bef4:	83 81 00 28 	lwz     r28,40(r1)                             
ffc0bef8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc0befc:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc0bf00:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc0bf04:	38 21 00 38 	addi    r1,r1,56                               
ffc0bf08:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
ffc0bf0c:	38 60 01 08 	li      r3,264                                 
ffc0bf10:	48 00 16 51 	bl      ffc0d560 <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0bf14:	2d 83 00 00 	cmpwi   cr3,r3,0                               
ffc0bf18:	7c 79 1b 78 	mr      r25,r3                                 
ffc0bf1c:	41 8e 00 c0 	beq-    cr3,ffc0bfdc <_Thread_Initialize+0x2e0>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bf20:	3e e0 00 00 	lis     r23,0                                  
ffc0bf24:	81 77 27 c8 	lwz     r11,10184(r23)                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0bf28:	38 00 00 00 	li      r0,0                                   
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
ffc0bf2c:	7c 69 1b 78 	mr      r9,r3                                  
ffc0bf30:	90 1f 00 50 	stw     r0,80(r31)                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bf34:	2f 8b 00 00 	cmpwi   cr7,r11,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;                           
ffc0bf38:	91 3f 01 28 	stw     r9,296(r31)                            
    the_thread->Start.fp_context = fp_area;                           
ffc0bf3c:	91 3f 00 c0 	stw     r9,192(r31)                            
  the_watchdog->routine   = routine;                                  
ffc0bf40:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0bf44:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0bf48:	90 1f 00 6c 	stw     r0,108(r31)                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0bf4c:	41 9e fe 68 	beq+    cr7,ffc0bdb4 <_Thread_Initialize+0xb8> 
    extensions_area = _Workspace_Allocate(                            
ffc0bf50:	39 6b 00 01 	addi    r11,r11,1                              
ffc0bf54:	55 63 10 3a 	rlwinm  r3,r11,2,0,29                          
ffc0bf58:	48 00 16 09 	bl      ffc0d560 <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0bf5c:	2d 03 00 00 	cmpwi   cr2,r3,0                               
ffc0bf60:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0bf64:	41 8a 00 8c 	beq-    cr2,ffc0bff0 <_Thread_Initialize+0x2f4>
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0bf68:	90 7f 01 38 	stw     r3,312(r31)                            
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0bf6c:	38 00 00 00 	li      r0,0                                   
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0bf70:	39 20 00 00 	li      r9,0                                   
ffc0bf74:	81 57 27 c8 	lwz     r10,10184(r23)                         
   * 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;                               
ffc0bf78:	39 60 00 00 	li      r11,0                                  
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0bf7c:	39 29 00 01 	addi    r9,r9,1                                
ffc0bf80:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
      the_thread->extensions[i] = NULL;                               
ffc0bf84:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0bf88:	7d 7e 01 2e 	stwx    r11,r30,r0                             
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0bf8c:	7d 20 4b 78 	mr      r0,r9                                  
ffc0bf90:	40 9c ff ec 	bge+    cr7,ffc0bf7c <_Thread_Initialize+0x280>
ffc0bf94:	4b ff fe 28 	b       ffc0bdbc <_Thread_Initialize+0xc0>     
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0bf98:	7c 83 23 78 	mr      r3,r4                                  
ffc0bf9c:	90 c1 00 08 	stw     r6,8(r1)                               
ffc0bfa0:	7c c4 33 78 	mr      r4,r6                                  
ffc0bfa4:	90 e1 00 0c 	stw     r7,12(r1)                              
ffc0bfa8:	48 00 09 15 	bl      ffc0c8bc <_Thread_Stack_Allocate>      
      if ( !actual_stack_size || actual_stack_size < stack_size )     
ffc0bfac:	7c 60 1b 79 	mr.     r0,r3                                  
ffc0bfb0:	80 c1 00 08 	lwz     r6,8(r1)                               
        return false;                     /* stack allocation failed */
ffc0bfb4:	38 60 00 00 	li      r3,0                                   
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
ffc0bfb8:	80 e1 00 0c 	lwz     r7,12(r1)                              
ffc0bfbc:	41 a2 ff 14 	beq-    ffc0bed0 <_Thread_Initialize+0x1d4>    
ffc0bfc0:	7f 86 00 40 	cmplw   cr7,r6,r0                              
        return false;                     /* stack allocation failed */
ffc0bfc4:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
ffc0bfc8:	41 bd ff 08 	bgt-    cr7,ffc0bed0 <_Thread_Initialize+0x1d4><== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
ffc0bfcc:	39 20 00 01 	li      r9,1                                   
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
ffc0bfd0:	83 df 00 c4 	lwz     r30,196(r31)                           
      the_thread->Start.core_allocated_stack = true;                  
ffc0bfd4:	99 3f 00 b4 	stb     r9,180(r31)                            
ffc0bfd8:	4b ff fd 98 	b       ffc0bd70 <_Thread_Initialize+0x74>     
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0bfdc:	3b c0 00 00 	li      r30,0                                  
ffc0bfe0:	4d 0c 00 00 	mcrf    cr2,cr3                                
  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;                                  
ffc0bfe4:	3b 40 00 00 	li      r26,0                                  
ffc0bfe8:	4e 0c 00 00 	mcrf    cr4,cr3                                
ffc0bfec:	4b ff fe 84 	b       ffc0be70 <_Thread_Initialize+0x174>    
ffc0bff0:	2d 99 00 00 	cmpwi   cr3,r25,0                              
ffc0bff4:	4e 08 00 00 	mcrf    cr4,cr2                                
ffc0bff8:	3b 40 00 00 	li      r26,0                                  
ffc0bffc:	4b ff fe 74 	b       ffc0be70 <_Thread_Initialize+0x174>    
                                                                      

ffc0d80c <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0d80c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d810:	7c 08 02 a6 	mflr    r0                                     
ffc0d814:	90 01 00 1c 	stw     r0,28(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0d818:	80 03 00 10 	lwz     r0,16(r3)                              
ffc0d81c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d820:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0d824:	70 09 00 01 	andi.   r9,r0,1                                
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0d828:	93 c1 00 10 	stw     r30,16(r1)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0d82c:	38 00 00 00 	li      r0,0                                   
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0d830:	41 82 00 20 	beq-    ffc0d850 <_Thread_Restart+0x44>        
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
ffc0d834:	7c 03 03 78 	mr      r3,r0                                  
ffc0d838:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d83c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d840:	7c 08 03 a6 	mtlr    r0                                     
ffc0d844:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d848:	38 21 00 18 	addi    r1,r1,24                               
ffc0d84c:	4e 80 00 20 	blr                                            
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0d850:	90 81 00 08 	stw     r4,8(r1)                               
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0d854:	3f c0 00 00 	lis     r30,0                                  
ffc0d858:	3b de 31 84 	addi    r30,r30,12676                          
ffc0d85c:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0d860:	48 00 01 25 	bl      ffc0d984 <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0d864:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d868:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0d86c:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0d870:	48 00 49 e5 	bl      ffc12254 <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0d874:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d878:	48 00 46 19 	bl      ffc11e90 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0d87c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d880:	48 00 49 79 	bl      ffc121f8 <_Thread_Ready>               
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
ffc0d884:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d888:	48 00 09 2d 	bl      ffc0e1b4 <_User_extensions_Thread_restart>
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0d88c:	81 3e 00 0c 	lwz     r9,12(r30)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0d890:	38 00 00 01 	li      r0,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0d894:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0d898:	40 9e ff 9c 	bne+    cr7,ffc0d834 <_Thread_Restart+0x28>    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
ffc0d89c:	80 1f 01 28 	lwz     r0,296(r31)                            
ffc0d8a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d8a4:	41 9e 00 0c 	beq-    cr7,ffc0d8b0 <_Thread_Restart+0xa4>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0d8a8:	38 7f 01 28 	addi    r3,r31,296                             
ffc0d8ac:	48 01 19 f5 	bl      ffc1f2a0 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0d8b0:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc0d8b4:	38 63 00 c8 	addi    r3,r3,200                              
ffc0d8b8:	48 01 1b a9 	bl      ffc1f460 <_CPU_Context_restore>        
                                                                      

ffc10908 <_Thread_Resume>: void _Thread_Resume( Thread_Control *the_thread, bool force ) {
ffc10908:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1090c:	7c 08 02 a6 	mflr    r0                                     
ffc10910:	7c 64 1b 78 	mr      r4,r3                                  
ffc10914:	90 01 00 14 	stw     r0,20(r1)                              
ffc10918:	93 e1 00 0c 	stw     r31,12(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1091c:	7f e0 00 a6 	mfmsr   r31                                    
ffc10920:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc10924:	7f e0 00 78 	andc    r0,r31,r0                              
ffc10928:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level       level;                                              
  States_Control  current_state;                                      
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
ffc1092c:	80 03 00 10 	lwz     r0,16(r3)                              
  if ( current_state & STATES_SUSPENDED ) {                           
ffc10930:	70 09 00 02 	andi.   r9,r0,2                                
ffc10934:	41 82 00 14 	beq-    ffc10948 <_Thread_Resume+0x40>         <== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc10938:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
ffc1093c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  _ISR_Disable( level );                                              
                                                                      
  current_state = the_thread->current_state;                          
  if ( current_state & STATES_SUSPENDED ) {                           
    current_state =                                                   
    the_thread->current_state = _States_Clear(STATES_SUSPENDED, current_state);
ffc10940:	90 03 00 10 	stw     r0,16(r3)                              
                                                                      
    if ( _States_Is_ready( current_state ) ) {                        
ffc10944:	41 9e 00 1c 	beq-    cr7,ffc10960 <_Thread_Resume+0x58>     
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc10948:	7f e0 01 24 	mtmsr   r31                                    
      _Scheduler_Unblock( &_Scheduler, the_thread );                  
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc1094c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc10950:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc10954:	38 21 00 10 	addi    r1,r1,16                               
ffc10958:	7c 08 03 a6 	mtlr    r0                                     
ffc1095c:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE void _Scheduler_Unblock(                         
    Scheduler_Control *the_scheduler,                                 
    Thread_Control    *the_thread                                     
)                                                                     
{                                                                     
  the_scheduler->Operations.unblock( the_scheduler, the_thread );     
ffc10960:	3c 60 00 00 	lis     r3,0                                   
ffc10964:	38 63 2d c0 	addi    r3,r3,11712                            
ffc10968:	80 03 00 10 	lwz     r0,16(r3)                              
ffc1096c:	7c 09 03 a6 	mtctr   r0                                     
ffc10970:	4e 80 04 21 	bctrl                                          
ffc10974:	7f e0 01 24 	mtmsr   r31                                    
ffc10978:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1097c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc10980:	38 21 00 10 	addi    r1,r1,16                               
ffc10984:	7c 08 03 a6 	mtlr    r0                                     
ffc10988:	4e 80 00 20 	blr                                            
                                                                      

ffc0cb1c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
ffc0cb1c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0cb20:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
ffc0cb24:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Tickle_timeslice( void )                                 
{                                                                     
ffc0cb28:	90 01 00 14 	stw     r0,20(r1)                              
ffc0cb2c:	93 e1 00 0c 	stw     r31,12(r1)                             
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
ffc0cb30:	83 e9 31 10 	lwz     r31,12560(r9)                          
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
ffc0cb34:	88 1f 00 74 	lbz     r0,116(r31)                            
ffc0cb38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cb3c:	41 9e 00 2c 	beq-    cr7,ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
ffc0cb40:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0cb44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cb48:	40 9e 00 20 	bne-    cr7,ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
ffc0cb4c:	80 1f 00 7c 	lwz     r0,124(r31)                            
ffc0cb50:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc0cb54:	41 9c 00 14 	blt-    cr7,ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
ffc0cb58:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc0cb5c:	40 9d 00 48 	ble-    cr7,ffc0cba4 <_Thread_Tickle_timeslice+0x88>
ffc0cb60:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0cb64:	41 9e 00 18 	beq-    cr7,ffc0cb7c <_Thread_Tickle_timeslice+0x60><== ALWAYS TAKEN
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
ffc0cb68:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cb6c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0cb70:	38 21 00 10 	addi    r1,r1,16                               
ffc0cb74:	7c 08 03 a6 	mtlr    r0                                     
ffc0cb78:	4e 80 00 20 	blr                                            
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
ffc0cb7c:	81 3f 00 78 	lwz     r9,120(r31)                            
ffc0cb80:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0cb84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cb88:	90 1f 00 78 	stw     r0,120(r31)                            
ffc0cb8c:	40 9e ff dc 	bne+    cr7,ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
	  (*executing->budget_callout)( executing );                         
ffc0cb90:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc0cb94:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cb98:	7c 09 03 a6 	mtctr   r0                                     
ffc0cb9c:	4e 80 04 21 	bctrl                                          
ffc0cba0:	4b ff ff c8 	b       ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
ffc0cba4:	81 3f 00 78 	lwz     r9,120(r31)                            
ffc0cba8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0cbac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cbb0:	90 1f 00 78 	stw     r0,120(r31)                            
ffc0cbb4:	41 9d ff b4 	bgt+    cr7,ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield( &_Scheduler );                         
ffc0cbb8:	3c 60 00 00 	lis     r3,0                                   
ffc0cbbc:	38 63 2c e0 	addi    r3,r3,11488                            
ffc0cbc0:	80 03 00 08 	lwz     r0,8(r3)                               
ffc0cbc4:	7c 09 03 a6 	mtctr   r0                                     
ffc0cbc8:	4e 80 04 21 	bctrl                                          
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield( );                                          
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
ffc0cbcc:	3d 20 00 00 	lis     r9,0                                   
ffc0cbd0:	80 09 27 a4 	lwz     r0,10148(r9)                           
ffc0cbd4:	90 1f 00 78 	stw     r0,120(r31)                            
ffc0cbd8:	4b ff ff 90 	b       ffc0cb68 <_Thread_Tickle_timeslice+0x4c>
                                                                      

ffc0c660 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0c660:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0c664:	7c 08 02 a6 	mflr    r0                                     
ffc0c668:	93 e1 00 24 	stw     r31,36(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0c66c:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0c670:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0c674:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c678:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0c67c:	93 a1 00 1c 	stw     r29,28(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0c680:	41 82 00 10 	beq-    ffc0c690 <_Thread_queue_Requeue+0x30>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * If queueing by FIFO, there is nothing to do. This only applies to
   * priority blocking discipline.                                    
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
ffc0c684:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc0c688:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c68c:	41 9e 00 20 	beq-    cr7,ffc0c6ac <_Thread_queue_Requeue+0x4c><== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0c690:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc0c694:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc0c698:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0c69c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc0c6a0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc0c6a4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc0c6a8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0c6ac:	7f a0 00 a6 	mfmsr   r29                                    
ffc0c6b0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0c6b4:	7f a9 48 78 	andc    r9,r29,r9                              
ffc0c6b8:	7d 20 01 24 	mtmsr   r9                                     
ffc0c6bc:	3d 60 00 03 	lis     r11,3                                  
ffc0c6c0:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0c6c4:	61 6b be e0 	ori     r11,r11,48864                          
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
ffc0c6c8:	7d 6a 48 39 	and.    r10,r11,r9                             
ffc0c6cc:	40 82 00 24 	bne-    ffc0c6f0 <_Thread_queue_Requeue+0x90>  <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0c6d0:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0c6d4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0c6d8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0c6dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0c6e0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0c6e4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0c6e8:	38 21 00 28 	addi    r1,r1,40                               
ffc0c6ec:	4e 80 00 20 	blr                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
ffc0c6f0:	90 1f 00 30 	stw     r0,48(r31)                             
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
ffc0c6f4:	38 a0 00 01 	li      r5,1                                   
ffc0c6f8:	48 00 46 6d 	bl      ffc10d64 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0c6fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c700:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c704:	38 a1 00 08 	addi    r5,r1,8                                
ffc0c708:	4b ff fc 81 	bl      ffc0c388 <_Thread_queue_Enqueue_priority>
ffc0c70c:	7f a0 01 24 	mtmsr   r29                                    
ffc0c710:	4b ff ff c4 	b       ffc0c6d4 <_Thread_queue_Requeue+0x74>  
                                                                      

ffc0c714 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0c714:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c718:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c71c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0c720:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c724:	4b ff f5 21 	bl      ffc0bc44 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c728:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c72c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c730:	40 9e 00 18 	bne-    cr7,ffc0c748 <_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 );                    
ffc0c734:	48 00 47 45 	bl      ffc10e78 <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0c738:	3d 20 00 00 	lis     r9,0                                   
ffc0c73c:	81 69 27 a8 	lwz     r11,10152(r9)                          
ffc0c740:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0c744:	90 09 27 a8 	stw     r0,10152(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0c748:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c74c:	38 21 00 18 	addi    r1,r1,24                               
ffc0c750:	7c 08 03 a6 	mtlr    r0                                     
ffc0c754:	4e 80 00 20 	blr                                            
                                                                      

ffc1b8f0 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc1b8f0:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc1b8f4:	7c 08 02 a6 	mflr    r0                                     
ffc1b8f8:	92 a1 00 3c 	stw     r21,60(r1)                             
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1b8fc:	3a a1 00 08 	addi    r21,r1,8                               
ffc1b900:	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;                                                  
  head->previous = NULL;                                              
ffc1b904:	38 00 00 00 	li      r0,0                                   
ffc1b908:	93 21 00 4c 	stw     r25,76(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1b90c:	3b 21 00 0c 	addi    r25,r1,12                              
ffc1b910:	93 41 00 50 	stw     r26,80(r1)                             
ffc1b914:	3b 41 00 18 	addi    r26,r1,24                              
ffc1b918:	93 81 00 58 	stw     r28,88(r1)                             
ffc1b91c:	3b 81 00 14 	addi    r28,r1,20                              
ffc1b920:	92 81 00 38 	stw     r20,56(r1)                             
ffc1b924:	3e 80 00 00 	lis     r20,0                                  
ffc1b928:	3a 94 28 a0 	addi    r20,r20,10400                          
ffc1b92c:	92 e1 00 44 	stw     r23,68(r1)                             
ffc1b930:	3e e0 00 00 	lis     r23,0                                  
ffc1b934:	3a f7 28 dc 	addi    r23,r23,10460                          
ffc1b938:	93 01 00 48 	stw     r24,72(r1)                             
ffc1b93c:	3f 00 00 00 	lis     r24,0                                  
ffc1b940:	3b 18 28 b8 	addi    r24,r24,10424                          
ffc1b944:	93 c1 00 60 	stw     r30,96(r1)                             
ffc1b948:	93 21 00 08 	stw     r25,8(r1)                              
  head->previous = NULL;                                              
ffc1b94c:	90 01 00 0c 	stw     r0,12(r1)                              
  tail->previous = head;                                              
ffc1b950:	92 a1 00 10 	stw     r21,16(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1b954:	93 41 00 14 	stw     r26,20(r1)                             
  head->previous = NULL;                                              
ffc1b958:	90 01 00 18 	stw     r0,24(r1)                              
  tail->previous = head;                                              
ffc1b95c:	93 81 00 1c 	stw     r28,28(r1)                             
ffc1b960:	92 21 00 2c 	stw     r17,44(r1)                             
ffc1b964:	3a 23 00 08 	addi    r17,r3,8                               
ffc1b968:	92 41 00 30 	stw     r18,48(r1)                             
ffc1b96c:	3a 43 00 40 	addi    r18,r3,64                              
ffc1b970:	92 61 00 34 	stw     r19,52(r1)                             
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
        _Timer_server_Reset_interval_system_watchdog( ts );           
        _Timer_server_Reset_tod_system_watchdog( ts );                
      _Thread_Enable_dispatch();                                      
                                                                      
      ts->active = true;                                              
ffc1b974:	3a 60 00 01 	li      r19,1                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1b978:	92 c1 00 40 	stw     r22,64(r1)                             
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
      if ( _Chain_Is_empty( insert_chain ) ) {                        
        ts->insert_chain = NULL;                                      
        do_loop          = false;                                     
ffc1b97c:	3a c0 00 00 	li      r22,0                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1b980:	93 61 00 54 	stw     r27,84(r1)                             
ffc1b984:	3b 63 00 68 	addi    r27,r3,104                             
ffc1b988:	93 a1 00 5c 	stw     r29,92(r1)                             
ffc1b98c:	3b a3 00 30 	addi    r29,r3,48                              
ffc1b990:	93 e1 00 64 	stw     r31,100(r1)                            
ffc1b994:	7c 7f 1b 78 	mr      r31,r3                                 
  Chain_Control *tmp;                                                 
  /*                                                                  
   *  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;                                    
ffc1b998:	92 bf 00 78 	stw     r21,120(r31)                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc1b99c:	80 17 00 00 	lwz     r0,0(r23)                              
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1b9a0:	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;      
ffc1b9a4:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1b9a8:	7f a3 eb 78 	mr      r3,r29                                 
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1b9ac:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1b9b0:	7c 84 00 50 	subf    r4,r4,r0                               
ffc1b9b4:	48 00 59 ed 	bl      ffc213a0 <_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();
ffc1b9b8:	83 d8 00 00 	lwz     r30,0(r24)                             
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc1b9bc:	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 ) {                                   
ffc1b9c0:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc1b9c4:	41 9d 00 fc 	bgt-    cr7,ffc1bac0 <_Timer_server_Body+0x1d0>
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc1b9c8:	41 9c 00 d4 	blt-    cr7,ffc1ba9c <_Timer_server_Body+0x1ac>
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1b9cc:	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 );
ffc1b9d0:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1b9d4:	48 00 0d bd 	bl      ffc1c790 <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc1b9d8:	7c 64 1b 79 	mr.     r4,r3                                  
ffc1b9dc:	41 82 00 34 	beq-    ffc1ba10 <_Timer_server_Body+0x120>    <== ALWAYS TAKEN
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1b9e0:	80 04 00 38 	lwz     r0,56(r4)                              <== NOT EXECUTED
ffc1b9e4:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1b9e8:	2f 00 00 03 	cmpwi   cr6,r0,3                               <== NOT EXECUTED
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1b9ec:	41 9e 00 c4 	beq-    cr7,ffc1bab0 <_Timer_server_Body+0x1c0><== NOT EXECUTED
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1b9f0:	40 9a ff e0 	bne+    cr6,ffc1b9d0 <_Timer_server_Body+0xe0> <== NOT EXECUTED
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1b9f4:	38 84 00 10 	addi    r4,r4,16                               <== NOT EXECUTED
ffc1b9f8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1b9fc:	48 00 5a 5d 	bl      ffc21458 <_Watchdog_Insert>            <== NOT EXECUTED
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc1ba00:	80 7f 00 78 	lwz     r3,120(r31)                            <== NOT EXECUTED
ffc1ba04:	48 00 0d 8d 	bl      ffc1c790 <_Chain_Get>                  <== NOT EXECUTED
                                                                      
    if ( timer == NULL ) {                                            
ffc1ba08:	7c 64 1b 79 	mr.     r4,r3                                  <== NOT EXECUTED
ffc1ba0c:	40 82 ff d4 	bne+    ffc1b9e0 <_Timer_server_Body+0xf0>     <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1ba10:	7d 20 00 a6 	mfmsr   r9                                     
ffc1ba14:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1ba18:	7d 20 00 78 	andc    r0,r9,r0                               
ffc1ba1c:	7c 00 01 24 	mtmsr   r0                                     
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
ffc1ba20:	80 1f 00 78 	lwz     r0,120(r31)                            
      if ( _Chain_Is_empty( insert_chain ) ) {                        
ffc1ba24:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1ba28:	7f 80 c8 00 	cmpw    cr7,r0,r25                             
ffc1ba2c:	38 00 00 01 	li      r0,1                                   
ffc1ba30:	41 9e 00 a4 	beq-    cr7,ffc1bad4 <_Timer_server_Body+0x1e4><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1ba34:	7d 20 01 24 	mtmsr   r9                                     
   *  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;                                    
                                                                      
  while ( do_loop ) {                                                 
ffc1ba38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ba3c:	40 9e ff 60 	bne+    cr7,ffc1b99c <_Timer_server_Body+0xac> <== NEVER TAKEN
  _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 ) ) {                          
ffc1ba40:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1ba44:	7f 89 d0 00 	cmpw    cr7,r9,r26                             
ffc1ba48:	40 be 00 30 	bne+    cr7,ffc1ba78 <_Timer_server_Body+0x188>
ffc1ba4c:	48 00 00 94 	b       ffc1bae0 <_Timer_server_Body+0x1f0>    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc1ba50:	81 69 00 00 	lwz     r11,0(r9)                              
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
ffc1ba54:	93 8b 00 04 	stw     r28,4(r11)                             
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
ffc1ba58:	91 61 00 14 	stw     r11,20(r1)                             
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
ffc1ba5c:	92 c9 00 08 	stw     r22,8(r9)                              
ffc1ba60:	7c 00 01 24 	mtmsr   r0                                     
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
ffc1ba64:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1ba68:	80 69 00 20 	lwz     r3,32(r9)                              
ffc1ba6c:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1ba70:	7c 09 03 a6 	mtctr   r0                                     
ffc1ba74:	4e 80 04 21 	bctrl                                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1ba78:	7c 00 00 a6 	mfmsr   r0                                     
ffc1ba7c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1ba80:	7c 09 48 78 	andc    r9,r0,r9                               
ffc1ba84:	7d 20 01 24 	mtmsr   r9                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc1ba88:	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))                                   
ffc1ba8c:	7f 89 d0 00 	cmpw    cr7,r9,r26                             
ffc1ba90:	40 9e ff c0 	bne+    cr7,ffc1ba50 <_Timer_server_Body+0x160>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1ba94:	7c 00 01 24 	mtmsr   r0                                     
ffc1ba98:	4b ff ff 00 	b       ffc1b998 <_Timer_server_Body+0xa8>     
     /*                                                               
      *  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 ); 
ffc1ba9c:	7f 63 db 78 	mr      r3,r27                                 
ffc1baa0:	38 80 00 01 	li      r4,1                                   
ffc1baa4:	7c be 28 50 	subf    r5,r30,r5                              
ffc1baa8:	48 00 57 cd 	bl      ffc21274 <_Watchdog_Adjust>            
ffc1baac:	4b ff ff 20 	b       ffc1b9cc <_Timer_server_Body+0xdc>     
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1bab0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1bab4:	38 84 00 10 	addi    r4,r4,16                               <== NOT EXECUTED
ffc1bab8:	48 00 59 a1 	bl      ffc21458 <_Watchdog_Insert>            <== NOT EXECUTED
ffc1babc:	4b ff ff 14 	b       ffc1b9d0 <_Timer_server_Body+0xe0>     <== NOT EXECUTED
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
ffc1bac0:	7c 85 f0 50 	subf    r4,r5,r30                              
ffc1bac4:	7f 63 db 78 	mr      r3,r27                                 
ffc1bac8:	7f 85 e3 78 	mr      r5,r28                                 
ffc1bacc:	48 00 58 d5 	bl      ffc213a0 <_Watchdog_Adjust_to_chain>   
ffc1bad0:	4b ff fe fc 	b       ffc1b9cc <_Timer_server_Body+0xdc>     
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
      tmp = ts->insert_chain;                                         
      if ( _Chain_Is_empty( insert_chain ) ) {                        
        ts->insert_chain = NULL;                                      
ffc1bad4:	90 9f 00 78 	stw     r4,120(r31)                            
        do_loop          = false;                                     
ffc1bad8:	38 00 00 00 	li      r0,0                                   
ffc1badc:	4b ff ff 58 	b       ffc1ba34 <_Timer_server_Body+0x144>    
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc1bae0:	98 1f 00 7c 	stb     r0,124(r31)                            
ffc1bae4:	80 14 00 00 	lwz     r0,0(r20)                              
ffc1bae8:	30 00 00 01 	addic   r0,r0,1                                
ffc1baec:	90 14 00 00 	stw     r0,0(r20)                              
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc1baf0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1baf4:	38 80 00 08 	li      r4,8                                   
ffc1baf8:	48 00 4c c1 	bl      ffc207b8 <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc1bafc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bb00:	4b ff fc c9 	bl      ffc1b7c8 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc1bb04:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bb08:	4b ff fd 55 	bl      ffc1b85c <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc1bb0c:	48 00 40 05 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc1bb10:	9a 7f 00 7c 	stb     r19,124(r31)                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc1bb14:	7e 23 8b 78 	mr      r3,r17                                 
ffc1bb18:	48 00 5b 11 	bl      ffc21628 <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc1bb1c:	7e 43 93 78 	mr      r3,r18                                 
ffc1bb20:	48 00 5b 09 	bl      ffc21628 <_Watchdog_Remove>            
ffc1bb24:	4b ff fe 74 	b       ffc1b998 <_Timer_server_Body+0xa8>     
                                                                      

ffc1bb28 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc1bb28:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1bb2c:	7c 08 02 a6 	mflr    r0                                     
ffc1bb30:	7c 89 23 78 	mr      r9,r4                                  
ffc1bb34:	90 01 00 14 	stw     r0,20(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc1bb38:	80 03 00 78 	lwz     r0,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1bb3c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1bb40:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc1bb44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bb48:	41 9e 00 20 	beq-    cr7,ffc1bb68 <_Timer_server_Schedule_operation_method+0x40><== ALWAYS TAKEN
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
ffc1bb4c:	80 63 00 78 	lwz     r3,120(r3)                             <== NOT EXECUTED
ffc1bb50:	48 00 0b e9 	bl      ffc1c738 <_Chain_Append>               <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc1bb54:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc1bb58:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1bb5c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1bb60:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1bb64:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc1bb68:	3d 60 00 00 	lis     r11,0                                  
ffc1bb6c:	81 4b 28 a0 	lwz     r10,10400(r11)                         
ffc1bb70:	38 0a 00 01 	addi    r0,r10,1                               
ffc1bb74:	90 0b 28 a0 	stw     r0,10400(r11)                          
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1bb78:	80 04 00 38 	lwz     r0,56(r4)                              
ffc1bb7c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1bb80:	41 9e 00 ac 	beq-    cr7,ffc1bc2c <_Timer_server_Schedule_operation_method+0x104>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1bb84:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1bb88:	41 9e 00 1c 	beq-    cr7,ffc1bba4 <_Timer_server_Schedule_operation_method+0x7c>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1bb8c:	48 00 3f 85 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
ffc1bb90:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1bb94:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1bb98:	38 21 00 10 	addi    r1,r1,16                               
ffc1bb9c:	7c 08 03 a6 	mtlr    r0                                     
ffc1bba0:	4e 80 00 20 	blr                                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1bba4:	7c c0 00 a6 	mfmsr   r6                                     
ffc1bba8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1bbac:	7c c0 00 78 	andc    r0,r6,r0                               
ffc1bbb0:	7c 00 01 24 	mtmsr   r0                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc1bbb4:	81 63 00 68 	lwz     r11,104(r3)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1bbb8:	38 03 00 6c 	addi    r0,r3,108                              
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc1bbbc:	3d 40 00 00 	lis     r10,0                                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1bbc0:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc1bbc4:	80 0a 28 b8 	lwz     r0,10424(r10)                          
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc1bbc8:	81 43 00 74 	lwz     r10,116(r3)                            
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1bbcc:	41 9e 00 30 	beq-    cr7,ffc1bbfc <_Timer_server_Schedule_operation_method+0xd4>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1bbd0:	7f 80 50 40 	cmplw   cr7,r0,r10                             
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
ffc1bbd4:	80 eb 00 10 	lwz     r7,16(r11)                             
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc1bbd8:	7d 07 52 14 	add     r8,r7,r10                              
        delta_interval += delta;                                      
ffc1bbdc:	7d 00 40 50 	subf    r8,r0,r8                               
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1bbe0:	40 9d 00 18 	ble-    cr7,ffc1bbf8 <_Timer_server_Schedule_operation_method+0xd0>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc1bbe4:	7d 4a 00 50 	subf    r10,r10,r0                             
        if (delta_interval > delta) {                                 
ffc1bbe8:	7f 87 50 40 	cmplw   cr7,r7,r10                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc1bbec:	39 00 00 00 	li      r8,0                                   
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc1bbf0:	40 9d 00 08 	ble-    cr7,ffc1bbf8 <_Timer_server_Schedule_operation_method+0xd0><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc1bbf4:	7d 0a 38 50 	subf    r8,r10,r7                              
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc1bbf8:	91 0b 00 10 	stw     r8,16(r11)                             
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc1bbfc:	90 1f 00 74 	stw     r0,116(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1bc00:	7c c0 01 24 	mtmsr   r6                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1bc04:	38 7f 00 68 	addi    r3,r31,104                             
ffc1bc08:	38 89 00 10 	addi    r4,r9,16                               
ffc1bc0c:	48 00 58 4d 	bl      ffc21458 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1bc10:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc1bc14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bc18:	40 9e ff 74 	bne+    cr7,ffc1bb8c <_Timer_server_Schedule_operation_method+0x64>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc1bc1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bc20:	4b ff fc 3d 	bl      ffc1b85c <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1bc24:	48 00 3e ed 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
ffc1bc28:	4b ff ff 68 	b       ffc1bb90 <_Timer_server_Schedule_operation_method+0x68>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1bc2c:	7c c0 00 a6 	mfmsr   r6                                     
ffc1bc30:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc1bc34:	7c c0 00 78 	andc    r0,r6,r0                               
ffc1bc38:	7c 00 01 24 	mtmsr   r0                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc1bc3c:	81 63 00 30 	lwz     r11,48(r3)                             
ffc1bc40:	38 03 00 34 	addi    r0,r3,52                               
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc1bc44:	3d 40 00 00 	lis     r10,0                                  
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1bc48:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc1bc4c:	80 0a 28 dc 	lwz     r0,10460(r10)                          
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc1bc50:	81 03 00 3c 	lwz     r8,60(r3)                              
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1bc54:	41 9e 00 20 	beq-    cr7,ffc1bc74 <_Timer_server_Schedule_operation_method+0x14c>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc1bc58:	80 eb 00 10 	lwz     r7,16(r11)                             
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
ffc1bc5c:	7d 08 00 50 	subf    r8,r8,r0                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
ffc1bc60:	39 40 00 00 	li      r10,0                                  
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
ffc1bc64:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc1bc68:	40 9c 00 08 	bge-    cr7,ffc1bc70 <_Timer_server_Schedule_operation_method+0x148>
        delta_interval -= delta;                                      
ffc1bc6c:	7d 48 38 50 	subf    r10,r8,r7                              
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc1bc70:	91 4b 00 10 	stw     r10,16(r11)                            
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc1bc74:	90 1f 00 3c 	stw     r0,60(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1bc78:	7c c0 01 24 	mtmsr   r6                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1bc7c:	38 7f 00 30 	addi    r3,r31,48                              
ffc1bc80:	38 89 00 10 	addi    r4,r9,16                               
ffc1bc84:	48 00 57 d5 	bl      ffc21458 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1bc88:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc1bc8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bc90:	40 9e fe fc 	bne+    cr7,ffc1bb8c <_Timer_server_Schedule_operation_method+0x64>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc1bc94:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bc98:	4b ff fb 31 	bl      ffc1b7c8 <_Timer_server_Reset_interval_system_watchdog>
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1bc9c:	48 00 3e 75 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
ffc1bca0:	4b ff fe f0 	b       ffc1bb90 <_Timer_server_Schedule_operation_method+0x68>
                                                                      

ffc0ce80 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0ce80:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ce84:	7c 08 02 a6 	mflr    r0                                     
ffc0ce88:	93 c1 00 18 	stw     r30,24(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0ce8c:	3f c0 00 00 	lis     r30,0                                  
ffc0ce90:	3b de 2d b4 	addi    r30,r30,11700                          
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0ce94:	93 e1 00 1c 	stw     r31,28(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0ce98:	83 fe 00 08 	lwz     r31,8(r30)                             
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0ce9c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0cea0:	7c 7b 1b 78 	mr      r27,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0cea4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc0cea8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ceac:	7c 9c 23 78 	mr      r28,r4                                 
ffc0ceb0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ceb4:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ceb8:	90 01 00 24 	stw     r0,36(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0cebc:	41 9e 00 30 	beq-    cr7,ffc0ceec <_User_extensions_Fatal+0x6c><== NEVER TAKEN
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0cec0:	80 1f 00 30 	lwz     r0,48(r31)                             
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0cec4:	7f 63 db 78 	mr      r3,r27                                 
ffc0cec8:	7f 84 e3 78 	mr      r4,r28                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0cecc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0ced0:	7f a5 eb 78 	mr      r5,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
ffc0ced4:	41 9e 00 0c 	beq-    cr7,ffc0cee0 <_User_extensions_Fatal+0x60>
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
ffc0ced8:	7c 09 03 a6 	mtctr   r0                                     
ffc0cedc:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0cee0:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0cee4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0cee8:	40 9e ff d8 	bne+    cr7,ffc0cec0 <_User_extensions_Fatal+0x40>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0ceec:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cef0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cef4:	7c 08 03 a6 	mtlr    r0                                     
ffc0cef8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cefc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cf00:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cf04:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cf08:	38 21 00 20 	addi    r1,r1,32                               
ffc0cf0c:	4e 80 00 20 	blr                                            
                                                                      

ffc0cc8c <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
ffc0cc8c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0cc90:	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;  
ffc0cc94:	3c e0 00 00 	lis     r7,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0cc98:	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;  
ffc0cc9c:	38 e7 20 a0 	addi    r7,r7,8352                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0cca0:	3d 00 00 00 	lis     r8,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0cca4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0cca8:	3d 40 00 00 	lis     r10,0                                  
ffc0ccac:	39 68 2d b4 	addi    r11,r8,11700                           
  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;          
ffc0ccb0:	83 a7 00 40 	lwz     r29,64(r7)                             
ffc0ccb4:	39 2a 2c 70 	addi    r9,r10,11376                           
  head->previous = NULL;                                              
ffc0ccb8:	38 00 00 00 	li      r0,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0ccbc:	93 c1 00 10 	stw     r30,16(r1)                             
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0ccc0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0ccc4:	38 ab 00 04 	addi    r5,r11,4                               
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0ccc8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0cccc:	38 c9 00 04 	addi    r6,r9,4                                
ffc0ccd0:	93 e1 00 14 	stw     r31,20(r1)                             
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
ffc0ccd4:	83 c7 00 3c 	lwz     r30,60(r7)                             
ffc0ccd8:	90 a8 2d b4 	stw     r5,11700(r8)                           
  head->previous = NULL;                                              
ffc0ccdc:	90 0b 00 04 	stw     r0,4(r11)                              
  tail->previous = head;                                              
ffc0cce0:	91 6b 00 08 	stw     r11,8(r11)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0cce4:	90 ca 2c 70 	stw     r6,11376(r10)                          
  head->previous = NULL;                                              
ffc0cce8:	90 09 00 04 	stw     r0,4(r9)                               
  tail->previous = head;                                              
ffc0ccec:	91 29 00 08 	stw     r9,8(r9)                               
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0ccf0:	41 9e 00 8c 	beq-    cr7,ffc0cd7c <_User_extensions_Handler_initialization+0xf0><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
ffc0ccf4:	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(                             
ffc0ccf8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ccfc:	48 00 08 c5 	bl      ffc0d5c0 <_Workspace_Allocate_or_fatal_error>
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0cd00:	38 80 00 00 	li      r4,0                                   
ffc0cd04:	7f 85 e3 78 	mr      r5,r28                                 
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
ffc0cd08:	7c 7f 1b 78 	mr      r31,r3                                 
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0cd0c:	48 00 74 69 	bl      ffc14174 <memset>                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0cd10:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0cd14:	41 9e 00 68 	beq-    cr7,ffc0cd7c <_User_extensions_Handler_initialization+0xf0><== NEVER TAKEN
ffc0cd18:	3b 80 00 00 	li      r28,0                                  
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0cd1c:	7f a9 eb 78 	mr      r9,r29                                 
#include <rtems/config.h>                                             
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
ffc0cd20:	57 80 28 34 	rlwinm  r0,r28,5,0,26                          
ffc0cd24:	7d 09 00 6e 	lwzux   r8,r9,r0                               
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0cd28:	7f e3 fb 78 	mr      r3,r31                                 
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0cd2c:	3b 9c 00 01 	addi    r28,r28,1                              
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0cd30:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0cd34:	81 69 00 08 	lwz     r11,8(r9)                              
ffc0cd38:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0cd3c:	91 1f 00 14 	stw     r8,20(r31)                             
ffc0cd40:	91 5f 00 18 	stw     r10,24(r31)                            
ffc0cd44:	91 7f 00 1c 	stw     r11,28(r31)                            
ffc0cd48:	90 1f 00 20 	stw     r0,32(r31)                             
ffc0cd4c:	81 09 00 10 	lwz     r8,16(r9)                              
ffc0cd50:	81 49 00 14 	lwz     r10,20(r9)                             
ffc0cd54:	81 69 00 18 	lwz     r11,24(r9)                             
ffc0cd58:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc0cd5c:	91 1f 00 24 	stw     r8,36(r31)                             
ffc0cd60:	91 5f 00 28 	stw     r10,40(r31)                            
ffc0cd64:	91 7f 00 2c 	stw     r11,44(r31)                            
ffc0cd68:	90 1f 00 30 	stw     r0,48(r31)                             
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
ffc0cd6c:	3b ff 00 34 	addi    r31,r31,52                             
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0cd70:	48 00 42 59 	bl      ffc10fc8 <_User_extensions_Add_set>    
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0cd74:	7f 9e e0 40 	cmplw   cr7,r30,r28                            
ffc0cd78:	41 9d ff a4 	bgt+    cr7,ffc0cd1c <_User_extensions_Handler_initialization+0x90>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
ffc0cd7c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0cd80:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0cd84:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd88:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0cd8c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0cd90:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0cd94:	38 21 00 18 	addi    r1,r1,24                               
ffc0cd98:	4e 80 00 20 	blr                                            
                                                                      

ffc0cd9c <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
ffc0cd9c:	94 21 ff e8 	stwu    r1,-24(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0cda0:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0cda4:	7c 08 02 a6 	mflr    r0                                     
ffc0cda8:	93 c1 00 10 	stw     r30,16(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0cdac:	3b c9 2d b4 	addi    r30,r9,11700                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cdb0:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0cdb4:	93 e1 00 14 	stw     r31,20(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0cdb8:	83 e9 2d b4 	lwz     r31,11700(r9)                          
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0cdbc:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0cdc0:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cdc4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0cdc8:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cdcc:	41 9e 00 28 	beq-    cr7,ffc0cdf4 <_User_extensions_Thread_begin+0x58><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
ffc0cdd0:	80 1f 00 28 	lwz     r0,40(r31)                             
      (*the_extension->Callouts.thread_begin)( executing );           
ffc0cdd4:	7f a3 eb 78 	mr      r3,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
ffc0cdd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cddc:	41 9e 00 0c 	beq-    cr7,ffc0cde8 <_User_extensions_Thread_begin+0x4c>
      (*the_extension->Callouts.thread_begin)( executing );           
ffc0cde0:	7c 09 03 a6 	mtctr   r0                                     
ffc0cde4:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0cde8:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cdec:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0cdf0:	40 9e ff e0 	bne+    cr7,ffc0cdd0 <_User_extensions_Thread_begin+0x34>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
ffc0cdf4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0cdf8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0cdfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce00:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ce04:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ce08:	38 21 00 18 	addi    r1,r1,24                               
ffc0ce0c:	4e 80 00 20 	blr                                            
                                                                      

ffc0cf10 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
ffc0cf10:	94 21 ff e8 	stwu    r1,-24(r1)                             
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0cf14:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cf18:	7c 08 02 a6 	mflr    r0                                     
ffc0cf1c:	93 c1 00 10 	stw     r30,16(r1)                             
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0cf20:	3b c9 2d b4 	addi    r30,r9,11700                           
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cf24:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cf28:	93 e1 00 14 	stw     r31,20(r1)                             
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0cf2c:	83 e9 2d b4 	lwz     r31,11700(r9)                          
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cf30:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0cf34:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cf38:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cf3c:	90 01 00 1c 	stw     r0,28(r1)                              
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
ffc0cf40:	38 60 00 01 	li      r3,1                                   
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cf44:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cf48:	41 9e 00 40 	beq-    cr7,ffc0cf88 <_User_extensions_Thread_create+0x78><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
      status = (*the_extension->Callouts.thread_create)(              
ffc0cf4c:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
ffc0cf50:	80 1f 00 14 	lwz     r0,20(r31)                             
      status = (*the_extension->Callouts.thread_create)(              
ffc0cf54:	39 3c 31 04 	addi    r9,r28,12548                           
ffc0cf58:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
ffc0cf5c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cf60:	41 9e 00 18 	beq-    cr7,ffc0cf78 <_User_extensions_Thread_create+0x68>
      status = (*the_extension->Callouts.thread_create)(              
ffc0cf64:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0cf68:	7c 09 03 a6 	mtctr   r0                                     
ffc0cf6c:	4e 80 04 21 	bctrl                                          
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
ffc0cf70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cf74:	41 9e 00 34 	beq-    cr7,ffc0cfa8 <_User_extensions_Thread_create+0x98>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0cf78:	83 ff 00 00 	lwz     r31,0(r31)                             
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0cf7c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0cf80:	40 9e ff d0 	bne+    cr7,ffc0cf50 <_User_extensions_Thread_create+0x40>
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
ffc0cf84:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc0cf88:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0cf8c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0cf90:	7c 08 03 a6 	mtlr    r0                                     
ffc0cf94:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0cf98:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0cf9c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0cfa0:	38 21 00 18 	addi    r1,r1,24                               
ffc0cfa4:	4e 80 00 20 	blr                                            
ffc0cfa8:	80 01 00 1c 	lwz     r0,28(r1)                              
      status = (*the_extension->Callouts.thread_create)(              
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
        return false;                                                 
ffc0cfac:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0cfb0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0cfb4:	7c 08 03 a6 	mtlr    r0                                     
ffc0cfb8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0cfbc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0cfc0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0cfc4:	38 21 00 18 	addi    r1,r1,24                               
ffc0cfc8:	4e 80 00 20 	blr                                            
                                                                      

ffc0cfcc <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
ffc0cfcc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0cfd0:	7c 08 02 a6 	mflr    r0                                     
ffc0cfd4:	93 c1 00 10 	stw     r30,16(r1)                             
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0cfd8:	3f c0 00 00 	lis     r30,0                                  
ffc0cfdc:	3b de 2d b4 	addi    r30,r30,11700                          
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cfe0:	93 e1 00 14 	stw     r31,20(r1)                             
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0cfe4:	83 fe 00 08 	lwz     r31,8(r30)                             
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cfe8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0cfec:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0cff0:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0cff4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0cff8:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0cffc:	41 9e 00 34 	beq-    cr7,ffc0d030 <_User_extensions_Thread_delete+0x64><== NEVER TAKEN
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
      (*the_extension->Callouts.thread_delete)(                       
ffc0d000:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
ffc0d004:	80 1f 00 20 	lwz     r0,32(r31)                             
      (*the_extension->Callouts.thread_delete)(                       
ffc0d008:	39 3c 31 04 	addi    r9,r28,12548                           
ffc0d00c:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
ffc0d010:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d014:	41 9e 00 10 	beq-    cr7,ffc0d024 <_User_extensions_Thread_delete+0x58>
      (*the_extension->Callouts.thread_delete)(                       
ffc0d018:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0d01c:	7c 09 03 a6 	mtctr   r0                                     
ffc0d020:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0d024:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0d028:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d02c:	40 9e ff d8 	bne+    cr7,ffc0d004 <_User_extensions_Thread_delete+0x38>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d030:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d034:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d038:	7c 08 03 a6 	mtlr    r0                                     
ffc0d03c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d040:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d044:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d048:	38 21 00 18 	addi    r1,r1,24                               
ffc0d04c:	4e 80 00 20 	blr                                            
                                                                      

ffc0ce10 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
ffc0ce10:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ce14:	7c 08 02 a6 	mflr    r0                                     
ffc0ce18:	93 c1 00 10 	stw     r30,16(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0ce1c:	3f c0 00 00 	lis     r30,0                                  
ffc0ce20:	3b de 2d b4 	addi    r30,r30,11700                          
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0ce24:	93 e1 00 14 	stw     r31,20(r1)                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
ffc0ce28:	83 fe 00 08 	lwz     r31,8(r30)                             
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0ce2c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0ce30:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0ce34:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
ffc0ce38:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0ce3c:	41 9e 00 28 	beq-    cr7,ffc0ce64 <_User_extensions_Thread_exitted+0x54><== NEVER TAKEN
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
ffc0ce40:	80 1f 00 2c 	lwz     r0,44(r31)                             
      (*the_extension->Callouts.thread_exitted)( executing );         
ffc0ce44:	7f a3 eb 78 	mr      r3,r29                                 
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
ffc0ce48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ce4c:	41 9e 00 0c 	beq-    cr7,ffc0ce58 <_User_extensions_Thread_exitted+0x48>
      (*the_extension->Callouts.thread_exitted)( executing );         
ffc0ce50:	7c 09 03 a6 	mtctr   r0                                     
ffc0ce54:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
ffc0ce58:	83 ff 00 04 	lwz     r31,4(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
ffc0ce5c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0ce60:	40 9e ff e0 	bne+    cr7,ffc0ce40 <_User_extensions_Thread_exitted+0x30>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
ffc0ce64:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ce68:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ce6c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce70:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ce74:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ce78:	38 21 00 18 	addi    r1,r1,24                               
ffc0ce7c:	4e 80 00 20 	blr                                            
                                                                      

ffc0e1b4 <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
ffc0e1b4:	94 21 ff e8 	stwu    r1,-24(r1)                             
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0e1b8:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e1bc:	7c 08 02 a6 	mflr    r0                                     
ffc0e1c0:	93 c1 00 10 	stw     r30,16(r1)                             
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0e1c4:	3b c9 2e 34 	addi    r30,r9,11828                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e1c8:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e1cc:	93 e1 00 14 	stw     r31,20(r1)                             
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0e1d0:	83 e9 2e 34 	lwz     r31,11828(r9)                          
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e1d4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0e1d8:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e1dc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e1e0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0e1e4:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e1e8:	41 9e 00 34 	beq-    cr7,ffc0e21c <_User_extensions_Thread_restart+0x68><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
      (*the_extension->Callouts.thread_restart)(                      
ffc0e1ec:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
ffc0e1f0:	80 1f 00 1c 	lwz     r0,28(r31)                             
      (*the_extension->Callouts.thread_restart)(                      
ffc0e1f4:	39 3c 31 84 	addi    r9,r28,12676                           
ffc0e1f8:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
ffc0e1fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e200:	41 9e 00 10 	beq-    cr7,ffc0e210 <_User_extensions_Thread_restart+0x5c>
      (*the_extension->Callouts.thread_restart)(                      
ffc0e204:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0e208:	7c 09 03 a6 	mtctr   r0                                     
ffc0e20c:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0e210:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0e214:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0e218:	40 9e ff d8 	bne+    cr7,ffc0e1f0 <_User_extensions_Thread_restart+0x3c>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0e21c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0e220:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0e224:	7c 08 03 a6 	mtlr    r0                                     
ffc0e228:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0e22c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0e230:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0e234:	38 21 00 18 	addi    r1,r1,24                               
ffc0e238:	4e 80 00 20 	blr                                            
                                                                      

ffc0d050 <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
ffc0d050:	94 21 ff e8 	stwu    r1,-24(r1)                             
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d054:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d058:	7c 08 02 a6 	mflr    r0                                     
ffc0d05c:	93 c1 00 10 	stw     r30,16(r1)                             
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d060:	3b c9 2d b4 	addi    r30,r9,11700                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d064:	3b de 00 04 	addi    r30,r30,4                              
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d068:	93 e1 00 14 	stw     r31,20(r1)                             
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d06c:	83 e9 2d b4 	lwz     r31,11700(r9)                          
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d070:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d074:	7c 7d 1b 78 	mr      r29,r3                                 
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d078:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0d07c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d080:	93 81 00 08 	stw     r28,8(r1)                              
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d084:	41 9e 00 34 	beq-    cr7,ffc0d0b8 <_User_extensions_Thread_start+0x68><== NEVER TAKEN
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
      (*the_extension->Callouts.thread_start)(                        
ffc0d088:	3f 80 00 00 	lis     r28,0                                  
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
ffc0d08c:	80 1f 00 18 	lwz     r0,24(r31)                             
      (*the_extension->Callouts.thread_start)(                        
ffc0d090:	39 3c 31 04 	addi    r9,r28,12548                           
ffc0d094:	7f a4 eb 78 	mr      r4,r29                                 
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
ffc0d098:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d09c:	41 9e 00 10 	beq-    cr7,ffc0d0ac <_User_extensions_Thread_start+0x5c>
      (*the_extension->Callouts.thread_start)(                        
ffc0d0a0:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0d0a4:	7c 09 03 a6 	mtctr   r0                                     
ffc0d0a8:	4e 80 04 21 	bctrl                                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
ffc0d0ac:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
ffc0d0b0:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d0b4:	40 9e ff d8 	bne+    cr7,ffc0d08c <_User_extensions_Thread_start+0x3c>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
ffc0d0b8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d0bc:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d0c0:	7c 08 03 a6 	mtlr    r0                                     
ffc0d0c4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d0c8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d0cc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d0d0:	38 21 00 18 	addi    r1,r1,24                               
ffc0d0d4:	4e 80 00 20 	blr                                            
                                                                      

ffc0d0d8 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
ffc0d0d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
ffc0d0dc:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d0e0:	7c 08 02 a6 	mflr    r0                                     
ffc0d0e4:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
ffc0d0e8:	3b c9 2c 70 	addi    r30,r9,11376                           
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d0ec:	3b de 00 04 	addi    r30,r30,4                              
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d0f0:	93 e1 00 14 	stw     r31,20(r1)                             
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
ffc0d0f4:	83 e9 2c 70 	lwz     r31,11376(r9)                          
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d0f8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0d0fc:	7c 7c 1b 78 	mr      r28,r3                                 
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d100:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
                                                                      
void _User_extensions_Thread_switch (                                 
  Thread_Control *executing,                                          
  Thread_Control *heir                                                
)                                                                     
{                                                                     
ffc0d104:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d108:	7c 9d 23 78 	mr      r29,r4                                 
ffc0d10c:	90 01 00 1c 	stw     r0,28(r1)                              
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d110:	41 9e 00 24 	beq-    cr7,ffc0d134 <_User_extensions_Thread_switch+0x5c><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
ffc0d114:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0d118:	7f 83 e3 78 	mr      r3,r28                                 
ffc0d11c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d120:	7c 09 03 a6 	mtctr   r0                                     
ffc0d124:	4e 80 04 21 	bctrl                                          
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
ffc0d128:	83 ff 00 00 	lwz     r31,0(r31)                             
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
ffc0d12c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0d130:	40 9e ff e4 	bne+    cr7,ffc0d114 <_User_extensions_Thread_switch+0x3c>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
ffc0d134:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d138:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d13c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d140:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d144:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d148:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d14c:	38 21 00 18 	addi    r1,r1,24                               
ffc0d150:	4e 80 00 20 	blr                                            
                                                                      

ffc0f660 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0f660:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f664:	7c 08 02 a6 	mflr    r0                                     
ffc0f668:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0f66c:	7c be 2b 78 	mr      r30,r5                                 
ffc0f670:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0f674:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f678:	90 01 00 24 	stw     r0,36(r1)                              
ffc0f67c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0f680:	93 81 00 10 	stw     r28,16(r1)                             
ffc0f684:	93 a1 00 14 	stw     r29,20(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0f688:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f68c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f690:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0f694:	7d 20 01 24 	mtmsr   r9                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f698:	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 );                            
ffc0f69c:	3b 83 00 04 	addi    r28,r3,4                               
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
ffc0f6a0:	7c 0b 03 78 	mr      r11,r0                                 
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0f6a4:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0f6a8:	41 9e 00 74 	beq-    cr7,ffc0f71c <_Watchdog_Adjust+0xbc>   
    switch ( direction ) {                                            
ffc0f6ac:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0f6b0:	40 9e 00 94 	bne-    cr7,ffc0f744 <_Watchdog_Adjust+0xe4>   
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f6b4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0f6b8:	7c 0b 03 78 	mr      r11,r0                                 
ffc0f6bc:	41 9e 00 60 	beq-    cr7,ffc0f71c <_Watchdog_Adjust+0xbc>   <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f6c0:	83 a9 00 10 	lwz     r29,16(r9)                             
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f6c4:	3b 60 00 01 	li      r27,1                                  
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f6c8:	7f 85 e8 40 	cmplw   cr7,r5,r29                             
ffc0f6cc:	40 bc 00 18 	bge+    cr7,ffc0f6e4 <_Watchdog_Adjust+0x84>   <== ALWAYS TAKEN
ffc0f6d0:	48 00 00 b0 	b       ffc0f780 <_Watchdog_Adjust+0x120>      <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f6d4:	41 82 00 48 	beq-    ffc0f71c <_Watchdog_Adjust+0xbc>       <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f6d8:	83 a9 00 10 	lwz     r29,16(r9)                             
ffc0f6dc:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc0f6e0:	41 9d 00 a0 	bgt-    cr7,ffc0f780 <_Watchdog_Adjust+0x120>  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f6e4:	93 69 00 10 	stw     r27,16(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0f6e8:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0f6ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f6f0:	48 00 03 3d 	bl      ffc0fa2c <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0f6f4:	7d 60 00 a6 	mfmsr   r11                                    
ffc0f6f8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0f6fc:	7d 60 00 78 	andc    r0,r11,r0                              
ffc0f700:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f704:	80 1f 00 00 	lwz     r0,0(r31)                              
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f708:	7f dd f0 51 	subf.   r30,r29,r30                            
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0f70c:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
ffc0f710:	7c 09 03 78 	mr      r9,r0                                  
ffc0f714:	7d 60 5b 78 	mr      r0,r11                                 
ffc0f718:	40 9e ff bc 	bne+    cr7,ffc0f6d4 <_Watchdog_Adjust+0x74>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0f71c:	7d 60 01 24 	mtmsr   r11                                    
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f720:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f724:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f728:	7c 08 03 a6 	mtlr    r0                                     
ffc0f72c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f730:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f734:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f738:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f73c:	38 21 00 20 	addi    r1,r1,32                               
ffc0f740:	4e 80 00 20 	blr                                            
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0f744:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0f748:	40 9e ff d4 	bne+    cr7,ffc0f71c <_Watchdog_Adjust+0xbc>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0f74c:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0f750:	7f c0 2a 14 	add     r30,r0,r5                              
ffc0f754:	93 c9 00 10 	stw     r30,16(r9)                             
ffc0f758:	7d 60 01 24 	mtmsr   r11                                    
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f75c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f760:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f764:	7c 08 03 a6 	mtlr    r0                                     
ffc0f768:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f76c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f770:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f774:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f778:	38 21 00 20 	addi    r1,r1,32                               
ffc0f77c:	4e 80 00 20 	blr                                            
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
ffc0f780:	7f de e8 50 	subf    r30,r30,r29                            
ffc0f784:	93 c9 00 10 	stw     r30,16(r9)                             
            break;                                                    
ffc0f788:	4b ff ff 94 	b       ffc0f71c <_Watchdog_Adjust+0xbc>       
                                                                      

ffc213a0 <_Watchdog_Adjust_to_chain>: { Watchdog_Interval units = units_arg; ISR_Level level; Watchdog_Control *first; if ( units <= 0 ) {
ffc213a0:	2c 04 00 00 	cmpwi   r4,0                                   
  Chain_Control               *header,                                
  Watchdog_Interval            units_arg,                             
  Chain_Control               *to_fire                                
                                                                      
)                                                                     
{                                                                     
ffc213a4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc213a8:	93 e1 00 0c 	stw     r31,12(r1)                             
  Watchdog_Interval  units = units_arg;                               
  ISR_Level          level;                                           
  Watchdog_Control  *first;                                           
                                                                      
  if ( units <= 0 ) {                                                 
ffc213ac:	41 82 00 94 	beq-    ffc21440 <_Watchdog_Adjust_to_chain+0xa0>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc213b0:	7c c0 00 a6 	mfmsr   r6                                     
ffc213b4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc213b8:	7c c0 00 78 	andc    r0,r6,r0                               
ffc213bc:	7c 00 01 24 	mtmsr   r0                                     
    return;                                                           
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
ffc213c0:	81 23 00 00 	lwz     r9,0(r3)                               
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
    first->delta_interval = 0;                                        
ffc213c4:	3b e0 00 00 	li      r31,0                                  
ffc213c8:	38 e3 00 04 	addi    r7,r3,4                                
ffc213cc:	39 85 00 04 	addi    r12,r5,4                               
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
      break;                                                          
    }                                                                 
    if ( _Chain_Is_empty( header ) ) {                                
ffc213d0:	7f 89 38 00 	cmpw    cr7,r9,r7                              
ffc213d4:	41 9e 00 68 	beq-    cr7,ffc2143c <_Watchdog_Adjust_to_chain+0x9c>
                                                                      
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
ffc213d8:	80 09 00 10 	lwz     r0,16(r9)                              
ffc213dc:	7f 80 20 40 	cmplw   cr7,r0,r4                              
ffc213e0:	41 9d 00 6c 	bgt-    cr7,ffc2144c <_Watchdog_Adjust_to_chain+0xac>
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
    first->delta_interval = 0;                                        
ffc213e4:	93 e9 00 10 	stw     r31,16(r9)                             
                                                                      
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
ffc213e8:	7c 80 20 50 	subf    r4,r0,r4                               
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc213ec:	81 09 00 00 	lwz     r8,0(r9)                               
  previous       = the_node->previous;                                
ffc213f0:	81 49 00 04 	lwz     r10,4(r9)                              
  next->previous = previous;                                          
ffc213f4:	91 48 00 04 	stw     r10,4(r8)                              
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc213f8:	81 65 00 08 	lwz     r11,8(r5)                              
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc213fc:	91 0a 00 00 	stw     r8,0(r10)                              
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc21400:	91 89 00 00 	stw     r12,0(r9)                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc21404:	91 2b 00 00 	stw     r9,0(r11)                              
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc21408:	91 25 00 08 	stw     r9,8(r5)                               
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc2140c:	91 69 00 04 	stw     r11,4(r9)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc21410:	7c 00 00 a6 	mfmsr   r0                                     
ffc21414:	7c c0 01 24 	mtmsr   r6                                     
ffc21418:	7c 00 01 24 	mtmsr   r0                                     
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc2141c:	81 23 00 00 	lwz     r9,0(r3)                               
      _Chain_Extract_unprotected( &first->Node );                     
      _Chain_Append_unprotected( to_fire, &first->Node );             
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Chain_Is_empty( header ) )                                
ffc21420:	7f 87 48 00 	cmpw    cr7,r7,r9                              
ffc21424:	41 9e 00 10 	beq-    cr7,ffc21434 <_Watchdog_Adjust_to_chain+0x94>
        break;                                                        
      first = _Watchdog_First( header );                              
      if ( first->delta_interval != 0 )                               
ffc21428:	80 09 00 10 	lwz     r0,16(r9)                              
ffc2142c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc21430:	41 9e ff bc 	beq+    cr7,ffc213ec <_Watchdog_Adjust_to_chain+0x4c><== NEVER TAKEN
  }                                                                   
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( units <= 0 ) {                                               
ffc21434:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc21438:	40 9e ff 98 	bne+    cr7,ffc213d0 <_Watchdog_Adjust_to_chain+0x30>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc2143c:	7c c0 01 24 	mtmsr   r6                                     
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc21440:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc21444:	38 21 00 10 	addi    r1,r1,16                               
ffc21448:	4e 80 00 20 	blr                                            
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
      first->delta_interval -= units;                                 
ffc2144c:	7c 04 00 50 	subf    r0,r4,r0                               
ffc21450:	90 09 00 10 	stw     r0,16(r9)                              
      break;                                                          
ffc21454:	4b ff ff e8 	b       ffc2143c <_Watchdog_Adjust_to_chain+0x9c>
                                                                      

ffc0d154 <_Watchdog_Insert>: Watchdog_Control *after; uint32_t insert_isr_nest_level; Watchdog_Interval delta_interval; insert_isr_nest_level = _ISR_Nest_level;
ffc0d154:	3d 20 00 00 	lis     r9,0                                   
ffc0d158:	80 09 31 0c 	lwz     r0,12556(r9)                           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0d15c:	7c e0 00 a6 	mfmsr   r7                                     
ffc0d160:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d164:	7c e9 48 78 	andc    r9,r7,r9                               
ffc0d168:	7d 20 01 24 	mtmsr   r9                                     
  /*                                                                  
   *  Check to see if the watchdog has just been inserted by a        
   *  higher priority interrupt.  If so, abandon this insert.         
   */                                                                 
                                                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
ffc0d16c:	81 24 00 08 	lwz     r9,8(r4)                               
ffc0d170:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d174:	40 9e 01 0c 	bne-    cr7,ffc0d280 <_Watchdog_Insert+0x12c>  
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
ffc0d178:	3c a0 00 00 	lis     r5,0                                   
ffc0d17c:	81 25 27 e0 	lwz     r9,10208(r5)                           
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
ffc0d180:	39 60 00 01 	li      r11,1                                  
ffc0d184:	91 64 00 08 	stw     r11,8(r4)                              
ffc0d188:	3d 80 00 00 	lis     r12,0                                  
  _Watchdog_Sync_count++;                                             
ffc0d18c:	39 29 00 01 	addi    r9,r9,1                                
ffc0d190:	91 25 27 e0 	stw     r9,10208(r5)                           
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
ffc0d194:	81 24 00 0c 	lwz     r9,12(r4)                              
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
ffc0d198:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d19c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d1a0:	41 9e 00 98 	beq-    cr7,ffc0d238 <_Watchdog_Insert+0xe4>   
ffc0d1a4:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d1a8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d1ac:	41 9e 00 8c 	beq-    cr7,ffc0d238 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0d1b0:	81 4b 00 10 	lwz     r10,16(r11)                            
ffc0d1b4:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0d1b8:	41 9c 00 d0 	blt-    cr7,ffc0d288 <_Watchdog_Insert+0x134>  
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  asm volatile (                                                      
ffc0d1bc:	7d 00 00 a6 	mfmsr   r8                                     
ffc0d1c0:	7c e0 01 24 	mtmsr   r7                                     
ffc0d1c4:	7d 00 01 24 	mtmsr   r8                                     
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0d1c8:	81 04 00 08 	lwz     r8,8(r4)                               
ffc0d1cc:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0d1d0:	40 9e 00 98 	bne-    cr7,ffc0d268 <_Watchdog_Insert+0x114>  
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d1d4:	81 0c 27 d0 	lwz     r8,10192(r12)                          
ffc0d1d8:	38 cc 27 d0 	addi    r6,r12,10192                           
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0d1dc:	7d 2a 48 50 	subf    r9,r10,r9                              
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d1e0:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc0d1e4:	40 bc 00 48 	bge+    cr7,ffc0d22c <_Watchdog_Insert+0xd8>   
ffc0d1e8:	48 00 00 dc 	b       ffc0d2c4 <_Watchdog_Insert+0x170>      
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d1ec:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d1f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d1f4:	41 9e 00 44 	beq-    cr7,ffc0d238 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0d1f8:	81 4b 00 10 	lwz     r10,16(r11)                            
ffc0d1fc:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc0d200:	41 9d 00 88 	bgt-    cr7,ffc0d288 <_Watchdog_Insert+0x134>  
ffc0d204:	7d 00 00 a6 	mfmsr   r8                                     
ffc0d208:	7c e0 01 24 	mtmsr   r7                                     
ffc0d20c:	7d 00 01 24 	mtmsr   r8                                     
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0d210:	81 04 00 08 	lwz     r8,8(r4)                               
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0d214:	7d 2a 48 50 	subf    r9,r10,r9                              
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0d218:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0d21c:	40 9e 00 4c 	bne-    cr7,ffc0d268 <_Watchdog_Insert+0x114>  <== NEVER TAKEN
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0d220:	81 46 00 00 	lwz     r10,0(r6)                              
ffc0d224:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc0d228:	41 9c 00 9c 	blt-    cr7,ffc0d2c4 <_Watchdog_Insert+0x170>  <== NEVER TAKEN
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d22c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
ffc0d230:	81 6b 00 00 	lwz     r11,0(r11)                             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d234:	40 9e ff b8 	bne+    cr7,ffc0d1ec <_Watchdog_Insert+0x98>   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
ffc0d238:	81 6b 00 04 	lwz     r11,4(r11)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d23c:	3d 00 00 00 	lis     r8,0                                   
ffc0d240:	81 08 27 e4 	lwz     r8,10212(r8)                           
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
ffc0d244:	38 c0 00 02 	li      r6,2                                   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0d248:	81 4b 00 00 	lwz     r10,0(r11)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0d24c:	91 64 00 04 	stw     r11,4(r4)                              
ffc0d250:	90 c4 00 08 	stw     r6,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0d254:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0d258:	90 8b 00 00 	stw     r4,0(r11)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0d25c:	90 8a 00 04 	stw     r4,4(r10)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0d260:	91 44 00 00 	stw     r10,0(r4)                              
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d264:	91 04 00 14 	stw     r8,20(r4)                              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
ffc0d268:	90 0c 27 d0 	stw     r0,10192(r12)                          
  _Watchdog_Sync_count--;                                             
ffc0d26c:	81 25 27 e0 	lwz     r9,10208(r5)                           
ffc0d270:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0d274:	90 05 27 e0 	stw     r0,10208(r5)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0d278:	7c e0 01 24 	mtmsr   r7                                     
ffc0d27c:	4e 80 00 20 	blr                                            
ffc0d280:	7c e0 01 24 	mtmsr   r7                                     
ffc0d284:	4e 80 00 20 	blr                                            
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
ffc0d288:	7d 49 50 50 	subf    r10,r9,r10                             
ffc0d28c:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d290:	3d 00 00 00 	lis     r8,0                                   
ffc0d294:	38 c0 00 02 	li      r6,2                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
ffc0d298:	81 6b 00 04 	lwz     r11,4(r11)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d29c:	81 08 27 e4 	lwz     r8,10212(r8)                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0d2a0:	81 4b 00 00 	lwz     r10,0(r11)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0d2a4:	91 64 00 04 	stw     r11,4(r4)                              
ffc0d2a8:	90 c4 00 08 	stw     r6,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0d2ac:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0d2b0:	90 8b 00 00 	stw     r4,0(r11)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0d2b4:	90 8a 00 04 	stw     r4,4(r10)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0d2b8:	91 44 00 00 	stw     r10,0(r4)                              
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0d2bc:	91 04 00 14 	stw     r8,20(r4)                              
ffc0d2c0:	4b ff ff a8 	b       ffc0d268 <_Watchdog_Insert+0x114>      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
       _Watchdog_Sync_level = insert_isr_nest_level;                  
ffc0d2c4:	90 0c 27 d0 	stw     r0,10192(r12)                          
       goto restart;                                                  
ffc0d2c8:	4b ff fe cc 	b       ffc0d194 <_Watchdog_Insert+0x40>       
                                                                      

ffc0d324 <_Watchdog_Remove>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; asm volatile (
ffc0d324:	7d 20 00 a6 	mfmsr   r9                                     
ffc0d328:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0d32c:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0d330:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
ffc0d334:	80 03 00 08 	lwz     r0,8(r3)                               
  switch ( previous_state ) {                                         
ffc0d338:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0d33c:	41 9e 00 98 	beq-    cr7,ffc0d3d4 <_Watchdog_Remove+0xb0>   
ffc0d340:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc0d344:	40 9c 00 1c 	bge-    cr7,ffc0d360 <_Watchdog_Remove+0x3c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d348:	3d 60 00 00 	lis     r11,0                                  
ffc0d34c:	81 6b 27 e4 	lwz     r11,10212(r11)                         
ffc0d350:	91 63 00 18 	stw     r11,24(r3)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0d354:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d358:	7c 03 03 78 	mr      r3,r0                                  
ffc0d35c:	4e 80 00 20 	blr                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
ffc0d360:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc0d364:	41 bd ff e4 	bgt-    cr7,ffc0d348 <_Watchdog_Remove+0x24>   <== NEVER TAKEN
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d368:	81 63 00 00 	lwz     r11,0(r3)                              
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0d36c:	39 00 00 00 	li      r8,0                                   
ffc0d370:	91 03 00 08 	stw     r8,8(r3)                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
ffc0d374:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0d378:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d37c:	41 9e 00 14 	beq-    cr7,ffc0d390 <_Watchdog_Remove+0x6c>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0d380:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0d384:	81 43 00 10 	lwz     r10,16(r3)                             
ffc0d388:	7d 48 52 14 	add     r10,r8,r10                             
ffc0d38c:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0d390:	3d 40 00 00 	lis     r10,0                                  
ffc0d394:	81 4a 27 e0 	lwz     r10,10208(r10)                         
ffc0d398:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0d39c:	41 9e 00 14 	beq-    cr7,ffc0d3b0 <_Watchdog_Remove+0x8c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0d3a0:	3d 40 00 00 	lis     r10,0                                  
ffc0d3a4:	81 0a 31 0c 	lwz     r8,12556(r10)                          
ffc0d3a8:	3d 40 00 00 	lis     r10,0                                  
ffc0d3ac:	91 0a 27 d0 	stw     r8,10192(r10)                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0d3b0:	81 43 00 04 	lwz     r10,4(r3)                              
  next->previous = previous;                                          
ffc0d3b4:	91 4b 00 04 	stw     r10,4(r11)                             
  previous->next = next;                                              
ffc0d3b8:	91 6a 00 00 	stw     r11,0(r10)                             
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d3bc:	3d 60 00 00 	lis     r11,0                                  
ffc0d3c0:	81 6b 27 e4 	lwz     r11,10212(r11)                         
ffc0d3c4:	91 63 00 18 	stw     r11,24(r3)                             
ffc0d3c8:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d3cc:	7c 03 03 78 	mr      r3,r0                                  
ffc0d3d0:	4e 80 00 20 	blr                                            
                                                                      
      /*                                                              
       *  It is not actually on the chain so just change the state and
       *  the Insert operation we interrupted will be aborted.        
       */                                                             
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0d3d4:	39 60 00 00 	li      r11,0                                  
ffc0d3d8:	91 63 00 08 	stw     r11,8(r3)                              
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0d3dc:	3d 60 00 00 	lis     r11,0                                  
ffc0d3e0:	81 6b 27 e4 	lwz     r11,10212(r11)                         
ffc0d3e4:	91 63 00 18 	stw     r11,24(r3)                             
ffc0d3e8:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0d3ec:	7c 03 03 78 	mr      r3,r0                                  
ffc0d3f0:	4e 80 00 20 	blr                                            
                                                                      

ffc0eda8 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
ffc0eda8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0edac:	7c 08 02 a6 	mflr    r0                                     
ffc0edb0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0edb4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0edb8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0edbc:	7c 9f 23 78 	mr      r31,r4                                 
ffc0edc0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0edc4:	93 81 00 08 	stw     r28,8(r1)                              
ffc0edc8:	93 a1 00 0c 	stw     r29,12(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0edcc:	7f a0 00 a6 	mfmsr   r29                                    
ffc0edd0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0edd4:	7f a0 00 78 	andc    r0,r29,r0                              
ffc0edd8:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
ffc0eddc:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ede0:	7f e5 fb 78 	mr      r5,r31                                 
ffc0ede4:	38 63 2d b0 	addi    r3,r3,11696                            
ffc0ede8:	7f c4 f3 78 	mr      r4,r30                                 
ffc0edec:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0edf0:	4b ff 7e 25 	bl      ffc06c14 <printk>                      
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0edf4:	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 );                            
ffc0edf8:	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 ) ) {                               
ffc0edfc:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0ee00:	41 9e 00 54 	beq-    cr7,ffc0ee54 <_Watchdog_Report_chain+0xac>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
ffc0ee04:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ee08:	38 60 00 00 	li      r3,0                                   
ffc0ee0c:	48 00 00 5d 	bl      ffc0ee68 <_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 )                                       
ffc0ee10:	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 ) ;                           
ffc0ee14:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0ee18:	40 9e ff ec 	bne+    cr7,ffc0ee04 <_Watchdog_Report_chain+0x5c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
ffc0ee1c:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ee20:	38 63 2d c8 	addi    r3,r3,11720                            
ffc0ee24:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ee28:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ee2c:	4b ff 7d e9 	bl      ffc06c14 <printk>                      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0ee30:	7f a0 01 24 	mtmsr   r29                                    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0ee34:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ee38:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0ee3c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ee40:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ee44:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ee48:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ee4c:	38 21 00 18 	addi    r1,r1,24                               
ffc0ee50:	4e 80 00 20 	blr                                            
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
ffc0ee54:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ee58:	38 63 2d d8 	addi    r3,r3,11736                            
ffc0ee5c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ee60:	4b ff 7d b5 	bl      ffc06c14 <printk>                      
ffc0ee64:	4b ff ff cc 	b       ffc0ee30 <_Watchdog_Report_chain+0x88> 
                                                                      

ffc09f68 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
ffc09f68:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc09f6c:	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 );              
ffc09f70:	7c 83 23 78 	mr      r3,r4                                  
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
ffc09f74:	93 81 00 60 	stw     r28,96(r1)                             
ffc09f78:	7c bc 2b 78 	mr      r28,r5                                 
ffc09f7c:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc09f80:	7c 9f 23 78 	mr      r31,r4                                 
ffc09f84:	90 01 00 74 	stw     r0,116(r1)                             
ffc09f88:	93 41 00 58 	stw     r26,88(r1)                             
ffc09f8c:	93 61 00 5c 	stw     r27,92(r1)                             
ffc09f90:	93 a1 00 64 	stw     r29,100(r1)                            
ffc09f94:	93 c1 00 68 	stw     r30,104(r1)                            
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
ffc09f98:	4b ff e2 dd 	bl      ffc08274 <rtems_filesystem_dirname>    
                                                                      
  if ( old_parent_pathlen == 0 )                                      
ffc09f9c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09fa0:	40 82 01 cc 	bne-    ffc0a16c <_rename_r+0x204>             
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc09fa4:	3b a1 00 24 	addi    r29,r1,36                              
ffc09fa8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fac:	38 81 00 08 	addi    r4,r1,8                                
ffc09fb0:	7f a5 eb 78 	mr      r5,r29                                 
ffc09fb4:	48 00 04 bd 	bl      ffc0a470 <rtems_filesystem_get_start_loc>
ffc09fb8:	3b c0 00 00 	li      r30,0                                  
  rtems_filesystem_location_info_t    old_parent_loc;                 
  rtems_filesystem_location_info_t    new_parent_loc;                 
  int                                 i;                              
  int                                 result;                         
  const char                         *name;                           
  bool                                free_old_parentloc = false;     
ffc09fbc:	3b 60 00 00 	li      r27,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
ffc09fc0:	80 01 00 24 	lwz     r0,36(r1)                              
  name = old + old_parent_pathlen;                                    
ffc09fc4:	7f ff f2 14 	add     r31,r31,r30                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09fc8:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
ffc09fcc:	93 e1 00 0c 	stw     r31,12(r1)                             
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc09fd0:	3b c1 00 10 	addi    r30,r1,16                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
ffc09fd4:	90 01 00 10 	stw     r0,16(r1)                              
ffc09fd8:	80 01 00 28 	lwz     r0,40(r1)                              
ffc09fdc:	90 01 00 14 	stw     r0,20(r1)                              
ffc09fe0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09fe4:	90 01 00 18 	stw     r0,24(r1)                              
ffc09fe8:	80 01 00 30 	lwz     r0,48(r1)                              
ffc09fec:	90 01 00 1c 	stw     r0,28(r1)                              
ffc09ff0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09ff4:	90 01 00 20 	stw     r0,32(r1)                              
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09ff8:	48 01 1a 61 	bl      ffc1ba58 <strlen>                      
ffc09ffc:	7c 64 1b 78 	mr      r4,r3                                  
ffc0a000:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a004:	4b ff e2 d1 	bl      ffc082d4 <rtems_filesystem_prefix_separators>
ffc0a008:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc0a00c:	7f e3 fb 78 	mr      r3,r31                                 
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc0a010:	93 e1 00 0c 	stw     r31,12(r1)                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc0a014:	48 01 1a 45 	bl      ffc1ba58 <strlen>                      
ffc0a018:	38 a0 00 00 	li      r5,0                                   
ffc0a01c:	7c 64 1b 78 	mr      r4,r3                                  
ffc0a020:	7f c6 f3 78 	mr      r6,r30                                 
ffc0a024:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a028:	38 e0 00 00 	li      r7,0                                   
ffc0a02c:	4b ff e1 21 	bl      ffc0814c <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
ffc0a030:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a034:	40 9e 01 20 	bne-    cr7,ffc0a154 <_rename_r+0x1ec>         
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
ffc0a038:	3b e1 00 38 	addi    r31,r1,56                              
ffc0a03c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a040:	38 81 00 08 	addi    r4,r1,8                                
ffc0a044:	7f e5 fb 78 	mr      r5,r31                                 
ffc0a048:	48 00 04 29 	bl      ffc0a470 <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
ffc0a04c:	81 21 00 44 	lwz     r9,68(r1)                              
ffc0a050:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0a054:	7f e4 fb 78 	mr      r4,r31                                 
ffc0a058:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0a05c:	38 a1 00 0c 	addi    r5,r1,12                               
ffc0a060:	7c 7c 1a 14 	add     r3,r28,r3                              
ffc0a064:	7c 09 03 a6 	mtctr   r0                                     
ffc0a068:	4e 80 04 21 	bctrl                                          
  if ( result != 0 ) {                                                
ffc0a06c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a070:	40 9e 01 30 	bne-    cr7,ffc0a1a0 <_rename_r+0x238>         
  /*                                                                  
   *  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 ) {         
ffc0a074:	80 01 00 48 	lwz     r0,72(r1)                              
ffc0a078:	81 21 00 34 	lwz     r9,52(r1)                              
ffc0a07c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a080:	40 9e 00 78 	bne-    cr7,ffc0a0f8 <_rename_r+0x190>         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
ffc0a084:	81 21 00 44 	lwz     r9,68(r1)                              
ffc0a088:	7f c4 f3 78 	mr      r4,r30                                 
ffc0a08c:	7f e5 fb 78 	mr      r5,r31                                 
ffc0a090:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc0a094:	80 09 00 40 	lwz     r0,64(r9)                              
ffc0a098:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a09c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a0a0:	4e 80 04 21 	bctrl                                          
ffc0a0a4:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
ffc0a0a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a0ac:	4b ff e5 51 	bl      ffc085fc <rtems_filesystem_freenode>   
  if ( free_old_parentloc )                                           
ffc0a0b0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0a0b4:	40 9e 00 38 	bne-    cr7,ffc0a0ec <_rename_r+0x184>         
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
ffc0a0b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a0bc:	4b ff e5 41 	bl      ffc085fc <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc0a0c0:	80 01 00 74 	lwz     r0,116(r1)                             
ffc0a0c4:	7f 43 d3 78 	mr      r3,r26                                 
ffc0a0c8:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc0a0cc:	7c 08 03 a6 	mtlr    r0                                     
ffc0a0d0:	83 41 00 58 	lwz     r26,88(r1)                             
ffc0a0d4:	83 81 00 60 	lwz     r28,96(r1)                             
ffc0a0d8:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc0a0dc:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc0a0e0:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc0a0e4:	38 21 00 70 	addi    r1,r1,112                              
ffc0a0e8:	4e 80 00 20 	blr                                            
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
ffc0a0ec:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a0f0:	4b ff e5 0d 	bl      ffc085fc <rtems_filesystem_freenode>   
ffc0a0f4:	4b ff ff c4 	b       ffc0a0b8 <_rename_r+0x150>             
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc0a0f8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a0fc:	4b ff e5 01 	bl      ffc085fc <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc0a100:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0a104:	41 be 00 0c 	beq+    cr7,ffc0a110 <_rename_r+0x1a8>         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc0a108:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a10c:	4b ff e4 f1 	bl      ffc085fc <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc0a110:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a114:	4b ff e4 e9 	bl      ffc085fc <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EXDEV );                    
ffc0a118:	3b 40 ff ff 	li      r26,-1                                 
ffc0a11c:	48 00 de cd 	bl      ffc17fe8 <__errno>                     
ffc0a120:	38 00 00 12 	li      r0,18                                  
ffc0a124:	90 03 00 00 	stw     r0,0(r3)                               
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
ffc0a128:	7f 43 d3 78 	mr      r3,r26                                 
ffc0a12c:	80 01 00 74 	lwz     r0,116(r1)                             
ffc0a130:	83 41 00 58 	lwz     r26,88(r1)                             
ffc0a134:	7c 08 03 a6 	mtlr    r0                                     
ffc0a138:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc0a13c:	83 81 00 60 	lwz     r28,96(r1)                             
ffc0a140:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc0a144:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc0a148:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc0a14c:	38 21 00 70 	addi    r1,r1,112                              
ffc0a150:	4e 80 00 20 	blr                                            
  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 )                                         
ffc0a154:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
ffc0a158:	3b 40 ff ff 	li      r26,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
ffc0a15c:	41 9e ff 64 	beq+    cr7,ffc0a0c0 <_rename_r+0x158>         <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc0a160:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a164:	4b ff e4 99 	bl      ffc085fc <rtems_filesystem_freenode>   
ffc0a168:	4b ff ff 58 	b       ffc0a0c0 <_rename_r+0x158>             
  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, 
ffc0a16c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0a170:	3b a1 00 24 	addi    r29,r1,36                              
ffc0a174:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a178:	7f c4 f3 78 	mr      r4,r30                                 
ffc0a17c:	38 a0 00 02 	li      r5,2                                   
ffc0a180:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a184:	38 e0 00 00 	li      r7,0                                   
ffc0a188:	4b ff e0 71 	bl      ffc081f8 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc0a18c:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
ffc0a190:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a194:	40 be ff 2c 	bne-    cr7,ffc0a0c0 <_rename_r+0x158>         <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
ffc0a198:	3b 60 00 01 	li      r27,1                                  
ffc0a19c:	4b ff fe 24 	b       ffc09fc0 <_rename_r+0x58>              
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc0a1a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a1a4:	4b ff e4 59 	bl      ffc085fc <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc0a1a8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0a1ac:	41 be 00 0c 	beq+    cr7,ffc0a1b8 <_rename_r+0x250>         <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc0a1b0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a1b4:	4b ff e4 49 	bl      ffc085fc <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc0a1b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a1bc:	4b ff e4 41 	bl      ffc085fc <rtems_filesystem_freenode>   
    return -1;                                                        
ffc0a1c0:	3b 40 ff ff 	li      r26,-1                                 
ffc0a1c4:	4b ff fe fc 	b       ffc0a0c0 <_rename_r+0x158>             
                                                                      

ffc08da0 <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
ffc08da0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08da4:	7d 80 00 26 	mfcr    r12                                    
ffc08da8:	7c 08 02 a6 	mflr    r0                                     
ffc08dac:	93 e1 00 24 	stw     r31,36(r1)                             
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
ffc08db0:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
int  adjtime(                                                         
  struct timeval *delta,                                              
  struct timeval *olddelta                                            
)                                                                     
{                                                                     
ffc08db4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc08db8:	7c 9e 23 78 	mr      r30,r4                                 
ffc08dbc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc08dc0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc08dc4:	91 81 00 18 	stw     r12,24(r1)                             
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
ffc08dc8:	41 82 01 78 	beq-    ffc08f40 <adjtime+0x1a0>               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
ffc08dcc:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc08dd0:	3c 00 00 0f 	lis     r0,15                                  
ffc08dd4:	60 00 42 3f 	ori     r0,r0,16959                            
ffc08dd8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc08ddc:	41 9d 01 64 	bgt-    cr7,ffc08f40 <adjtime+0x1a0>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
ffc08de0:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc08de4:	41 92 00 14 	beq-    cr4,ffc08df8 <adjtime+0x58>            
    olddelta->tv_sec  = 0;                                            
ffc08de8:	38 00 00 00 	li      r0,0                                   
    olddelta->tv_usec = 0;                                            
ffc08dec:	90 04 00 04 	stw     r0,4(r4)                               
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
    olddelta->tv_sec  = 0;                                            
ffc08df0:	90 04 00 00 	stw     r0,0(r4)                               
    olddelta->tv_usec = 0;                                            
ffc08df4:	81 3f 00 04 	lwz     r9,4(r31)                              
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
ffc08df8:	80 1f 00 00 	lwz     r0,0(r31)                              
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
    return 0;                                                         
ffc08dfc:	38 60 00 00 	li      r3,0                                   
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
ffc08e00:	54 0a 40 2e 	rlwinm  r10,r0,8,0,23                          
ffc08e04:	54 0b 18 38 	rlwinm  r11,r0,3,0,28                          
ffc08e08:	7d 6b 50 50 	subf    r11,r11,r10                            
ffc08e0c:	55 6a 30 32 	rlwinm  r10,r11,6,0,25                         
ffc08e10:	7d 6b 50 50 	subf    r11,r11,r10                            
ffc08e14:	7c 0b 02 14 	add     r0,r11,r0                              
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
ffc08e18:	3d 60 00 00 	lis     r11,0                                  
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
ffc08e1c:	54 00 30 32 	rlwinm  r0,r0,6,0,25                           
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
ffc08e20:	81 4b 20 ac 	lwz     r10,8364(r11)                          
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
  adjustment += delta->tv_usec;                                       
ffc08e24:	7d 29 02 14 	add     r9,r9,r0                               
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
ffc08e28:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc08e2c:	40 9c 00 28 	bge-    cr7,ffc08e54 <adjtime+0xb4>            
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
ffc08e30:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc08e34:	81 81 00 18 	lwz     r12,24(r1)                             
ffc08e38:	7c 08 03 a6 	mtlr    r0                                     
ffc08e3c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc08e40:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc08e44:	7d 80 81 20 	mtcrf   8,r12                                  
ffc08e48:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc08e4c:	38 21 00 28 	addi    r1,r1,40                               
ffc08e50:	4e 80 00 20 	blr                                            
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc08e54:	3d 20 00 00 	lis     r9,0                                   
ffc08e58:	81 69 28 e8 	lwz     r11,10472(r9)                          
ffc08e5c:	38 0b 00 01 	addi    r0,r11,1                               
ffc08e60:	90 09 28 e8 	stw     r0,10472(r9)                           
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
ffc08e64:	3b a1 00 08 	addi    r29,r1,8                               
ffc08e68:	7f a3 eb 78 	mr      r3,r29                                 
ffc08e6c:	48 00 1f f9 	bl      ffc0ae64 <_TOD_Get>                    
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
ffc08e70:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc08e74:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08e78:	1d 29 03 e8 	mulli   r9,r9,1000                             
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
ffc08e7c:	81 41 00 08 	lwz     r10,8(r1)                              
ffc08e80:	81 7f 00 00 	lwz     r11,0(r31)                             
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
ffc08e84:	7d 29 02 14 	add     r9,r9,r0                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
ffc08e88:	3c 00 3b 9a 	lis     r0,15258                               
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
ffc08e8c:	91 21 00 0c 	stw     r9,12(r1)                              
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
ffc08e90:	60 00 c9 ff 	ori     r0,r0,51711                            
ffc08e94:	7f 89 00 40 	cmplw   cr7,r9,r0                              
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
ffc08e98:	7d 6a 5a 14 	add     r11,r10,r11                            
ffc08e9c:	91 61 00 08 	stw     r11,8(r1)                              
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
ffc08ea0:	40 9d 00 20 	ble-    cr7,ffc08ec0 <adjtime+0x120>           
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
ffc08ea4:	3d 29 c4 65 	addis   r9,r9,-15259                           
ffc08ea8:	39 29 36 00 	addi    r9,r9,13824                            
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
ffc08eac:	7f 89 00 40 	cmplw   cr7,r9,r0                              
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
ffc08eb0:	39 6b 00 01 	addi    r11,r11,1                              
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
ffc08eb4:	41 9d ff f0 	bgt+    cr7,ffc08ea4 <adjtime+0x104>           <== NEVER TAKEN
ffc08eb8:	91 21 00 0c 	stw     r9,12(r1)                              
ffc08ebc:	91 61 00 08 	stw     r11,8(r1)                              
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
ffc08ec0:	3c 00 c4 65 	lis     r0,-15259                              
ffc08ec4:	60 00 36 00 	ori     r0,r0,13824                            
ffc08ec8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc08ecc:	41 9d 00 24 	bgt-    cr7,ffc08ef0 <adjtime+0x150>           <== NEVER TAKEN
ffc08ed0:	81 61 00 08 	lwz     r11,8(r1)                              
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
ffc08ed4:	3d 29 3b 9b 	addis   r9,r9,15259                            
ffc08ed8:	39 29 ca 00 	addi    r9,r9,-13824                           
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
ffc08edc:	7f 89 00 40 	cmplw   cr7,r9,r0                              
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
ffc08ee0:	39 6b ff ff 	addi    r11,r11,-1                             
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
ffc08ee4:	40 9d ff f0 	ble+    cr7,ffc08ed4 <adjtime+0x134>           
ffc08ee8:	91 21 00 0c 	stw     r9,12(r1)                              
ffc08eec:	91 61 00 08 	stw     r11,8(r1)                              
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
ffc08ef0:	7f a3 eb 78 	mr      r3,r29                                 
ffc08ef4:	48 00 20 41 	bl      ffc0af34 <_TOD_Set>                    
                                                                      
  _Thread_Enable_dispatch();                                          
ffc08ef8:	48 00 3b c9 	bl      ffc0cac0 <_Thread_Enable_dispatch>     
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
ffc08efc:	41 92 00 3c 	beq-    cr4,ffc08f38 <adjtime+0x198>           
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
ffc08f00:	80 01 00 2c 	lwz     r0,44(r1)                              
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
ffc08f04:	38 60 00 00 	li      r3,0                                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
ffc08f08:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc08f0c:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
ffc08f10:	81 5f 00 04 	lwz     r10,4(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc08f14:	81 81 00 18 	lwz     r12,24(r1)                             
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
ffc08f18:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc08f1c:	7d 80 81 20 	mtcrf   8,r12                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
ffc08f20:	91 5e 00 04 	stw     r10,4(r30)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc08f24:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc08f28:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc08f2c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc08f30:	38 21 00 28 	addi    r1,r1,40                               
ffc08f34:	4e 80 00 20 	blr                                            
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
ffc08f38:	38 60 00 00 	li      r3,0                                   
ffc08f3c:	4b ff fe f4 	b       ffc08e30 <adjtime+0x90>                
   */                                                                 
  if ( !delta )                                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc08f40:	48 00 b5 8d 	bl      ffc144cc <__errno>                     
ffc08f44:	38 00 00 16 	li      r0,22                                  
ffc08f48:	90 03 00 00 	stw     r0,0(r3)                               
ffc08f4c:	38 60 ff ff 	li      r3,-1                                  
ffc08f50:	4b ff fe e0 	b       ffc08e30 <adjtime+0x90>                
                                                                      

ffc09834 <aio_cancel>: * operation(s) cannot be canceled */ int aio_cancel(int fildes, struct aiocb *aiocbp) {
ffc09834:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09838:	7c 08 02 a6 	mflr    r0                                     
ffc0983c:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
ffc09840:	3f e0 00 00 	lis     r31,0                                  
ffc09844:	3b ff 2c 50 	addi    r31,r31,11344                          
 *                          operation(s) cannot be canceled           
 */                                                                   
                                                                      
                                                                      
int aio_cancel(int fildes, struct aiocb  *aiocbp)                     
{                                                                     
ffc09848:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0984c:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
ffc09850:	7f e3 fb 78 	mr      r3,r31                                 
 *                          operation(s) cannot be canceled           
 */                                                                   
                                                                      
                                                                      
int aio_cancel(int fildes, struct aiocb  *aiocbp)                     
{                                                                     
ffc09854:	90 01 00 1c 	stw     r0,28(r1)                              
ffc09858:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0985c:	7c 9e 23 78 	mr      r30,r4                                 
ffc09860:	93 81 00 08 	stw     r28,8(r1)                              
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
ffc09864:	48 00 16 ad 	bl      ffc0af10 <pthread_mutex_lock>          
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
ffc09868:	7f a3 eb 78 	mr      r3,r29                                 
ffc0986c:	38 80 00 01 	li      r4,1                                   
ffc09870:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09874:	48 00 8f 09 	bl      ffc1277c <fcntl>                       
ffc09878:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0987c:	41 9c 01 bc 	blt-    cr7,ffc09a38 <aio_cancel+0x204>        
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
    rtems_set_errno_and_return_minus_one (EBADF);                     
  }                                                                   
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
ffc09880:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc09884:	41 9e 01 08 	beq-    cr7,ffc0998c <aio_cancel+0x158>        
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
    return AIO_CANCELED;                                              
  } else {                                                            
    AIO_printf ("Cancel request\n");                                  
                                                                      
    if (aiocbp->aio_fildes != fildes) {                               
ffc09888:	83 9e 00 00 	lwz     r28,0(r30)                             
ffc0988c:	7f 9c e8 00 	cmpw    cr7,r28,r29                            
ffc09890:	40 9e 00 e0 	bne-    cr7,ffc09970 <aio_cancel+0x13c>        
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
ffc09894:	38 7f 00 48 	addi    r3,r31,72                              
ffc09898:	7f 84 e3 78 	mr      r4,r28                                 
ffc0989c:	38 a0 00 00 	li      r5,0                                   
ffc098a0:	48 00 03 c1 	bl      ffc09c60 <rtems_aio_search_fd>         
    if (r_chain == NULL) {                                            
ffc098a4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc098a8:	41 82 00 54 	beq-    ffc098fc <aio_cancel+0xc8>             
        return AIO_ALLDONE;                                           
      }                                                               
    }                                                                 
      AIO_printf ("Request on [WQ]\n");                               
                                                                      
      pthread_mutex_lock (&r_chain->mutex);                           
ffc098ac:	3b 9d 00 1c 	addi    r28,r29,28                             
ffc098b0:	7f 83 e3 78 	mr      r3,r28                                 
ffc098b4:	48 00 16 5d 	bl      ffc0af10 <pthread_mutex_lock>          
      result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);        
ffc098b8:	7f c4 f3 78 	mr      r4,r30                                 
ffc098bc:	38 7d 00 08 	addi    r3,r29,8                               
ffc098c0:	48 00 09 25 	bl      ffc0a1e4 <rtems_aio_remove_req>        
ffc098c4:	7c 7e 1b 78 	mr      r30,r3                                 
      pthread_mutex_unlock (&r_chain->mutex);                         
ffc098c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc098cc:	48 00 17 11 	bl      ffc0afdc <pthread_mutex_unlock>        
      pthread_mutex_unlock (&aio_request_queue.mutex);                
ffc098d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc098d4:	48 00 17 09 	bl      ffc0afdc <pthread_mutex_unlock>        
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
ffc098d8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc098dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc098e0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc098e4:	7c 08 03 a6 	mtlr    r0                                     
ffc098e8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc098ec:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc098f0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc098f4:	38 21 00 18 	addi    r1,r1,24                               
ffc098f8:	4e 80 00 20 	blr                                            
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
ffc098fc:	81 3f 00 54 	lwz     r9,84(r31)                             
ffc09900:	38 1f 00 58 	addi    r0,r31,88                              
ffc09904:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc09908:	41 9e 00 58 	beq-    cr7,ffc09960 <aio_cancel+0x12c>        <== NEVER TAKEN
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
ffc0990c:	38 7f 00 54 	addi    r3,r31,84                              
ffc09910:	7f 84 e3 78 	mr      r4,r28                                 
ffc09914:	38 a0 00 00 	li      r5,0                                   
ffc09918:	48 00 03 49 	bl      ffc09c60 <rtems_aio_search_fd>         
        if (r_chain == NULL) {                                        
ffc0991c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09920:	41 82 00 50 	beq-    ffc09970 <aio_cancel+0x13c>            
          rtems_set_errno_and_return_minus_one (EINVAL);              
        }                                                             
                                                                      
        AIO_printf ("Request on [IQ]\n");                             
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
ffc09924:	7f c4 f3 78 	mr      r4,r30                                 
ffc09928:	38 63 00 08 	addi    r3,r3,8                                
ffc0992c:	48 00 08 b9 	bl      ffc0a1e4 <rtems_aio_remove_req>        
ffc09930:	7c 7e 1b 78 	mr      r30,r3                                 
        pthread_mutex_unlock (&aio_request_queue.mutex);              
ffc09934:	7f e3 fb 78 	mr      r3,r31                                 
ffc09938:	48 00 16 a5 	bl      ffc0afdc <pthread_mutex_unlock>        
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
ffc0993c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09940:	7f c3 f3 78 	mr      r3,r30                                 
ffc09944:	83 81 00 08 	lwz     r28,8(r1)                              
ffc09948:	7c 08 03 a6 	mtlr    r0                                     
ffc0994c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09950:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09954:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09958:	38 21 00 18 	addi    r1,r1,24                               
ffc0995c:	4e 80 00 20 	blr                                            
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
        return result;                                                
      } else {                                                        
        pthread_mutex_unlock (&aio_request_queue.mutex);              
ffc09960:	7f e3 fb 78 	mr      r3,r31                                 
ffc09964:	48 00 16 79 	bl      ffc0afdc <pthread_mutex_unlock>        
        return AIO_ALLDONE;                                           
ffc09968:	3b c0 00 02 	li      r30,2                                  
ffc0996c:	4b ff ff 6c 	b       ffc098d8 <aio_cancel+0xa4>             
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock (&aio_request_queue.mutex);            
ffc09970:	7f e3 fb 78 	mr      r3,r31                                 
ffc09974:	48 00 16 69 	bl      ffc0afdc <pthread_mutex_unlock>        
          rtems_set_errno_and_return_minus_one (EINVAL);              
ffc09978:	3b c0 ff ff 	li      r30,-1                                 
ffc0997c:	48 00 d3 21 	bl      ffc16c9c <__errno>                     
ffc09980:	38 00 00 16 	li      r0,22                                  
ffc09984:	90 03 00 00 	stw     r0,0(r3)                               
ffc09988:	4b ff ff 50 	b       ffc098d8 <aio_cancel+0xa4>             
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
    AIO_printf ("Cancel all requests\n");                             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
ffc0998c:	38 7f 00 48 	addi    r3,r31,72                              
ffc09990:	7f a4 eb 78 	mr      r4,r29                                 
ffc09994:	38 a0 00 00 	li      r5,0                                   
ffc09998:	48 00 02 c9 	bl      ffc09c60 <rtems_aio_search_fd>         
    if (r_chain == NULL) {                                            
ffc0999c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc099a0:	41 82 00 38 	beq-    ffc099d8 <aio_cancel+0x1a4>            
      return AIO_ALLDONE;                                             
    }                                                                 
                                                                      
    AIO_printf ("Request chain on [WQ]\n");                           
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
ffc099a4:	3b be 00 1c 	addi    r29,r30,28                             
ffc099a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc099ac:	48 00 15 65 	bl      ffc0af10 <pthread_mutex_lock>          
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc099b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc099b4:	48 00 38 d5 	bl      ffc0d288 <_Chain_Extract>              
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
ffc099b8:	7f c3 f3 78 	mr      r3,r30                                 
ffc099bc:	48 00 07 a1 	bl      ffc0a15c <rtems_aio_remove_fd>         
    pthread_mutex_unlock (&r_chain->mutex);                           
ffc099c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc099c4:	48 00 16 19 	bl      ffc0afdc <pthread_mutex_unlock>        
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
ffc099c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc099cc:	48 00 16 11 	bl      ffc0afdc <pthread_mutex_unlock>        
    return AIO_CANCELED;                                              
ffc099d0:	3b c0 00 00 	li      r30,0                                  
ffc099d4:	4b ff ff 04 	b       ffc098d8 <aio_cancel+0xa4>             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
ffc099d8:	81 3f 00 54 	lwz     r9,84(r31)                             
ffc099dc:	38 1f 00 58 	addi    r0,r31,88                              
ffc099e0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc099e4:	41 be ff 7c 	beq-    cr7,ffc09960 <aio_cancel+0x12c>        <== NEVER TAKEN
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
ffc099e8:	38 7f 00 54 	addi    r3,r31,84                              
ffc099ec:	7f a4 eb 78 	mr      r4,r29                                 
ffc099f0:	38 a0 00 00 	li      r5,0                                   
ffc099f4:	48 00 02 6d 	bl      ffc09c60 <rtems_aio_search_fd>         
        if (r_chain == NULL) {                                        
ffc099f8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc099fc:	41 a2 ff 64 	beq-    ffc09960 <aio_cancel+0x12c>            
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
        pthread_mutex_destroy (&r_chain->mutex);                      
ffc09a00:	3b be 00 1c 	addi    r29,r30,28                             
ffc09a04:	48 00 38 85 	bl      ffc0d288 <_Chain_Extract>              
        }                                                             
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
ffc09a08:	7f c3 f3 78 	mr      r3,r30                                 
ffc09a0c:	48 00 07 51 	bl      ffc0a15c <rtems_aio_remove_fd>         
        pthread_mutex_destroy (&r_chain->mutex);                      
ffc09a10:	7f a3 eb 78 	mr      r3,r29                                 
ffc09a14:	48 00 11 a9 	bl      ffc0abbc <pthread_mutex_destroy>       
        pthread_cond_destroy (&r_chain->mutex);                       
ffc09a18:	7f a3 eb 78 	mr      r3,r29                                 
ffc09a1c:	48 00 0c b5 	bl      ffc0a6d0 <pthread_cond_destroy>        
        free (r_chain);                                               
ffc09a20:	7f c3 f3 78 	mr      r3,r30                                 
ffc09a24:	4b ff bf 2d 	bl      ffc05950 <free>                        
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
ffc09a28:	7f e3 fb 78 	mr      r3,r31                                 
ffc09a2c:	48 00 15 b1 	bl      ffc0afdc <pthread_mutex_unlock>        
        return AIO_CANCELED;                                          
ffc09a30:	3b c0 00 00 	li      r30,0                                  
ffc09a34:	4b ff fe a4 	b       ffc098d8 <aio_cancel+0xa4>             
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
ffc09a38:	7f e3 fb 78 	mr      r3,r31                                 
ffc09a3c:	48 00 15 a1 	bl      ffc0afdc <pthread_mutex_unlock>        
    rtems_set_errno_and_return_minus_one (EBADF);                     
ffc09a40:	3b c0 ff ff 	li      r30,-1                                 
ffc09a44:	48 00 d2 59 	bl      ffc16c9c <__errno>                     
ffc09a48:	38 00 00 09 	li      r0,9                                   
ffc09a4c:	90 03 00 00 	stw     r0,0(r3)                               
ffc09a50:	4b ff fe 88 	b       ffc098d8 <aio_cancel+0xa4>             
                                                                      

ffc09a5c <aio_fsync>: ) { rtems_aio_request *req; int mode; if (op != O_SYNC)
ffc09a5c:	2f 83 20 00 	cmpwi   cr7,r3,8192                            
                                                                      
int aio_fsync(                                                        
  int            op,                                                  
  struct aiocb  *aiocbp                                               
)                                                                     
{                                                                     
ffc09a60:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09a64:	7c 08 02 a6 	mflr    r0                                     
ffc09a68:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc09a6c:	7c 9f 23 78 	mr      r31,r4                                 
ffc09a70:	90 01 00 14 	stw     r0,20(r1)                              
ffc09a74:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
ffc09a78:	40 9e 00 94 	bne-    cr7,ffc09b0c <aio_fsync+0xb0>          
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc09a7c:	80 64 00 00 	lwz     r3,0(r4)                               
ffc09a80:	38 80 00 03 	li      r4,3                                   
ffc09a84:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09a88:	48 00 8c f5 	bl      ffc1277c <fcntl>                       
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
ffc09a8c:	54 63 07 be 	clrlwi  r3,r3,30                               
ffc09a90:	38 63 ff ff 	addi    r3,r3,-1                               
ffc09a94:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc09a98:	41 9d 00 40 	bgt-    cr7,ffc09ad8 <aio_fsync+0x7c>          
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
ffc09a9c:	38 60 00 18 	li      r3,24                                  
ffc09aa0:	4b ff c6 61 	bl      ffc06100 <malloc>                      
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
ffc09aa4:	3b c0 00 0b 	li      r30,11                                 
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
ffc09aa8:	7c 69 1b 79 	mr.     r9,r3                                  
ffc09aac:	41 82 00 30 	beq-    ffc09adc <aio_fsync+0x80>              <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
ffc09ab0:	38 00 00 03 	li      r0,3                                   
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
ffc09ab4:	93 e9 00 14 	stw     r31,20(r9)                             
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
ffc09ab8:	90 1f 00 30 	stw     r0,48(r31)                             
                                                                      
  return rtems_aio_enqueue (req);                                     
ffc09abc:	48 00 07 d5 	bl      ffc0a290 <rtems_aio_enqueue>           
                                                                      
}                                                                     
ffc09ac0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09ac4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09ac8:	7c 08 03 a6 	mtlr    r0                                     
ffc09acc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09ad0:	38 21 00 10 	addi    r1,r1,16                               
ffc09ad4:	4e 80 00 20 	blr                                            
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
ffc09ad8:	3b c0 00 09 	li      r30,9                                  
ffc09adc:	38 00 ff ff 	li      r0,-1                                  
ffc09ae0:	93 df 00 34 	stw     r30,52(r31)                            
ffc09ae4:	90 1f 00 38 	stw     r0,56(r31)                             
ffc09ae8:	48 00 d1 b5 	bl      ffc16c9c <__errno>                     
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
ffc09aec:	80 01 00 14 	lwz     r0,20(r1)                              
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
ffc09af0:	93 c3 00 00 	stw     r30,0(r3)                              
ffc09af4:	38 60 ff ff 	li      r3,-1                                  
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
ffc09af8:	7c 08 03 a6 	mtlr    r0                                     
ffc09afc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09b00:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09b04:	38 21 00 10 	addi    r1,r1,16                               
ffc09b08:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
ffc09b0c:	3b c0 00 16 	li      r30,22                                 
ffc09b10:	4b ff ff cc 	b       ffc09adc <aio_fsync+0x80>              
                                                                      

ffc0a4c8 <aio_read>: * 0 - otherwise */ int aio_read (struct aiocb *aiocbp) {
ffc0a4c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a4cc:	7c 08 02 a6 	mflr    r0                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a4d0:	38 80 00 03 	li      r4,3                                   
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_read (struct aiocb *aiocbp)                                       
{                                                                     
ffc0a4d4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a4d8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a4dc:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a4e0:	80 63 00 00 	lwz     r3,0(r3)                               
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_read (struct aiocb *aiocbp)                                       
{                                                                     
ffc0a4e4:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a4e8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a4ec:	48 00 82 91 	bl      ffc1277c <fcntl>                       
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
ffc0a4f0:	70 63 00 03 	andi.   r3,r3,3                                
ffc0a4f4:	41 82 00 10 	beq-    ffc0a504 <aio_read+0x3c>               <== NEVER TAKEN
ffc0a4f8:	2f 83 00 02 	cmpwi   cr7,r3,2                               
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
ffc0a4fc:	3b c0 00 09 	li      r30,9                                  
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
ffc0a500:	40 9e 00 5c 	bne-    cr7,ffc0a55c <aio_read+0x94>           
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
ffc0a504:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0a508:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a50c:	40 9e 00 4c 	bne-    cr7,ffc0a558 <aio_read+0x90>           
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
ffc0a510:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0a514:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a518:	41 9c 00 40 	blt-    cr7,ffc0a558 <aio_read+0x90>           
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
ffc0a51c:	38 60 00 18 	li      r3,24                                  
ffc0a520:	4b ff bb e1 	bl      ffc06100 <malloc>                      
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
ffc0a524:	3b c0 00 0b 	li      r30,11                                 
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
ffc0a528:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0a52c:	41 82 00 30 	beq-    ffc0a55c <aio_read+0x94>               <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
ffc0a530:	38 00 00 01 	li      r0,1                                   
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
ffc0a534:	93 e9 00 14 	stw     r31,20(r9)                             
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
ffc0a538:	90 1f 00 30 	stw     r0,48(r31)                             
                                                                      
  return rtems_aio_enqueue (req);                                     
ffc0a53c:	4b ff fd 55 	bl      ffc0a290 <rtems_aio_enqueue>           
}                                                                     
ffc0a540:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a544:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a548:	7c 08 03 a6 	mtlr    r0                                     
ffc0a54c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a550:	38 21 00 10 	addi    r1,r1,16                               
ffc0a554:	4e 80 00 20 	blr                                            
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
ffc0a558:	3b c0 00 16 	li      r30,22                                 
ffc0a55c:	38 00 ff ff 	li      r0,-1                                  
ffc0a560:	93 df 00 34 	stw     r30,52(r31)                            
ffc0a564:	90 1f 00 38 	stw     r0,56(r31)                             
ffc0a568:	48 00 c7 35 	bl      ffc16c9c <__errno>                     
ffc0a56c:	93 c3 00 00 	stw     r30,0(r3)                              
ffc0a570:	38 60 ff ff 	li      r3,-1                                  
ffc0a574:	4b ff ff cc 	b       ffc0a540 <aio_read+0x78>               
                                                                      

ffc0a580 <aio_write>: * 0 - otherwise */ int aio_write (struct aiocb *aiocbp) {
ffc0a580:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a584:	7c 08 02 a6 	mflr    r0                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a588:	38 80 00 03 	li      r4,3                                   
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_write (struct aiocb *aiocbp)                                      
{                                                                     
ffc0a58c:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a590:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a594:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a598:	80 63 00 00 	lwz     r3,0(r3)                               
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_write (struct aiocb *aiocbp)                                      
{                                                                     
ffc0a59c:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
ffc0a5a0:	3b c0 00 09 	li      r30,9                                  
aio_write (struct aiocb *aiocbp)                                      
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
ffc0a5a4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a5a8:	48 00 81 d5 	bl      ffc1277c <fcntl>                       
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
ffc0a5ac:	54 63 07 be 	clrlwi  r3,r3,30                               
ffc0a5b0:	38 63 ff ff 	addi    r3,r3,-1                               
ffc0a5b4:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc0a5b8:	41 9d 00 5c 	bgt-    cr7,ffc0a614 <aio_write+0x94>          
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
ffc0a5bc:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0a5c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a5c4:	40 9e 00 4c 	bne-    cr7,ffc0a610 <aio_write+0x90>          
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
ffc0a5c8:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0a5cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a5d0:	41 9c 00 40 	blt-    cr7,ffc0a610 <aio_write+0x90>          
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
ffc0a5d4:	38 60 00 18 	li      r3,24                                  
ffc0a5d8:	4b ff bb 29 	bl      ffc06100 <malloc>                      
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
ffc0a5dc:	3b c0 00 0b 	li      r30,11                                 
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
ffc0a5e0:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0a5e4:	41 82 00 30 	beq-    ffc0a614 <aio_write+0x94>              <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
ffc0a5e8:	38 00 00 02 	li      r0,2                                   
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
ffc0a5ec:	93 e9 00 14 	stw     r31,20(r9)                             
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
ffc0a5f0:	90 1f 00 30 	stw     r0,48(r31)                             
                                                                      
  return rtems_aio_enqueue (req);                                     
ffc0a5f4:	4b ff fc 9d 	bl      ffc0a290 <rtems_aio_enqueue>           
}                                                                     
ffc0a5f8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a5fc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a600:	7c 08 03 a6 	mtlr    r0                                     
ffc0a604:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a608:	38 21 00 10 	addi    r1,r1,16                               
ffc0a60c:	4e 80 00 20 	blr                                            
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
ffc0a610:	3b c0 00 16 	li      r30,22                                 
ffc0a614:	38 00 ff ff 	li      r0,-1                                  
ffc0a618:	93 df 00 34 	stw     r30,52(r31)                            
ffc0a61c:	90 1f 00 38 	stw     r0,56(r31)                             
ffc0a620:	48 00 c6 7d 	bl      ffc16c9c <__errno>                     
ffc0a624:	93 c3 00 00 	stw     r30,0(r3)                              
ffc0a628:	38 60 ff ff 	li      r3,-1                                  
ffc0a62c:	4b ff ff cc 	b       ffc0a5f8 <aio_write+0x78>              
                                                                      

ffc04940 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
ffc04940:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04944:	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) {             
ffc04948:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc0494c:	93 e1 00 34 	stw     r31,52(r1)                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc04950:	3f e0 00 00 	lis     r31,0                                  
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc04954:	93 c1 00 30 	stw     r30,48(r1)                             
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
ffc04958:	83 df 26 fc 	lwz     r30,9980(r31)                          
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc0495c:	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) {             
ffc04960:	38 09 2b 10 	addi    r0,r9,11024                            
ffc04964:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc04968:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc0496c:	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) {             
ffc04970:	41 9e 00 90 	beq-    cr7,ffc04a00 <chroot+0xc0>             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
ffc04974:	7f a3 eb 78 	mr      r3,r29                                 
ffc04978:	48 00 ab 39 	bl      ffc0f4b0 <chdir>                       
  if (result) {                                                       
ffc0497c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04980:	40 9e 00 a4 	bne-    cr7,ffc04a24 <chroot+0xe4>             
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
ffc04984:	3c 60 ff c2 	lis     r3,-62                                 
ffc04988:	38 63 a7 a4 	addi    r3,r3,-22620                           
ffc0498c:	38 80 00 01 	li      r4,1                                   
ffc04990:	38 a0 00 00 	li      r5,0                                   
ffc04994:	38 c1 00 08 	addi    r6,r1,8                                
ffc04998:	38 e0 00 00 	li      r7,0                                   
ffc0499c:	48 00 01 f1 	bl      ffc04b8c <rtems_filesystem_evaluate_path>
ffc049a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc049a4:	40 9e 00 80 	bne-    cr7,ffc04a24 <chroot+0xe4>             <== NEVER TAKEN
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
ffc049a8:	80 7f 26 fc 	lwz     r3,9980(r31)                           
ffc049ac:	38 63 00 18 	addi    r3,r3,24                               
ffc049b0:	48 00 03 39 	bl      ffc04ce8 <rtems_filesystem_freenode>   
  rtems_filesystem_root = loc;                                        
ffc049b4:	81 3f 26 fc 	lwz     r9,9980(r31)                           
ffc049b8:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc049bc:	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;                                        
ffc049c0:	90 09 00 18 	stw     r0,24(r9)                              
ffc049c4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc049c8:	90 09 00 1c 	stw     r0,28(r9)                              
ffc049cc:	80 01 00 10 	lwz     r0,16(r1)                              
ffc049d0:	90 09 00 20 	stw     r0,32(r9)                              
ffc049d4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc049d8:	90 09 00 24 	stw     r0,36(r9)                              
ffc049dc:	80 01 00 18 	lwz     r0,24(r1)                              
ffc049e0:	90 09 00 28 	stw     r0,40(r9)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc049e4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc049e8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc049ec:	7c 08 03 a6 	mtlr    r0                                     
ffc049f0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc049f4:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc049f8:	38 21 00 38 	addi    r1,r1,56                               
ffc049fc:	4e 80 00 20 	blr                                            
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
ffc04a00:	48 00 18 ed 	bl      ffc062ec <rtems_libio_set_private_env> 
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
ffc04a04:	80 1f 26 fc 	lwz     r0,9980(r31)                           
ffc04a08:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc04a0c:	40 9e ff 68 	bne+    cr7,ffc04974 <chroot+0x34>             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc04a10:	48 00 f0 e1 	bl      ffc13af0 <__errno>                     
ffc04a14:	38 00 00 86 	li      r0,134                                 
ffc04a18:	90 03 00 00 	stw     r0,0(r3)                               
ffc04a1c:	38 60 ff ff 	li      r3,-1                                  
ffc04a20:	4b ff ff c4 	b       ffc049e4 <chroot+0xa4>                 
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
ffc04a24:	48 00 f0 cd 	bl      ffc13af0 <__errno>                     
ffc04a28:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04a2c:	48 00 f0 c5 	bl      ffc13af0 <__errno>                     
ffc04a30:	80 03 00 00 	lwz     r0,0(r3)                               
ffc04a34:	38 60 ff ff 	li      r3,-1                                  
ffc04a38:	90 1f 00 00 	stw     r0,0(r31)                              
ffc04a3c:	4b ff ff a8 	b       ffc049e4 <chroot+0xa4>                 
                                                                      

ffc08ba0 <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) { if ( !tp )
ffc08ba0:	2c 04 00 00 	cmpwi   r4,0                                   
                                                                      
int clock_gettime(                                                    
  clockid_t        clock_id,                                          
  struct timespec *tp                                                 
)                                                                     
{                                                                     
ffc08ba4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc08ba8:	7c 08 02 a6 	mflr    r0                                     
ffc08bac:	90 01 00 0c 	stw     r0,12(r1)                              
  if ( !tp )                                                          
ffc08bb0:	41 82 00 24 	beq-    ffc08bd4 <clock_gettime+0x34>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
ffc08bb4:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc08bb8:	41 9e 00 78 	beq-    cr7,ffc08c30 <clock_gettime+0x90>      
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
ffc08bbc:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc08bc0:	41 9e 00 54 	beq-    cr7,ffc08c14 <clock_gettime+0x74>      <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
ffc08bc4:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc08bc8:	41 9e 00 4c 	beq-    cr7,ffc08c14 <clock_gettime+0x74>      
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
ffc08bcc:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc08bd0:	41 9e 00 24 	beq-    cr7,ffc08bf4 <clock_gettime+0x54>      
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
ffc08bd4:	48 00 c0 69 	bl      ffc14c3c <__errno>                     
ffc08bd8:	38 00 00 16 	li      r0,22                                  
ffc08bdc:	90 03 00 00 	stw     r0,0(r3)                               
ffc08be0:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  return 0;                                                           
}                                                                     
ffc08be4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08be8:	38 21 00 08 	addi    r1,r1,8                                
ffc08bec:	7c 08 03 a6 	mtlr    r0                                     
ffc08bf0:	4e 80 00 20 	blr                                            
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
ffc08bf4:	48 00 c0 49 	bl      ffc14c3c <__errno>                     
ffc08bf8:	38 00 00 58 	li      r0,88                                  
ffc08bfc:	90 03 00 00 	stw     r0,0(r3)                               
ffc08c00:	38 60 ff ff 	li      r3,-1                                  
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
ffc08c04:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08c08:	38 21 00 08 	addi    r1,r1,8                                
ffc08c0c:	7c 08 03 a6 	mtlr    r0                                     
ffc08c10:	4e 80 00 20 	blr                                            
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
    _TOD_Get_uptime_as_timespec( tp );                                
ffc08c14:	7c 83 23 78 	mr      r3,r4                                  
ffc08c18:	48 00 29 f9 	bl      ffc0b610 <_TOD_Get_uptime_as_timespec> 
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
ffc08c1c:	80 01 00 0c 	lwz     r0,12(r1)                              
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
    _TOD_Get_uptime_as_timespec( tp );                                
    return 0;                                                         
ffc08c20:	38 60 00 00 	li      r3,0                                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
ffc08c24:	7c 08 03 a6 	mtlr    r0                                     
ffc08c28:	38 21 00 08 	addi    r1,r1,8                                
ffc08c2c:	4e 80 00 20 	blr                                            
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
ffc08c30:	7c 83 23 78 	mr      r3,r4                                  
ffc08c34:	48 00 29 45 	bl      ffc0b578 <_TOD_Get>                    
    return 0;                                                         
ffc08c38:	38 60 00 00 	li      r3,0                                   
ffc08c3c:	4b ff ff a8 	b       ffc08be4 <clock_gettime+0x44>          
                                                                      

ffc08c40 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) { if ( !tp )
ffc08c40:	2c 04 00 00 	cmpwi   r4,0                                   
                                                                      
int clock_settime(                                                    
  clockid_t              clock_id,                                    
  const struct timespec *tp                                           
)                                                                     
{                                                                     
ffc08c44:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc08c48:	7c 08 02 a6 	mflr    r0                                     
ffc08c4c:	90 01 00 0c 	stw     r0,12(r1)                              
  if ( !tp )                                                          
ffc08c50:	41 82 00 1c 	beq-    ffc08c6c <clock_settime+0x2c>          <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
ffc08c54:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc08c58:	41 9e 00 34 	beq-    cr7,ffc08c8c <clock_settime+0x4c>      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
ffc08c5c:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc08c60:	41 9e 00 70 	beq-    cr7,ffc08cd0 <clock_settime+0x90>      
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
ffc08c64:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc08c68:	41 9e 00 68 	beq-    cr7,ffc08cd0 <clock_settime+0x90>      
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc08c6c:	48 00 bf d1 	bl      ffc14c3c <__errno>                     
ffc08c70:	38 00 00 16 	li      r0,22                                  
ffc08c74:	90 03 00 00 	stw     r0,0(r3)                               
ffc08c78:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  return 0;                                                           
}                                                                     
ffc08c7c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08c80:	38 21 00 08 	addi    r1,r1,8                                
ffc08c84:	7c 08 03 a6 	mtlr    r0                                     
ffc08c88:	4e 80 00 20 	blr                                            
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
ffc08c8c:	81 24 00 00 	lwz     r9,0(r4)                               
ffc08c90:	3c 00 21 da 	lis     r0,8666                                
ffc08c94:	60 00 e4 ff 	ori     r0,r0,58623                            
ffc08c98:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc08c9c:	40 bd ff d0 	ble-    cr7,ffc08c6c <clock_settime+0x2c>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc08ca0:	3d 20 00 00 	lis     r9,0                                   
ffc08ca4:	81 69 28 38 	lwz     r11,10296(r9)                          
ffc08ca8:	38 0b 00 01 	addi    r0,r11,1                               
ffc08cac:	90 09 28 38 	stw     r0,10296(r9)                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
ffc08cb0:	7c 83 23 78 	mr      r3,r4                                  
ffc08cb4:	48 00 29 d5 	bl      ffc0b688 <_TOD_Set>                    
    _Thread_Enable_dispatch();                                        
ffc08cb8:	48 00 45 5d 	bl      ffc0d214 <_Thread_Enable_dispatch>     
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
}                                                                     
ffc08cbc:	80 01 00 0c 	lwz     r0,12(r1)                              
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
ffc08cc0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc08cc4:	7c 08 03 a6 	mtlr    r0                                     
ffc08cc8:	38 21 00 08 	addi    r1,r1,8                                
ffc08ccc:	4e 80 00 20 	blr                                            
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
ffc08cd0:	48 00 bf 6d 	bl      ffc14c3c <__errno>                     
ffc08cd4:	38 00 00 58 	li      r0,88                                  
ffc08cd8:	90 03 00 00 	stw     r0,0(r3)                               
ffc08cdc:	38 60 ff ff 	li      r3,-1                                  
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
}                                                                     
ffc08ce0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08ce4:	38 21 00 08 	addi    r1,r1,8                                
ffc08ce8:	7c 08 03 a6 	mtlr    r0                                     
ffc08cec:	4e 80 00 20 	blr                                            
                                                                      

ffc0d7ec <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc0d7ec:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0d7f0:	7c 08 02 a6 	mflr    r0                                     
ffc0d7f4:	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 ) )                         
ffc0d7f8:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
ffc0d7fc:	93 01 00 08 	stw     r24,8(r1)                              
ffc0d800:	7c d8 33 78 	mr      r24,r6                                 
ffc0d804:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0d808:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0d80c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0d810:	7c 9f 23 78 	mr      r31,r4                                 
ffc0d814:	93 21 00 0c 	stw     r25,12(r1)                             
ffc0d818:	93 41 00 10 	stw     r26,16(r1)                             
ffc0d81c:	93 61 00 14 	stw     r27,20(r1)                             
ffc0d820:	93 81 00 18 	stw     r28,24(r1)                             
ffc0d824:	93 a1 00 1c 	stw     r29,28(r1)                             
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0d828:	40 82 01 0c 	bne-    ffc0d934 <devFS_evaluate_path+0x148>   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc0d82c:	83 66 00 00 	lwz     r27,0(r6)                              
  if (!device_name_table)                                             
ffc0d830:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0d834:	41 9e 01 14 	beq-    cr7,ffc0d948 <devFS_evaluate_path+0x15c>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0d838:	3d 20 00 00 	lis     r9,0                                   
ffc0d83c:	83 49 27 50 	lwz     r26,10064(r9)                          
ffc0d840:	38 00 00 00 	li      r0,0                                   
ffc0d844:	3b a0 00 00 	li      r29,0                                  
ffc0d848:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0d84c:	41 9e 00 4c 	beq-    cr7,ffc0d898 <devFS_evaluate_path+0xac><== NEVER TAKEN
    if (!device_name_table[i].device_name)                            
ffc0d850:	1c 00 00 14 	mulli   r0,r0,20                               
ffc0d854:	7f 9b 00 2e 	lwzx    r28,r27,r0                             
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0d858:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d85c:	7f e5 fb 78 	mr      r5,r31                                 
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
ffc0d860:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0d864:	7f 84 e3 78 	mr      r4,r28                                 
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0d868:	3b bd 00 01 	addi    r29,r29,1                              
    if (!device_name_table[i].device_name)                            
ffc0d86c:	7f 3b 02 14 	add     r25,r27,r0                             
ffc0d870:	41 9e 00 1c 	beq-    cr7,ffc0d88c <devFS_evaluate_path+0xa0>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0d874:	48 00 43 e1 	bl      ffc11c54 <strncmp>                     
ffc0d878:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d87c:	40 9e 00 10 	bne-    cr7,ffc0d88c <devFS_evaluate_path+0xa0>
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
ffc0d880:	7c 1c f8 ae 	lbzx    r0,r28,r31                             
ffc0d884:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d888:	41 9e 00 50 	beq-    cr7,ffc0d8d8 <devFS_evaluate_path+0xec><== ALWAYS TAKEN
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0d88c:	7f 9a e8 40 	cmplw   cr7,r26,r29                            
ffc0d890:	7f a0 eb 78 	mr      r0,r29                                 
ffc0d894:	41 9d ff bc 	bgt+    cr7,ffc0d850 <devFS_evaluate_path+0x64>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0d898:	48 00 32 89 	bl      ffc10b20 <__errno>                     
ffc0d89c:	38 00 00 02 	li      r0,2                                   
ffc0d8a0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0d8a4:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0d8a8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0d8ac:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0d8b0:	7c 08 03 a6 	mtlr    r0                                     
ffc0d8b4:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0d8b8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0d8bc:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0d8c0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0d8c4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d8c8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d8cc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d8d0:	38 21 00 28 	addi    r1,r1,40                               
ffc0d8d4:	4e 80 00 20 	blr                                            
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0d8d8:	3d 20 00 00 	lis     r9,0                                   
ffc0d8dc:	81 29 27 a4 	lwz     r9,10148(r9)                           
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
ffc0d8e0:	93 38 00 00 	stw     r25,0(r24)                             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0d8e4:	80 09 00 28 	lwz     r0,40(r9)                              
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
ffc0d8e8:	3d 20 00 00 	lis     r9,0                                   
ffc0d8ec:	39 29 21 6c 	addi    r9,r9,8556                             
ffc0d8f0:	91 38 00 08 	stw     r9,8(r24)                              
    pathloc->ops = &devFS_ops;                                        
ffc0d8f4:	3d 20 00 00 	lis     r9,0                                   
ffc0d8f8:	39 29 21 a4 	addi    r9,r9,8612                             
ffc0d8fc:	91 38 00 0c 	stw     r9,12(r24)                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0d900:	90 18 00 10 	stw     r0,16(r24)                             
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0d904:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0d908:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0d90c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d910:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0d914:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0d918:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0d91c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0d920:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d924:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d928:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d92c:	38 21 00 28 	addi    r1,r1,40                               
ffc0d930:	4e 80 00 20 	blr                                            
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0d934:	48 00 31 ed 	bl      ffc10b20 <__errno>                     <== NOT EXECUTED
ffc0d938:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0d93c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0d940:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0d944:	4b ff ff c0 	b       ffc0d904 <devFS_evaluate_path+0x118>   <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc0d948:	48 00 31 d9 	bl      ffc10b20 <__errno>                     
ffc0d94c:	38 00 00 0e 	li      r0,14                                  
ffc0d950:	90 03 00 00 	stw     r0,0(r3)                               
ffc0d954:	38 60 ff ff 	li      r3,-1                                  
ffc0d958:	4b ff ff ac 	b       ffc0d904 <devFS_evaluate_path+0x118>   
                                                                      

ffc03fc0 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc03fc0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc03fc4:	7c 08 02 a6 	mflr    r0                                     
ffc03fc8:	93 81 00 18 	stw     r28,24(r1)                             
ffc03fcc:	7c dc 33 78 	mr      r28,r6                                 
ffc03fd0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc03fd4:	7c bd 2b 78 	mr      r29,r5                                 
ffc03fd8:	93 c1 00 20 	stw     r30,32(r1)                             
ffc03fdc:	7c 9e 23 78 	mr      r30,r4                                 
ffc03fe0:	93 e1 00 24 	stw     r31,36(r1)                             
ffc03fe4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc03fe8:	90 01 00 2c 	stw     r0,44(r1)                              
ffc03fec:	93 01 00 08 	stw     r24,8(r1)                              
ffc03ff0:	93 21 00 0c 	stw     r25,12(r1)                             
ffc03ff4:	93 41 00 10 	stw     r26,16(r1)                             
ffc03ff8:	93 61 00 14 	stw     r27,20(r1)                             
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
ffc03ffc:	88 03 00 00 	lbz     r0,0(r3)                               
ffc04000:	2f 80 00 64 	cmpwi   cr7,r0,100                             
ffc04004:	41 9e 01 40 	beq-    cr7,ffc04144 <devFS_mknod+0x184>       
      (path[2] == 'v') && (path[3] == '\0'))                          
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
ffc04008:	57 c0 04 26 	rlwinm  r0,r30,0,16,19                         
ffc0400c:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc04010:	41 9e 00 0c 	beq-    cr7,ffc0401c <devFS_mknod+0x5c>        
ffc04014:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc04018:	40 9e 01 58 	bne-    cr7,ffc04170 <devFS_mknod+0x1b0>       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc0401c:	83 47 00 00 	lwz     r26,0(r7)                              
  if (!device_name_table)                                             
ffc04020:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc04024:	41 9e 01 74 	beq-    cr7,ffc04198 <devFS_mknod+0x1d8>       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04028:	3d 20 00 00 	lis     r9,0                                   
ffc0402c:	83 29 27 50 	lwz     r25,10064(r9)                          
ffc04030:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc04034:	41 9e 01 50 	beq-    cr7,ffc04184 <devFS_mknod+0x1c4>       
ffc04038:	38 00 00 00 	li      r0,0                                   
ffc0403c:	3b 00 ff ff 	li      r24,-1                                 
ffc04040:	3b 60 00 00 	li      r27,0                                  
ffc04044:	48 00 00 20 	b       ffc04064 <devFS_mknod+0xa4>            
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc04048:	48 00 da b5 	bl      ffc11afc <strcmp>                      
ffc0404c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04050:	41 9e 00 b4 	beq-    cr7,ffc04104 <devFS_mknod+0x144>       
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04054:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04058:	7f 9b c8 40 	cmplw   cr7,r27,r25                            
ffc0405c:	7f 60 db 78 	mr      r0,r27                                 
ffc04060:	40 9c 00 30 	bge-    cr7,ffc04090 <devFS_mknod+0xd0>        
      if (device_name_table[i].device_name == NULL)                   
ffc04064:	1c 00 00 14 	mulli   r0,r0,20                               
ffc04068:	7c 1a 00 2e 	lwzx    r0,r26,r0                              
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc0406c:	7f e3 fb 78 	mr      r3,r31                                 
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
ffc04070:	2f 80 00 00 	cmpwi   cr7,r0,0                               
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc04074:	7c 04 03 78 	mr      r4,r0                                  
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
ffc04078:	40 9e ff d0 	bne+    cr7,ffc04048 <devFS_mknod+0x88>        
ffc0407c:	7f 78 db 78 	mr      r24,r27                                
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04080:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04084:	7f 9b c8 40 	cmplw   cr7,r27,r25                            
ffc04088:	7f 60 db 78 	mr      r0,r27                                 
ffc0408c:	41 9c ff d8 	blt+    cr7,ffc04064 <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)                                                     
ffc04090:	2f 98 ff ff 	cmpwi   cr7,r24,-1                             
ffc04094:	41 9e 00 f0 	beq-    cr7,ffc04184 <devFS_mknod+0x1c4>       <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc04098:	7f 60 00 a6 	mfmsr   r27                                    
ffc0409c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc040a0:	7f 60 00 78 	andc    r0,r27,r0                              
ffc040a4:	7c 00 01 24 	mtmsr   r0                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
ffc040a8:	1f 18 00 14 	mulli   r24,r24,20                             
ffc040ac:	7f fa c1 2e 	stwx    r31,r26,r24                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc040b0:	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;                
ffc040b4:	7f 5a c2 14 	add     r26,r26,r24                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc040b8:	48 00 da f9 	bl      ffc11bb0 <strlen>                      
  device_name_table[slot].major = major;                              
ffc040bc:	93 ba 00 08 	stw     r29,8(r26)                             
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
  device_name_table[slot].device_name_length = strlen(path);          
ffc040c0:	90 7a 00 04 	stw     r3,4(r26)                              
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
ffc040c4:	93 9a 00 0c 	stw     r28,12(r26)                            
  device_name_table[slot].mode  = mode;                               
ffc040c8:	93 da 00 10 	stw     r30,16(r26)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc040cc:	7f 60 01 24 	mtmsr   r27                                    
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
ffc040d0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc040d4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc040d8:	83 01 00 08 	lwz     r24,8(r1)                              
ffc040dc:	7c 08 03 a6 	mtlr    r0                                     
ffc040e0:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc040e4:	83 41 00 10 	lwz     r26,16(r1)                             
ffc040e8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc040ec:	83 81 00 18 	lwz     r28,24(r1)                             
ffc040f0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc040f4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc040f8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc040fc:	38 21 00 28 	addi    r1,r1,40                               
ffc04100:	4e 80 00 20 	blr                                            
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
      if (device_name_table[i].device_name == NULL)                   
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
ffc04104:	48 00 ca 1d 	bl      ffc10b20 <__errno>                     
ffc04108:	38 00 00 11 	li      r0,17                                  
ffc0410c:	90 03 00 00 	stw     r0,0(r3)                               
ffc04110:	38 60 ff ff 	li      r3,-1                                  
  device_name_table[slot].minor = minor;                              
  device_name_table[slot].mode  = mode;                               
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
}                                                                     
ffc04114:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc04118:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0411c:	7c 08 03 a6 	mtlr    r0                                     
ffc04120:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc04124:	83 41 00 10 	lwz     r26,16(r1)                             
ffc04128:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0412c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc04130:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc04134:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04138:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0413c:	38 21 00 28 	addi    r1,r1,40                               
ffc04140:	4e 80 00 20 	blr                                            
   * condition and do not create the '/dev' and the 'path'            
   * actually passed in is 'dev', not '/dev'. Just return 0 to        
   * indicate we are OK.                                              
   */                                                                 
                                                                      
  if ((path[0] == 'd') && (path[1] == 'e') &&                         
ffc04144:	88 03 00 01 	lbz     r0,1(r3)                               
ffc04148:	2f 80 00 65 	cmpwi   cr7,r0,101                             
ffc0414c:	40 9e fe bc 	bne+    cr7,ffc04008 <devFS_mknod+0x48>        <== NEVER TAKEN
ffc04150:	88 03 00 02 	lbz     r0,2(r3)                               
ffc04154:	2f 80 00 76 	cmpwi   cr7,r0,118                             
ffc04158:	40 9e fe b0 	bne+    cr7,ffc04008 <devFS_mknod+0x48>        <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
ffc0415c:	88 03 00 03 	lbz     r0,3(r3)                               
      return 0;                                                       
ffc04160:	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'))                          
ffc04164:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04168:	40 9e fe a0 	bne+    cr7,ffc04008 <devFS_mknod+0x48>        
ffc0416c:	4b ff ff 68 	b       ffc040d4 <devFS_mknod+0x114>           
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc04170:	48 00 c9 b1 	bl      ffc10b20 <__errno>                     
ffc04174:	38 00 00 16 	li      r0,22                                  
ffc04178:	90 03 00 00 	stw     r0,0(r3)                               
ffc0417c:	38 60 ff ff 	li      r3,-1                                  
ffc04180:	4b ff ff 54 	b       ffc040d4 <devFS_mknod+0x114>           
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
ffc04184:	48 00 c9 9d 	bl      ffc10b20 <__errno>                     
ffc04188:	38 00 00 0c 	li      r0,12                                  
ffc0418c:	90 03 00 00 	stw     r0,0(r3)                               
ffc04190:	38 60 ff ff 	li      r3,-1                                  
ffc04194:	4b ff ff 40 	b       ffc040d4 <devFS_mknod+0x114>           
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc04198:	48 00 c9 89 	bl      ffc10b20 <__errno>                     
ffc0419c:	38 00 00 0e 	li      r0,14                                  
ffc041a0:	90 03 00 00 	stw     r0,0(r3)                               
ffc041a4:	38 60 ff ff 	li      r3,-1                                  
ffc041a8:	4b ff ff 2c 	b       ffc040d4 <devFS_mknod+0x114>           
                                                                      

ffc05db0 <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
ffc05db0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05db4:	7c 08 02 a6 	mflr    r0                                     
ffc05db8:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc05dbc:	80 03 00 b4 	lwz     r0,180(r3)                             
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
ffc05dc0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05dc4:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc05dc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
ffc05dcc:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc05dd0:	41 9e 00 6c 	beq-    cr7,ffc05e3c <drainOutput+0x8c>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc05dd4:	7c 00 00 a6 	mfmsr   r0                                     
ffc05dd8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc05ddc:	7c 09 48 78 	andc    r9,r0,r9                               
ffc05de0:	7d 20 01 24 	mtmsr   r9                                     
    rtems_interrupt_disable (level);                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
ffc05de4:	81 63 00 84 	lwz     r11,132(r3)                            
ffc05de8:	81 23 00 80 	lwz     r9,128(r3)                             
ffc05dec:	7f 8b 48 00 	cmpw    cr7,r11,r9                             
ffc05df0:	41 9e 00 48 	beq-    cr7,ffc05e38 <drainOutput+0x88>        <== ALWAYS TAKEN
      tty->rawOutBufState = rob_wait;                                 
ffc05df4:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc05df8:	93 df 00 94 	stw     r30,148(r31)                           <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc05dfc:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc05e00:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc05e04:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc05e08:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc05e0c:	48 00 2e a5 	bl      ffc08cb0 <rtems_semaphore_obtain>      <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05e10:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc05e14:	40 9e 00 40 	bne-    cr7,ffc05e54 <drainOutput+0xa4>        <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc05e18:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc05e1c:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc05e20:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc05e24:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
    rtems_interrupt_disable (level);                                  
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
ffc05e28:	81 7f 00 84 	lwz     r11,132(r31)                           <== NOT EXECUTED
ffc05e2c:	81 3f 00 80 	lwz     r9,128(r31)                            <== NOT EXECUTED
ffc05e30:	7f 8b 48 00 	cmpw    cr7,r11,r9                             <== NOT EXECUTED
ffc05e34:	40 9e ff c4 	bne+    cr7,ffc05df8 <drainOutput+0x48>        <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc05e38:	7c 00 01 24 	mtmsr   r0                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  }                                                                   
}                                                                     
ffc05e3c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05e40:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05e44:	7c 08 03 a6 	mtlr    r0                                     
ffc05e48:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05e4c:	38 21 00 10 	addi    r1,r1,16                               
ffc05e50:	4e 80 00 20 	blr                                            
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
ffc05e54:	48 00 37 e9 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc06c70 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
ffc06c70:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06c74:	7c 08 02 a6 	mflr    r0                                     
ffc06c78:	90 01 00 24 	stw     r0,36(r1)                              
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc06c7c:	81 24 00 3c 	lwz     r9,60(r4)                              
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
ffc06c80:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06c84:	7c 9f 23 78 	mr      r31,r4                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc06c88:	71 20 02 00 	andi.   r0,r9,512                              
ffc06c8c:	41 82 00 2c 	beq-    ffc06cb8 <echo+0x48>                   <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc06c90:	3d 20 00 00 	lis     r9,0                                   
ffc06c94:	81 29 27 2c 	lwz     r9,10028(r9)                           
ffc06c98:	7d 29 1a 14 	add     r9,r9,r3                               
ffc06c9c:	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) &&                             
ffc06ca0:	70 09 00 20 	andi.   r9,r0,32                               
ffc06ca4:	41 82 00 14 	beq-    ffc06cb8 <echo+0x48>                   
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc06ca8:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc06cac:	41 9e 00 0c 	beq-    cr7,ffc06cb8 <echo+0x48>               
ffc06cb0:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc06cb4:	40 9e 00 20 	bne-    cr7,ffc06cd4 <echo+0x64>               
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
ffc06cb8:	7f e4 fb 78 	mr      r4,r31                                 
ffc06cbc:	4b ff fe 1d 	bl      ffc06ad8 <oproc>                       
  }                                                                   
}                                                                     
ffc06cc0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06cc4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06cc8:	38 21 00 20 	addi    r1,r1,32                               
ffc06ccc:	7c 08 03 a6 	mtlr    r0                                     
ffc06cd0:	4e 80 00 20 	blr                                            
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
ffc06cd4:	68 60 00 40 	xori    r0,r3,64                               
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc06cd8:	39 20 00 5e 	li      r9,94                                  
    echobuf[1] = c ^ 0x40;                                            
ffc06cdc:	98 01 00 09 	stb     r0,9(r1)                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc06ce0:	38 61 00 08 	addi    r3,r1,8                                
ffc06ce4:	7f e5 fb 78 	mr      r5,r31                                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc06ce8:	99 21 00 08 	stb     r9,8(r1)                               
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc06cec:	38 80 00 02 	li      r4,2                                   
ffc06cf0:	4b ff fc 65 	bl      ffc06954 <rtems_termios_puts>          
    tty->column += 2;                                                 
ffc06cf4:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06cf8:	38 09 00 02 	addi    r0,r9,2                                
ffc06cfc:	90 1f 00 28 	stw     r0,40(r31)                             
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
ffc06d00:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06d04:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06d08:	38 21 00 20 	addi    r1,r1,32                               
ffc06d0c:	7c 08 03 a6 	mtlr    r0                                     
ffc06d10:	4e 80 00 20 	blr                                            
                                                                      

ffc060d8 <endgrent>: void endgrent(void) { if (group_fp != NULL)
ffc060d8:	3d 20 00 00 	lis     r9,0                                   
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc060dc:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc060e0:	7c 08 02 a6 	mflr    r0                                     
  if (group_fp != NULL)                                               
ffc060e4:	80 69 2a 54 	lwz     r3,10836(r9)                           
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc060e8:	90 01 00 0c 	stw     r0,12(r1)                              
  if (group_fp != NULL)                                               
ffc060ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc060f0:	41 9e 00 08 	beq-    cr7,ffc060f8 <endgrent+0x20>           <== NEVER TAKEN
    fclose(group_fp);                                                 
ffc060f4:	48 00 ea ed 	bl      ffc14be0 <fclose>                      
}                                                                     
ffc060f8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc060fc:	38 21 00 08 	addi    r1,r1,8                                
ffc06100:	7c 08 03 a6 	mtlr    r0                                     
ffc06104:	4e 80 00 20 	blr                                            
                                                                      

ffc05f08 <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
ffc05f08:	3d 20 00 00 	lis     r9,0                                   
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc05f0c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05f10:	7c 08 02 a6 	mflr    r0                                     
  if (passwd_fp != NULL)                                              
ffc05f14:	80 69 29 78 	lwz     r3,10616(r9)                           
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc05f18:	90 01 00 0c 	stw     r0,12(r1)                              
  if (passwd_fp != NULL)                                              
ffc05f1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05f20:	41 9e 00 08 	beq-    cr7,ffc05f28 <endpwent+0x20>           <== NEVER TAKEN
    fclose(passwd_fp);                                                
ffc05f24:	48 00 ec bd 	bl      ffc14be0 <fclose>                      
}                                                                     
ffc05f28:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05f2c:	38 21 00 08 	addi    r1,r1,8                                
ffc05f30:	7c 08 03 a6 	mtlr    r0                                     
ffc05f34:	4e 80 00 20 	blr                                            
                                                                      

ffc06d14 <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) {
ffc06d14:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06d18:	7c 08 02 a6 	mflr    r0                                     
ffc06d1c:	7d 80 00 26 	mfcr    r12                                    
ffc06d20:	90 01 00 2c 	stw     r0,44(r1)                              
  if (tty->ccount == 0)                                               
ffc06d24:	81 23 00 20 	lwz     r9,32(r3)                              
 * FIXME: Needs support for WERASE and ECHOPRT.                       
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
ffc06d28:	93 e1 00 24 	stw     r31,36(r1)                             
ffc06d2c:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->ccount == 0)                                               
ffc06d30:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 * FIXME: Needs support for WERASE and ECHOPRT.                       
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
ffc06d34:	93 41 00 10 	stw     r26,16(r1)                             
ffc06d38:	93 61 00 14 	stw     r27,20(r1)                             
ffc06d3c:	93 81 00 18 	stw     r28,24(r1)                             
ffc06d40:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc06d44:	93 c1 00 20 	stw     r30,32(r1)                             
ffc06d48:	91 81 00 0c 	stw     r12,12(r1)                             
  if (tty->ccount == 0)                                               
ffc06d4c:	41 9e 00 a0 	beq-    cr7,ffc06dec <erase+0xd8>              
    return;                                                           
  if (lineFlag) {                                                     
ffc06d50:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc06d54:	40 92 00 88 	bne-    cr4,ffc06ddc <erase+0xc8>              
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc06d58:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc06d5c:	54 0b 07 38 	rlwinm  r11,r0,0,28,28                         
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06d60:	3f 60 ff c2 	lis     r27,-62                                
ffc06d64:	3f a0 ff c2 	lis     r29,-62                                
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc06d68:	3f 80 00 00 	lis     r28,0                                  
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06d6c:	3b 7b a1 78 	addi    r27,r27,-24200                         
ffc06d70:	3b bd a1 74 	addi    r29,r29,-24204                         
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc06d74:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc06d78:	81 5f 00 1c 	lwz     r10,28(r31)                            
ffc06d7c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc06d80:	91 3f 00 20 	stw     r9,32(r31)                             
ffc06d84:	7f ca 48 ae 	lbzx    r30,r10,r9                             
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc06d88:	41 9e 00 38 	beq-    cr7,ffc06dc0 <erase+0xac>              <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc06d8c:	40 92 00 0c 	bne-    cr4,ffc06d98 <erase+0x84>              
ffc06d90:	70 0b 00 10 	andi.   r11,r0,16                              
ffc06d94:	41 82 01 e8 	beq-    ffc06f7c <erase+0x268>                 <== NEVER TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
ffc06d98:	2f 9e 00 09 	cmpwi   cr7,r30,9                              
ffc06d9c:	41 9e 00 e8 	beq-    cr7,ffc06e84 <erase+0x170>             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc06da0:	81 3c 27 2c 	lwz     r9,10028(r28)                          
ffc06da4:	3b de 00 01 	addi    r30,r30,1                              
ffc06da8:	7f 7a db 78 	mr      r26,r27                                
ffc06dac:	7d 29 f0 ae 	lbzx    r9,r9,r30                              
ffc06db0:	71 2b 00 20 	andi.   r11,r9,32                              
ffc06db4:	41 82 00 a8 	beq-    ffc06e5c <erase+0x148>                 <== ALWAYS TAKEN
ffc06db8:	70 09 02 00 	andi.   r9,r0,512                              <== NOT EXECUTED
ffc06dbc:	40 82 00 60 	bne-    ffc06e1c <erase+0x108>                 <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc06dc0:	41 92 00 2c 	beq-    cr4,ffc06dec <erase+0xd8>              
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc06dc4:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06dc8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06dcc:	41 9e 00 20 	beq-    cr7,ffc06dec <erase+0xd8>              
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
ffc06dd0:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc06dd4:	54 0b 07 38 	rlwinm  r11,r0,0,28,28                         
ffc06dd8:	4b ff ff 9c 	b       ffc06d74 <erase+0x60>                  
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc06ddc:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc06de0:	70 0b 00 08 	andi.   r11,r0,8                               
ffc06de4:	40 a2 01 3c 	bne+    ffc06f20 <erase+0x20c>                 <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc06de8:	91 63 00 20 	stw     r11,32(r3)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06dec:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06df0:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc06df4:	7c 08 03 a6 	mtlr    r0                                     
ffc06df8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc06dfc:	83 61 00 14 	lwz     r27,20(r1)                             
ffc06e00:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06e04:	83 81 00 18 	lwz     r28,24(r1)                             
ffc06e08:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06e0c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06e10:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06e14:	38 21 00 28 	addi    r1,r1,40                               
ffc06e18:	4e 80 00 20 	blr                                            
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06e1c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc06e20:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc06e24:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc06e28:	4b ff fb 2d 	bl      ffc06954 <rtems_termios_puts>          <== NOT EXECUTED
          if (tty->column)                                            
ffc06e2c:	81 3f 00 28 	lwz     r9,40(r31)                             <== NOT EXECUTED
ffc06e30:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06e34:	41 9e 00 0c 	beq-    cr7,ffc06e40 <erase+0x12c>             <== NOT EXECUTED
            tty->column--;                                            
ffc06e38:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc06e3c:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
ffc06e40:	81 3c 27 2c 	lwz     r9,10028(r28)                          <== NOT EXECUTED
ffc06e44:	7c 09 f0 ae 	lbzx    r0,r9,r30                              <== NOT EXECUTED
ffc06e48:	70 0b 00 20 	andi.   r11,r0,32                              <== NOT EXECUTED
ffc06e4c:	41 82 00 10 	beq-    ffc06e5c <erase+0x148>                 <== NOT EXECUTED
ffc06e50:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
ffc06e54:	70 09 02 00 	andi.   r9,r0,512                              <== NOT EXECUTED
ffc06e58:	41 a2 ff 68 	beq-    ffc06dc0 <erase+0xac>                  <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06e5c:	7f 43 d3 78 	mr      r3,r26                                 
ffc06e60:	38 80 00 03 	li      r4,3                                   
ffc06e64:	7f e5 fb 78 	mr      r5,r31                                 
ffc06e68:	4b ff fa ed 	bl      ffc06954 <rtems_termios_puts>          
          if (tty->column)                                            
ffc06e6c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06e70:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06e74:	41 be ff 4c 	beq-    cr7,ffc06dc0 <erase+0xac>              <== NEVER TAKEN
            tty->column--;                                            
ffc06e78:	39 29 ff ff 	addi    r9,r9,-1                               
ffc06e7c:	91 3f 00 28 	stw     r9,40(r31)                             
ffc06e80:	4b ff ff 40 	b       ffc06dc0 <erase+0xac>                  
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06e84:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
ffc06e88:	83 df 00 2c 	lwz     r30,44(r31)                            
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06e8c:	41 9e 00 44 	beq-    cr7,ffc06ed0 <erase+0x1bc>             
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06e90:	7d 29 03 a6 	mtctr   r9                                     
ffc06e94:	54 0b bf fe 	rlwinm  r11,r0,23,31,31                        
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc06e98:	81 1c 27 2c 	lwz     r8,10028(r28)                          
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06e9c:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
        int i = 0;                                                    
ffc06ea0:	39 60 00 00 	li      r11,0                                  
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
ffc06ea4:	7c 0a 58 ae 	lbzx    r0,r10,r11                             
ffc06ea8:	39 6b 00 01 	addi    r11,r11,1                              
          if (c == '\t') {                                            
ffc06eac:	2f 80 00 09 	cmpwi   cr7,r0,9                               
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc06eb0:	7d 28 02 14 	add     r9,r8,r0                               
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
ffc06eb4:	41 9e 00 5c 	beq-    cr7,ffc06f10 <erase+0x1fc>             
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc06eb8:	88 09 00 01 	lbz     r0,1(r9)                               
ffc06ebc:	70 09 00 20 	andi.   r9,r0,32                               
ffc06ec0:	41 82 00 44 	beq-    ffc06f04 <erase+0x1f0>                 <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06ec4:	41 9a 00 08 	beq-    cr6,ffc06ecc <erase+0x1b8>             <== NOT EXECUTED
              col += 2;                                               
ffc06ec8:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06ecc:	42 00 ff d8 	bdnz+   ffc06ea4 <erase+0x190>                 <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc06ed0:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc06ed4:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc06ed8:	40 bc fe e8 	bge-    cr7,ffc06dc0 <erase+0xac>              <== NEVER TAKEN
          rtems_termios_puts ("\b", 1, tty);                          
ffc06edc:	7f a3 eb 78 	mr      r3,r29                                 
ffc06ee0:	38 80 00 01 	li      r4,1                                   
ffc06ee4:	7f e5 fb 78 	mr      r5,r31                                 
ffc06ee8:	4b ff fa 6d 	bl      ffc06954 <rtems_termios_puts>          
          tty->column--;                                              
ffc06eec:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06ef0:	38 09 ff ff 	addi    r0,r9,-1                               
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc06ef4:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
ffc06ef8:	90 1f 00 28 	stw     r0,40(r31)                             
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc06efc:	41 9d ff e0 	bgt+    cr7,ffc06edc <erase+0x1c8>             
ffc06f00:	4b ff fe c0 	b       ffc06dc0 <erase+0xac>                  
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
ffc06f04:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06f08:	42 00 ff 9c 	bdnz+   ffc06ea4 <erase+0x190>                 
ffc06f0c:	4b ff ff c4 	b       ffc06ed0 <erase+0x1bc>                 
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
ffc06f10:	63 de 00 07 	ori     r30,r30,7                              
ffc06f14:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06f18:	42 00 ff 8c 	bdnz+   ffc06ea4 <erase+0x190>                 
ffc06f1c:	4b ff ff b4 	b       ffc06ed0 <erase+0x1bc>                 <== NOT EXECUTED
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
ffc06f20:	70 0a 00 10 	andi.   r10,r0,16                              
ffc06f24:	40 82 fe 3c 	bne+    ffc06d60 <erase+0x4c>                  <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc06f28:	91 43 00 20 	stw     r10,32(r3)                             <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
ffc06f2c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc06f30:	88 63 00 44 	lbz     r3,68(r3)                              <== NOT EXECUTED
ffc06f34:	4b ff fd 3d 	bl      ffc06c70 <echo>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
ffc06f38:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
        echo ('\n', tty);                                             
ffc06f3c:	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)                               
ffc06f40:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc06f44:	41 82 fe a8 	beq+    ffc06dec <erase+0xd8>                  <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06f48:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06f4c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06f50:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc06f54:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06f58:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc06f5c:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc06f60:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc06f64:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc06f68:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc06f6c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc06f70:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc06f74:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06f78:	4b ff fc f8 	b       ffc06c70 <echo>                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06f7c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06f80:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06f84:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc06f88:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06f8c:	88 7f 00 43 	lbz     r3,67(r31)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06f90:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc06f94:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc06f98:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc06f9c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc06fa0:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc06fa4:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc06fa8:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc06fac:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06fb0:	4b ff fc c0 	b       ffc06c70 <echo>                        <== NOT EXECUTED
                                                                      

ffc05780 <fcntl>: int fcntl( int fd, int cmd, ... ) {
ffc05780:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc05784:	7c 08 02 a6 	mflr    r0                                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc05788:	3d 20 00 00 	lis     r9,0                                   
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc0578c:	90 01 00 3c 	stw     r0,60(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc05790:	80 09 26 cc 	lwz     r0,9932(r9)                            
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc05794:	39 20 00 02 	li      r9,2                                   
ffc05798:	99 21 00 08 	stb     r9,8(r1)                               
ffc0579c:	39 21 00 40 	addi    r9,r1,64                               
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc057a0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc057a4:	91 21 00 0c 	stw     r9,12(r1)                              
ffc057a8:	39 21 00 10 	addi    r9,r1,16                               
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc057ac:	93 c1 00 30 	stw     r30,48(r1)                             
ffc057b0:	93 e1 00 34 	stw     r31,52(r1)                             
ffc057b4:	90 a1 00 18 	stw     r5,24(r1)                              
ffc057b8:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc057bc:	90 e1 00 20 	stw     r7,32(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc057c0:	91 21 00 10 	stw     r9,16(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc057c4:	40 9c 02 08 	bge-    cr7,ffc059cc <fcntl+0x24c>             
  iop = rtems_libio_iop( fd );                                        
ffc057c8:	3f e0 00 00 	lis     r31,0                                  
ffc057cc:	81 7f 27 8c 	lwz     r11,10124(r31)                         
ffc057d0:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc057d4:	7f cb 1a 14 	add     r30,r11,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc057d8:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc057dc:	70 69 01 00 	andi.   r9,r3,256                              
ffc057e0:	41 82 01 ec 	beq-    ffc059cc <fcntl+0x24c>                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc057e4:	2b 84 00 09 	cmplwi  cr7,r4,9                               
ffc057e8:	40 9d 00 30 	ble-    cr7,ffc05818 <fcntl+0x98>              
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
ffc057ec:	48 00 f3 79 	bl      ffc14b64 <__errno>                     
ffc057f0:	38 00 00 16 	li      r0,22                                  
ffc057f4:	90 03 00 00 	stw     r0,0(r3)                               
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
      ret = -1;                                                       
ffc057f8:	3b e0 ff ff 	li      r31,-1                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc057fc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc05800:	7f e3 fb 78 	mr      r3,r31                                 
ffc05804:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc05808:	7c 08 03 a6 	mtlr    r0                                     
ffc0580c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc05810:	38 21 00 38 	addi    r1,r1,56                               
ffc05814:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc05818:	3d 20 ff c2 	lis     r9,-62                                 
ffc0581c:	39 29 c4 80 	addi    r9,r9,-15232                           
ffc05820:	54 8a 10 3a 	rlwinm  r10,r4,2,0,29                          
ffc05824:	7d 49 50 2e 	lwzx    r10,r9,r10                             
ffc05828:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc0582c:	7d 29 03 a6 	mtctr   r9                                     
ffc05830:	4e 80 04 20 	bctr                                           
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
ffc05834:	48 00 f3 31 	bl      ffc14b64 <__errno>                     
ffc05838:	38 00 00 86 	li      r0,134                                 
ffc0583c:	90 03 00 00 	stw     r0,0(r3)                               
ffc05840:	4b ff ff b8 	b       ffc057f8 <fcntl+0x78>                  
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
ffc05844:	89 21 00 08 	lbz     r9,8(r1)                               
ffc05848:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc0584c:	40 9d 01 68 	ble-    cr7,ffc059b4 <fcntl+0x234>             <== ALWAYS TAKEN
ffc05850:	81 61 00 0c 	lwz     r11,12(r1)                             <== NOT EXECUTED
ffc05854:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc05858:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc0585c:	80 6b 00 00 	lwz     r3,0(r11)                              
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc05860:	3b e0 00 00 	li      r31,0                                  
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
ffc05864:	90 81 00 28 	stw     r4,40(r1)                              
ffc05868:	48 00 07 01 	bl      ffc05f68 <rtems_libio_fcntl_flags>     
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
ffc0586c:	39 20 fd fe 	li      r9,-514                                
ffc05870:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc05874:	70 63 02 01 	andi.   r3,r3,513                              
ffc05878:	80 81 00 28 	lwz     r4,40(r1)                              
ffc0587c:	7d 20 00 38 	and     r0,r9,r0                               
ffc05880:	7c 60 03 78 	or      r0,r3,r0                               
ffc05884:	90 1e 00 18 	stw     r0,24(r30)                             
ffc05888:	48 00 00 1c 	b       ffc058a4 <fcntl+0x124>                 
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
ffc0588c:	90 81 00 28 	stw     r4,40(r1)                              
ffc05890:	48 00 07 39 	bl      ffc05fc8 <rtems_libio_to_fcntl_flags>  
ffc05894:	7c 7f 1b 78 	mr      r31,r3                                 
ffc05898:	80 81 00 28 	lwz     r4,40(r1)                              
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
ffc0589c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc058a0:	41 bc ff 5c 	blt-    cr7,ffc057fc <fcntl+0x7c>              <== NEVER TAKEN
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
ffc058a4:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc058a8:	7c 83 23 78 	mr      r3,r4                                  
ffc058ac:	7f c4 f3 78 	mr      r4,r30                                 
ffc058b0:	80 09 00 30 	lwz     r0,48(r9)                              
ffc058b4:	7c 09 03 a6 	mtctr   r0                                     
ffc058b8:	4e 80 04 21 	bctrl                                          
    if (err) {                                                        
ffc058bc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc058c0:	41 82 ff 3c 	beq+    ffc057fc <fcntl+0x7c>                  <== ALWAYS TAKEN
      errno = err;                                                    
ffc058c4:	48 00 f2 a1 	bl      ffc14b64 <__errno>                     <== NOT EXECUTED
ffc058c8:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc058cc:	4b ff ff 2c 	b       ffc057f8 <fcntl+0x78>                  <== NOT EXECUTED
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
ffc058d0:	89 21 00 08 	lbz     r9,8(r1)                               
ffc058d4:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc058d8:	41 9d 00 cc 	bgt-    cr7,ffc059a4 <fcntl+0x224>             <== NEVER TAKEN
ffc058dc:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc058e0:	81 61 00 10 	lwz     r11,16(r1)                             
ffc058e4:	39 29 00 01 	addi    r9,r9,1                                
ffc058e8:	99 21 00 08 	stb     r9,8(r1)                               
ffc058ec:	7d 6b 02 14 	add     r11,r11,r0                             
ffc058f0:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc058f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc058f8:	41 9e 00 e8 	beq-    cr7,ffc059e0 <fcntl+0x260>             
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
ffc058fc:	60 63 08 00 	ori     r3,r3,2048                             
ffc05900:	90 7e 00 18 	stw     r3,24(r30)                             
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc05904:	3b e0 00 00 	li      r31,0                                  
ffc05908:	4b ff ff 9c 	b       ffc058a4 <fcntl+0x124>                 
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
ffc0590c:	54 7f af fe 	rlwinm  r31,r3,21,31,31                        
ffc05910:	4b ff ff 94 	b       ffc058a4 <fcntl+0x124>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc05914:	89 21 00 08 	lbz     r9,8(r1)                               
ffc05918:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc0591c:	41 9d 00 78 	bgt-    cr7,ffc05994 <fcntl+0x214>             <== NEVER TAKEN
ffc05920:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
ffc05924:	81 01 00 10 	lwz     r8,16(r1)                              
ffc05928:	39 29 00 01 	addi    r9,r9,1                                
ffc0592c:	99 21 00 08 	stb     r9,8(r1)                               
ffc05930:	7d 48 52 14 	add     r10,r8,r10                             
ffc05934:	81 4a 00 00 	lwz     r10,0(r10)                             
      if ( fd2 )                                                      
ffc05938:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0593c:	41 9e 00 b4 	beq-    cr7,ffc059f0 <fcntl+0x270>             
        diop = rtems_libio_iop( fd2 );                                
ffc05940:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc05944:	3b e0 00 00 	li      r31,0                                  
ffc05948:	39 20 00 00 	li      r9,0                                   
ffc0594c:	40 9d 00 10 	ble-    cr7,ffc0595c <fcntl+0x1dc>             <== NEVER TAKEN
ffc05950:	55 49 30 32 	rlwinm  r9,r10,6,0,25                          
ffc05954:	7d 2b 4a 14 	add     r9,r11,r9                              
ffc05958:	7d 3f 4b 78 	mr      r31,r9                                 
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc0595c:	80 1e 00 28 	lwz     r0,40(r30)                             
      ret = (int) (diop - rtems_libio_iops);                          
ffc05960:	7f eb f8 50 	subf    r31,r11,r31                            
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc05964:	80 fe 00 1c 	lwz     r7,28(r30)                             
      ret = (int) (diop - rtems_libio_iops);                          
ffc05968:	7f ff 36 70 	srawi   r31,r31,6                              
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc0596c:	81 1e 00 20 	lwz     r8,32(r30)                             
ffc05970:	81 5e 00 24 	lwz     r10,36(r30)                            
ffc05974:	90 e9 00 1c 	stw     r7,28(r9)                              
ffc05978:	91 09 00 20 	stw     r8,32(r9)                              
ffc0597c:	91 49 00 24 	stw     r10,36(r9)                             
ffc05980:	90 09 00 28 	stw     r0,40(r9)                              
ffc05984:	80 1e 00 2c 	lwz     r0,44(r30)                             
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc05988:	90 69 00 18 	stw     r3,24(r9)                              
      diop->pathinfo   = iop->pathinfo;                               
ffc0598c:	90 09 00 2c 	stw     r0,44(r9)                              
ffc05990:	4b ff ff 0c 	b       ffc0589c <fcntl+0x11c>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc05994:	81 41 00 0c 	lwz     r10,12(r1)                             <== NOT EXECUTED
ffc05998:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc0599c:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc059a0:	4b ff ff 94 	b       ffc05934 <fcntl+0x1b4>                 <== NOT EXECUTED
       *  if a new process is exec()'ed.  Since RTEMS does not support
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
ffc059a4:	81 61 00 0c 	lwz     r11,12(r1)                             <== NOT EXECUTED
ffc059a8:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc059ac:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc059b0:	4b ff ff 40 	b       ffc058f0 <fcntl+0x170>                 <== NOT EXECUTED
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
ffc059b4:	81 61 00 10 	lwz     r11,16(r1)                             
ffc059b8:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc059bc:	39 29 00 01 	addi    r9,r9,1                                
ffc059c0:	7d 6b 02 14 	add     r11,r11,r0                             
ffc059c4:	99 21 00 08 	stb     r9,8(r1)                               
ffc059c8:	4b ff fe 94 	b       ffc0585c <fcntl+0xdc>                  
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc059cc:	48 00 f1 99 	bl      ffc14b64 <__errno>                     
ffc059d0:	38 00 00 09 	li      r0,9                                   
ffc059d4:	90 03 00 00 	stw     r0,0(r3)                               
ffc059d8:	3b e0 ff ff 	li      r31,-1                                 
ffc059dc:	4b ff fe 20 	b       ffc057fc <fcntl+0x7c>                  
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
ffc059e0:	54 63 05 66 	rlwinm  r3,r3,0,21,19                          
ffc059e4:	90 7e 00 18 	stw     r3,24(r30)                             
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc059e8:	3b e0 00 00 	li      r31,0                                  
ffc059ec:	4b ff fe b8 	b       ffc058a4 <fcntl+0x124>                 
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
ffc059f0:	90 81 00 28 	stw     r4,40(r1)                              
ffc059f4:	48 00 06 25 	bl      ffc06018 <rtems_libio_allocate>        
        if ( diop == 0 ) {                                            
ffc059f8:	7c 69 1b 79 	mr.     r9,r3                                  
ffc059fc:	80 81 00 28 	lwz     r4,40(r1)                              
ffc05a00:	41 a2 fd f8 	beq-    ffc057f8 <fcntl+0x78>                  <== NEVER TAKEN
ffc05a04:	81 7f 27 8c 	lwz     r11,10124(r31)                         
ffc05a08:	7d 3f 4b 78 	mr      r31,r9                                 
ffc05a0c:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc05a10:	4b ff ff 4c 	b       ffc0595c <fcntl+0x1dc>                 
                                                                      

ffc116d0 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc116d0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc116d4:	7c 08 02 a6 	mflr    r0                                     
ffc116d8:	93 e1 00 2c 	stw     r31,44(r1)                             
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc116dc:	3f e0 00 00 	lis     r31,0                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc116e0:	90 01 00 34 	stw     r0,52(r1)                              
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc116e4:	80 1f 29 b8 	lwz     r0,10680(r31)                          
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc116e8:	93 61 00 1c 	stw     r27,28(r1)                             
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc116ec:	3b 7f 29 b8 	addi    r27,r31,10680                          
ffc116f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc116f4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc116f8:	7c 9d 23 78 	mr      r29,r4                                 
ffc116fc:	93 c1 00 28 	stw     r30,40(r1)                             
ffc11700:	7c 7e 1b 78 	mr      r30,r3                                 
ffc11704:	93 41 00 18 	stw     r26,24(r1)                             
ffc11708:	93 81 00 20 	stw     r28,32(r1)                             
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc1170c:	41 9e 00 c0 	beq-    cr7,ffc117cc <fifo_open+0xfc>          
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc11710:	7c 03 03 78 	mr      r3,r0                                  
ffc11714:	38 80 00 00 	li      r4,0                                   
ffc11718:	38 a0 00 00 	li      r5,0                                   
ffc1171c:	4b ff a0 c1 	bl      ffc0b7dc <rtems_semaphore_obtain>      
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
ffc11720:	3b 80 ff f4 	li      r28,-12                                
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc11724:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11728:	40 9e 00 78 	bne-    cr7,ffc117a0 <fifo_open+0xd0>          <== NEVER TAKEN
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
ffc1172c:	83 fe 00 00 	lwz     r31,0(r30)                             
  if (pipe == NULL) {                                                 
ffc11730:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc11734:	41 9e 02 30 	beq-    cr7,ffc11964 <fifo_open+0x294>         
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11738:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1173c:	38 80 00 00 	li      r4,0                                   
ffc11740:	38 a0 00 00 	li      r5,0                                   
ffc11744:	4b ff a0 99 	bl      ffc0b7dc <rtems_semaphore_obtain>      
    err = -EINTR;                                                     
ffc11748:	3b 80 ff fc 	li      r28,-4                                 
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc1174c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11750:	40 9e 00 08 	bne-    cr7,ffc11758 <fifo_open+0x88>          <== NEVER TAKEN
ffc11754:	3b 80 00 00 	li      r28,0                                  
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
ffc11758:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc1175c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11760:	41 9e 03 24 	beq-    cr7,ffc11a84 <fifo_open+0x3b4>         
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
ffc11764:	4b ff fe 05 	bl      ffc11568 <pipe_unlock>                 
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
ffc11768:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1176c:	40 9e 00 34 	bne-    cr7,ffc117a0 <fifo_open+0xd0>          <== NEVER TAKEN
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc11770:	80 1d 00 18 	lwz     r0,24(r29)                             
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
ffc11774:	83 fe 00 00 	lwz     r31,0(r30)                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc11778:	54 00 07 7c 	rlwinm  r0,r0,0,29,30                          
ffc1177c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc11780:	41 9e 00 7c 	beq-    cr7,ffc117fc <fifo_open+0x12c>         
ffc11784:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc11788:	41 9e 01 8c 	beq-    cr7,ffc11914 <fifo_open+0x244>         
ffc1178c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc11790:	41 9e 01 00 	beq-    cr7,ffc11890 <fifo_open+0x1c0>         <== ALWAYS TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc11794:	80 7f 00 28 	lwz     r3,40(r31)                             
  return 0;                                                           
ffc11798:	3b 80 00 00 	li      r28,0                                  
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc1179c:	4b ff a1 c9 	bl      ffc0b964 <rtems_semaphore_release>     
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
ffc117a0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc117a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc117a8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc117ac:	7c 08 03 a6 	mtlr    r0                                     
ffc117b0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc117b4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc117b8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc117bc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc117c0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc117c4:	38 21 00 30 	addi    r1,r1,48                               
ffc117c8:	4e 80 00 20 	blr                                            
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc117cc:	3f 80 00 00 	lis     r28,0                                  
ffc117d0:	80 7c 27 b4 	lwz     r3,10164(r28)                          
ffc117d4:	38 80 00 00 	li      r4,0                                   
ffc117d8:	38 a0 00 00 	li      r5,0                                   
ffc117dc:	4b ff a0 01 	bl      ffc0b7dc <rtems_semaphore_obtain>      
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc117e0:	80 1f 29 b8 	lwz     r0,10680(r31)                          
ffc117e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc117e8:	41 9e 02 b0 	beq-    cr7,ffc11a98 <fifo_open+0x3c8>         <== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc117ec:	80 7c 27 b4 	lwz     r3,10164(r28)                          <== NOT EXECUTED
ffc117f0:	4b ff a1 75 	bl      ffc0b964 <rtems_semaphore_release>     <== NOT EXECUTED
ffc117f4:	80 1f 29 b8 	lwz     r0,10680(r31)                          <== NOT EXECUTED
ffc117f8:	4b ff ff 18 	b       ffc11710 <fifo_open+0x40>              <== NOT EXECUTED
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc117fc:	81 3f 00 14 	lwz     r9,20(r31)                             
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11800:	81 7f 00 24 	lwz     r11,36(r31)                            
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11804:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11808:	38 0b 00 01 	addi    r0,r11,1                               
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc1180c:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11810:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11814:	91 3f 00 14 	stw     r9,20(r31)                             
ffc11818:	41 9e 02 dc 	beq-    cr7,ffc11af4 <fifo_open+0x424>         <== ALWAYS TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
ffc1181c:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11820:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11824:	40 be ff 70 	bne-    cr7,ffc11794 <fifo_open+0xc4>          
ffc11828:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc1182c:	70 09 00 01 	andi.   r9,r0,1                                
ffc11830:	40 82 03 04 	bne-    ffc11b34 <fifo_open+0x464>             
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
ffc11834:	83 9f 00 20 	lwz     r28,32(r31)                            
ffc11838:	48 00 00 20 	b       ffc11858 <fifo_open+0x188>             
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc1183c:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11840:	4b ff 9f 9d 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc11844:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11848:	40 9e 00 34 	bne-    cr7,ffc1187c <fifo_open+0x1ac>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
ffc1184c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc11850:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc11854:	40 be ff 40 	bne-    cr7,ffc11794 <fifo_open+0xc4>          <== ALWAYS TAKEN
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc11858:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1185c:	4b ff a1 09 	bl      ffc0b964 <rtems_semaphore_release>     
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc11860:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11864:	38 80 00 00 	li      r4,0                                   
ffc11868:	48 00 23 c5 	bl      ffc13c2c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc1186c:	38 80 00 00 	li      r4,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc11870:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11874:	38 a0 00 00 	li      r5,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc11878:	41 9e ff c4 	beq+    cr7,ffc1183c <fifo_open+0x16c>         <== ALWAYS TAKEN
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
ffc1187c:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
ffc11880:	7f c3 f3 78 	mr      r3,r30                                 
ffc11884:	7f a4 eb 78 	mr      r4,r29                                 
ffc11888:	4b ff fd 09 	bl      ffc11590 <pipe_release>                
  return err;                                                         
ffc1188c:	4b ff ff 14 	b       ffc117a0 <fifo_open+0xd0>              
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc11890:	81 3f 00 10 	lwz     r9,16(r31)                             
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc11894:	81 7f 00 20 	lwz     r11,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc11898:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc1189c:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Readers ++ == 0)                                      
ffc118a0:	39 29 00 01 	addi    r9,r9,1                                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc118a4:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc118a8:	91 3f 00 10 	stw     r9,16(r31)                             
ffc118ac:	41 9e 02 28 	beq-    cr7,ffc11ad4 <fifo_open+0x404>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
ffc118b0:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc118b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc118b8:	40 be fe dc 	bne-    cr7,ffc11794 <fifo_open+0xc4>          
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
ffc118bc:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc118c0:	70 09 00 01 	andi.   r9,r0,1                                
ffc118c4:	40 a2 fe d0 	bne-    ffc11794 <fifo_open+0xc4>              
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
ffc118c8:	83 9f 00 24 	lwz     r28,36(r31)                            
ffc118cc:	48 00 00 20 	b       ffc118ec <fifo_open+0x21c>             
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc118d0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc118d4:	4b ff 9f 09 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc118d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc118dc:	40 be ff a0 	bne-    cr7,ffc1187c <fifo_open+0x1ac>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
ffc118e0:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc118e4:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc118e8:	40 be fe ac 	bne-    cr7,ffc11794 <fifo_open+0xc4>          <== ALWAYS TAKEN
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc118ec:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc118f0:	4b ff a0 75 	bl      ffc0b964 <rtems_semaphore_release>     
          if (! PIPE_READWAIT(pipe))                                  
ffc118f4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc118f8:	38 80 00 00 	li      r4,0                                   
ffc118fc:	48 00 23 31 	bl      ffc13c2c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11900:	38 80 00 00 	li      r4,0                                   
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
ffc11904:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11908:	38 a0 00 00 	li      r5,0                                   
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
ffc1190c:	41 9e ff c4 	beq+    cr7,ffc118d0 <fifo_open+0x200>         <== ALWAYS TAKEN
ffc11910:	4b ff ff 6c 	b       ffc1187c <fifo_open+0x1ac>             <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc11914:	81 3f 00 10 	lwz     r9,16(r31)                             
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11918:	81 7f 00 20 	lwz     r11,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc1191c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11920:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Readers ++ == 0)                                      
ffc11924:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11928:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc1192c:	91 3f 00 10 	stw     r9,16(r31)                             
ffc11930:	41 9e 01 b4 	beq-    cr7,ffc11ae4 <fifo_open+0x414>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
ffc11934:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc11938:	81 7f 00 24 	lwz     r11,36(r31)                            
      if (pipe->Writers ++ == 0)                                      
ffc1193c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc11940:	38 0b 00 01 	addi    r0,r11,1                               
      if (pipe->Writers ++ == 0)                                      
ffc11944:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc11948:	90 1f 00 24 	stw     r0,36(r31)                             
      if (pipe->Writers ++ == 0)                                      
ffc1194c:	91 3f 00 14 	stw     r9,20(r31)                             
ffc11950:	40 9e fe 44 	bne+    cr7,ffc11794 <fifo_open+0xc4>          <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc11954:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11958:	38 81 00 08 	addi    r4,r1,8                                
ffc1195c:	48 00 22 3d 	bl      ffc13b98 <rtems_barrier_release>       
ffc11960:	4b ff fe 34 	b       ffc11794 <fifo_open+0xc4>              
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc11964:	38 60 00 34 	li      r3,52                                  
ffc11968:	4b ff 5f 0d 	bl      ffc07874 <malloc>                      
  if (pipe == NULL)                                                   
ffc1196c:	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));                              
ffc11970:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11974:	7c 7b 1b 78 	mr      r27,r3                                 
  if (pipe == NULL)                                                   
ffc11978:	41 9e 01 ec 	beq-    cr7,ffc11b64 <fifo_open+0x494>         
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
ffc1197c:	38 80 00 00 	li      r4,0                                   
ffc11980:	38 a0 00 34 	li      r5,52                                  
ffc11984:	48 00 60 79 	bl      ffc179fc <memset>                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
ffc11988:	38 00 02 00 	li      r0,512                                 
ffc1198c:	90 1f 00 04 	stw     r0,4(r31)                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc11990:	38 60 02 00 	li      r3,512                                 
ffc11994:	4b ff 5e e1 	bl      ffc07874 <malloc>                      
  if (! pipe->Buffer)                                                 
ffc11998:	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);                                  
ffc1199c:	90 7f 00 00 	stw     r3,0(r31)                              
  if (! pipe->Buffer)                                                 
ffc119a0:	41 9e 01 bc 	beq-    cr7,ffc11b5c <fifo_open+0x48c>         <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
ffc119a4:	3f 80 00 00 	lis     r28,0                                  
ffc119a8:	88 7c 21 85 	lbz     r3,8581(r28)                           
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
ffc119ac:	38 80 00 00 	li      r4,0                                   
ffc119b0:	38 a0 00 00 	li      r5,0                                   
ffc119b4:	64 63 50 49 	oris    r3,r3,20553                            
ffc119b8:	60 63 72 00 	ori     r3,r3,29184                            
ffc119bc:	38 df 00 2c 	addi    r6,r31,44                              
ffc119c0:	48 00 1f d1 	bl      ffc13990 <rtems_barrier_create>        
ffc119c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc119c8:	40 9e 01 8c 	bne-    cr7,ffc11b54 <fifo_open+0x484>         
        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),                          
ffc119cc:	88 7c 21 85 	lbz     r3,8581(r28)                           
  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(                                           
ffc119d0:	38 80 00 00 	li      r4,0                                   
ffc119d4:	38 a0 00 00 	li      r5,0                                   
ffc119d8:	64 63 50 49 	oris    r3,r3,20553                            
ffc119dc:	60 63 77 00 	ori     r3,r3,30464                            
ffc119e0:	38 df 00 30 	addi    r6,r31,48                              
ffc119e4:	48 00 1f ad 	bl      ffc13990 <rtems_barrier_create>        
ffc119e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc119ec:	40 9e 01 60 	bne-    cr7,ffc11b4c <fifo_open+0x47c>         
        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,                       
ffc119f0:	88 7c 21 85 	lbz     r3,8581(r28)                           
  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(                                         
ffc119f4:	38 80 00 01 	li      r4,1                                   
ffc119f8:	38 a0 00 10 	li      r5,16                                  
ffc119fc:	64 63 50 49 	oris    r3,r3,20553                            
ffc11a00:	60 63 73 00 	ori     r3,r3,29440                            
ffc11a04:	38 c0 00 00 	li      r6,0                                   
ffc11a08:	38 ff 00 28 	addi    r7,r31,40                              
ffc11a0c:	4b ff 9a d1 	bl      ffc0b4dc <rtems_semaphore_create>      
ffc11a10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a14:	40 9e 01 30 	bne-    cr7,ffc11b44 <fifo_open+0x474>         
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    _Objects_Get( &_Barrier_Information, id, location );              
ffc11a18:	3f 40 00 00 	lis     r26,0                                  
ffc11a1c:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc11a20:	3b 5a 35 1c 	addi    r26,r26,13596                          
/* Set barriers to be interruptible by signals. */                    
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
ffc11a24:	3b 61 00 0c 	addi    r27,r1,12                              
ffc11a28:	7f 65 db 78 	mr      r5,r27                                 
ffc11a2c:	7f 43 d3 78 	mr      r3,r26                                 
ffc11a30:	4b ff be 09 	bl      ffc0d838 <_Objects_Get>                
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
ffc11a34:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc11a38:	64 00 10 00 	oris    r0,r0,4096                             
ffc11a3c:	90 03 00 4c 	stw     r0,76(r3)                              
  _Thread_Enable_dispatch();                                          
ffc11a40:	4b ff cd 69 	bl      ffc0e7a8 <_Thread_Enable_dispatch>     
ffc11a44:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc11a48:	7f 65 db 78 	mr      r5,r27                                 
ffc11a4c:	7f 43 d3 78 	mr      r3,r26                                 
ffc11a50:	4b ff bd e9 	bl      ffc0d838 <_Objects_Get>                
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
ffc11a54:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc11a58:	64 00 10 00 	oris    r0,r0,4096                             
ffc11a5c:	90 03 00 4c 	stw     r0,76(r3)                              
  _Thread_Enable_dispatch();                                          
ffc11a60:	4b ff cd 49 	bl      ffc0e7a8 <_Thread_Enable_dispatch>     
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
ffc11a64:	89 3c 21 85 	lbz     r9,8581(r28)                           
ffc11a68:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
ffc11a6c:	39 29 00 01 	addi    r9,r9,1                                
ffc11a70:	99 3c 21 85 	stb     r9,8581(r28)                           
ffc11a74:	40 9e fc c4 	bne+    cr7,ffc11738 <fifo_open+0x68>          
    c = 'a';                                                          
ffc11a78:	38 00 00 61 	li      r0,97                                  
ffc11a7c:	98 1c 21 85 	stb     r0,8581(r28)                           
ffc11a80:	4b ff fc b8 	b       ffc11738 <fifo_open+0x68>              
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
ffc11a84:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc11a88:	40 9e 00 7c 	bne-    cr7,ffc11b04 <fifo_open+0x434>         <== NEVER TAKEN
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
ffc11a8c:	93 fe 00 00 	stw     r31,0(r30)                             
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
ffc11a90:	4b ff fa d9 	bl      ffc11568 <pipe_unlock>                 
ffc11a94:	4b ff fc dc 	b       ffc11770 <fifo_open+0xa0>              
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
ffc11a98:	3c 60 50 49 	lis     r3,20553                               
ffc11a9c:	7f 67 db 78 	mr      r7,r27                                 
ffc11aa0:	38 80 00 01 	li      r4,1                                   
ffc11aa4:	38 a0 00 54 	li      r5,84                                  
ffc11aa8:	38 c0 00 00 	li      r6,0                                   
ffc11aac:	60 63 50 45 	ori     r3,r3,20549                            
ffc11ab0:	4b ff 9a 2d 	bl      ffc0b4dc <rtems_semaphore_create>      
ffc11ab4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc11ab8:	80 7c 27 b4 	lwz     r3,10164(r28)                          
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
ffc11abc:	3b 80 ff f4 	li      r28,-12                                
ffc11ac0:	4b ff 9e a5 	bl      ffc0b964 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc11ac4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc11ac8:	40 9e fc d8 	bne+    cr7,ffc117a0 <fifo_open+0xd0>          
ffc11acc:	80 1f 29 b8 	lwz     r0,10680(r31)                          
ffc11ad0:	4b ff fc 40 	b       ffc11710 <fifo_open+0x40>              
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc11ad4:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11ad8:	38 81 00 08 	addi    r4,r1,8                                
ffc11adc:	48 00 20 bd 	bl      ffc13b98 <rtems_barrier_release>       
ffc11ae0:	4b ff fd d0 	b       ffc118b0 <fifo_open+0x1e0>             
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc11ae4:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11ae8:	38 81 00 08 	addi    r4,r1,8                                
ffc11aec:	48 00 20 ad 	bl      ffc13b98 <rtems_barrier_release>       
ffc11af0:	4b ff fe 44 	b       ffc11934 <fifo_open+0x264>             
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
ffc11af4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11af8:	38 81 00 08 	addi    r4,r1,8                                
ffc11afc:	48 00 20 9d 	bl      ffc13b98 <rtems_barrier_release>       
ffc11b00:	4b ff fd 1c 	b       ffc1181c <fifo_open+0x14c>             
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc11b04:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc11b08:	48 00 1f c5 	bl      ffc13acc <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11b0c:	80 7f 00 30 	lwz     r3,48(r31)                             <== NOT EXECUTED
ffc11b10:	48 00 1f bd 	bl      ffc13acc <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc11b14:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc11b18:	4b ff 9b e9 	bl      ffc0b700 <rtems_semaphore_delete>      <== NOT EXECUTED
  free(pipe->Buffer);                                                 
ffc11b1c:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc11b20:	4b ff 53 29 	bl      ffc06e48 <free>                        <== NOT EXECUTED
  free(pipe);                                                         
ffc11b24:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11b28:	4b ff 53 21 	bl      ffc06e48 <free>                        <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
ffc11b2c:	4b ff fa 3d 	bl      ffc11568 <pipe_unlock>                 <== NOT EXECUTED
ffc11b30:	4b ff fc 70 	b       ffc117a0 <fifo_open+0xd0>              <== NOT EXECUTED
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11b34:	80 7f 00 28 	lwz     r3,40(r31)                             
        err = -ENXIO;                                                 
ffc11b38:	3b 80 ff fa 	li      r28,-6                                 
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11b3c:	4b ff 9e 29 	bl      ffc0b964 <rtems_semaphore_release>     
        err = -ENXIO;                                                 
        goto out_error;                                               
ffc11b40:	4b ff fd 40 	b       ffc11880 <fifo_open+0x1b0>             
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11b44:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11b48:	48 00 1f 85 	bl      ffc13acc <rtems_barrier_delete>        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
ffc11b4c:	80 7b 00 2c 	lwz     r3,44(r27)                             
ffc11b50:	48 00 1f 7d 	bl      ffc13acc <rtems_barrier_delete>        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
ffc11b54:	80 7b 00 00 	lwz     r3,0(r27)                              
ffc11b58:	4b ff 52 f1 	bl      ffc06e48 <free>                        
err_buf:                                                              
  free(pipe);                                                         
ffc11b5c:	7f 63 db 78 	mr      r3,r27                                 
ffc11b60:	4b ff 52 e9 	bl      ffc06e48 <free>                        
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
ffc11b64:	3b 80 ff f4 	li      r28,-12                                
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
ffc11b68:	4b ff fa 01 	bl      ffc11568 <pipe_unlock>                 
ffc11b6c:	4b ff fc 34 	b       ffc117a0 <fifo_open+0xd0>              
                                                                      

ffc05ab0 <fpathconf>: long fpathconf( int fd, int name ) {
ffc05ab0:	7c 08 02 a6 	mflr    r0                                     
ffc05ab4:	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);                                           
ffc05ab8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc05abc:	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);                                           
ffc05ac0:	80 09 26 cc 	lwz     r0,9932(r9)                            
ffc05ac4:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc05ac8:	40 9c 00 d0 	bge-    cr7,ffc05b98 <fpathconf+0xe8>          
  iop = rtems_libio_iop(fd);                                          
ffc05acc:	3d 20 00 00 	lis     r9,0                                   
ffc05ad0:	80 09 27 8c 	lwz     r0,10124(r9)                           
ffc05ad4:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc05ad8:	7c 60 1a 14 	add     r3,r0,r3                               
  rtems_libio_check_is_open(iop);                                     
ffc05adc:	80 03 00 18 	lwz     r0,24(r3)                              
ffc05ae0:	70 09 01 00 	andi.   r9,r0,256                              
ffc05ae4:	41 82 00 b4 	beq-    ffc05b98 <fpathconf+0xe8>              <== NEVER TAKEN
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
ffc05ae8:	70 09 00 02 	andi.   r9,r0,2                                
ffc05aec:	41 82 00 10 	beq-    ffc05afc <fpathconf+0x4c>              
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc05af0:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
ffc05af4:	81 23 00 2c 	lwz     r9,44(r3)                              
                                                                      
  switch ( name ) {                                                   
ffc05af8:	40 9d 00 24 	ble-    cr7,ffc05b1c <fpathconf+0x6c>          
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc05afc:	48 00 f0 69 	bl      ffc14b64 <__errno>                     
ffc05b00:	38 00 00 16 	li      r0,22                                  
ffc05b04:	90 03 00 00 	stw     r0,0(r3)                               
ffc05b08:	38 60 ff ff 	li      r3,-1                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
ffc05b0c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05b10:	38 21 00 08 	addi    r1,r1,8                                
ffc05b14:	7c 08 03 a6 	mtlr    r0                                     
ffc05b18:	4e 80 00 20 	blr                                            
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc05b1c:	3d 60 ff c2 	lis     r11,-62                                
ffc05b20:	39 6b c4 a8 	addi    r11,r11,-15192                         
ffc05b24:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc05b28:	7c 0b 20 2e 	lwzx    r0,r11,r4                              
ffc05b2c:	7d 60 5a 14 	add     r11,r0,r11                             
ffc05b30:	7d 69 03 a6 	mtctr   r11                                    
ffc05b34:	4e 80 04 20 	bctr                                           
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
ffc05b38:	80 69 00 5c 	lwz     r3,92(r9)                              
      break;                                                          
ffc05b3c:	4b ff ff d0 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
ffc05b40:	80 69 00 50 	lwz     r3,80(r9)                              
      break;                                                          
ffc05b44:	4b ff ff c8 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
ffc05b48:	80 69 00 64 	lwz     r3,100(r9)                             
      break;                                                          
ffc05b4c:	4b ff ff c0 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
ffc05b50:	80 69 00 58 	lwz     r3,88(r9)                              
      break;                                                          
ffc05b54:	4b ff ff b8 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
ffc05b58:	80 69 00 54 	lwz     r3,84(r9)                              
      break;                                                          
ffc05b5c:	4b ff ff b0 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
ffc05b60:	80 69 00 4c 	lwz     r3,76(r9)                              
      break;                                                          
ffc05b64:	4b ff ff a8 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
ffc05b68:	80 69 00 48 	lwz     r3,72(r9)                              
      break;                                                          
ffc05b6c:	4b ff ff a0 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
ffc05b70:	80 69 00 44 	lwz     r3,68(r9)                              
      break;                                                          
ffc05b74:	4b ff ff 98 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
ffc05b78:	80 69 00 40 	lwz     r3,64(r9)                              
      break;                                                          
ffc05b7c:	4b ff ff 90 	b       ffc05b0c <fpathconf+0x5c>              
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
ffc05b80:	80 69 00 3c 	lwz     r3,60(r9)                              
      break;                                                          
ffc05b84:	4b ff ff 88 	b       ffc05b0c <fpathconf+0x5c>              
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
ffc05b88:	80 69 00 38 	lwz     r3,56(r9)                              
      break;                                                          
ffc05b8c:	4b ff ff 80 	b       ffc05b0c <fpathconf+0x5c>              
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
ffc05b90:	80 69 00 60 	lwz     r3,96(r9)                              
      break;                                                          
ffc05b94:	4b ff ff 78 	b       ffc05b0c <fpathconf+0x5c>              
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
ffc05b98:	48 00 ef cd 	bl      ffc14b64 <__errno>                     
ffc05b9c:	38 00 00 09 	li      r0,9                                   
ffc05ba0:	90 03 00 00 	stw     r0,0(r3)                               
ffc05ba4:	38 60 ff ff 	li      r3,-1                                  
ffc05ba8:	4b ff ff 64 	b       ffc05b0c <fpathconf+0x5c>              
                                                                      

ffc04aac <free>: #include <stdlib.h> void free( void *ptr ) {
ffc04aac:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04ab0:	7c 08 02 a6 	mflr    r0                                     
  MSBUMP(free_calls, 1);                                              
ffc04ab4:	3d 20 00 00 	lis     r9,0                                   
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04ab8:	90 01 00 14 	stw     r0,20(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc04abc:	39 29 2b 00 	addi    r9,r9,11008                            
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04ac0:	93 e1 00 0c 	stw     r31,12(r1)                             
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
ffc04ac4:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
ffc04ac8:	81 69 00 0c 	lwz     r11,12(r9)                             
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04acc:	93 c1 00 08 	stw     r30,8(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc04ad0:	38 0b 00 01 	addi    r0,r11,1                               
ffc04ad4:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  if ( !ptr )                                                         
ffc04ad8:	41 82 00 6c 	beq-    ffc04b44 <free+0x98>                   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04adc:	3d 20 00 00 	lis     r9,0                                   
ffc04ae0:	80 09 27 ec 	lwz     r0,10220(r9)                           
ffc04ae4:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc04ae8:	41 9e 00 74 	beq-    cr7,ffc04b5c <free+0xb0>               <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04aec:	3d 20 00 00 	lis     r9,0                                   
ffc04af0:	81 29 27 48 	lwz     r9,10056(r9)                           
ffc04af4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04af8:	41 9e 00 14 	beq-    cr7,ffc04b0c <free+0x60>               
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
ffc04afc:	80 09 00 08 	lwz     r0,8(r9)                               
ffc04b00:	7f e3 fb 78 	mr      r3,r31                                 
ffc04b04:	7c 09 03 a6 	mtctr   r0                                     
ffc04b08:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
ffc04b0c:	3f c0 00 00 	lis     r30,0                                  
ffc04b10:	80 7e 26 e4 	lwz     r3,9956(r30)                           
ffc04b14:	7f e4 fb 78 	mr      r4,r31                                 
ffc04b18:	48 00 65 ed 	bl      ffc0b104 <_Protected_heap_Free>        
ffc04b1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b20:	40 be 00 24 	bne+    cr7,ffc04b44 <free+0x98>               
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
ffc04b24:	81 3e 26 e4 	lwz     r9,9956(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",
ffc04b28:	3c 60 ff c2 	lis     r3,-62                                 
ffc04b2c:	38 63 a0 f8 	addi    r3,r3,-24328                           
ffc04b30:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc04b34:	7f e4 fb 78 	mr      r4,r31                                 
ffc04b38:	80 c9 00 1c 	lwz     r6,28(r9)                              
ffc04b3c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04b40:	48 00 10 ad 	bl      ffc05bec <printk>                      
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04b44:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04b48:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04b4c:	7c 08 03 a6 	mtlr    r0                                     
ffc04b50:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04b54:	38 21 00 10 	addi    r1,r1,16                               
ffc04b58:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
ffc04b5c:	48 00 01 9d 	bl      ffc04cf8 <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()) &&                    
ffc04b60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b64:	40 9e ff 88 	bne+    cr7,ffc04aec <free+0x40>               
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
ffc04b68:	7f e3 fb 78 	mr      r3,r31                                 
ffc04b6c:	48 00 02 19 	bl      ffc04d84 <malloc_deferred_free>        
      return;                                                         
ffc04b70:	4b ff ff d4 	b       ffc04b44 <free+0x98>                   
                                                                      

ffc0629c <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
ffc0629c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc062a0:	7c 08 02 a6 	mflr    r0                                     
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc062a4:	3d 20 00 00 	lis     r9,0                                   
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc062a8:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc062ac:	38 09 2b 10 	addi    r0,r9,11024                            
ffc062b0:	7f 83 00 00 	cmpw    cr7,r3,r0                              
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc062b4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc062b8:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc062bc:	41 9e 00 1c 	beq-    cr7,ffc062d8 <free_user_env+0x3c>      <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
ffc062c0:	38 63 00 04 	addi    r3,r3,4                                
ffc062c4:	4b ff ea 25 	bl      ffc04ce8 <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &env->root_directory);                 
ffc062c8:	38 7f 00 18 	addi    r3,r31,24                              
ffc062cc:	4b ff ea 1d 	bl      ffc04ce8 <rtems_filesystem_freenode>   
    free(env);                                                        
ffc062d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc062d4:	4b ff ea 41 	bl      ffc04d14 <free>                        
  }                                                                   
}                                                                     
ffc062d8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc062dc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc062e0:	38 21 00 10 	addi    r1,r1,16                               
ffc062e4:	7c 08 03 a6 	mtlr    r0                                     
ffc062e8:	4e 80 00 20 	blr                                            
                                                                      

ffc1a65c <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
ffc1a65c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1a660:	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 );                                     
ffc1a664:	3d 20 00 00 	lis     r9,0                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1a668:	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 );                                     
ffc1a66c:	80 09 27 4c 	lwz     r0,10060(r9)                           
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1a670:	93 a1 00 2c 	stw     r29,44(r1)                             
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc1a674:	3b a0 00 00 	li      r29,0                                  
ffc1a678:	7f 83 00 40 	cmplw   cr7,r3,r0                              
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1a67c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1a680:	7c 9e 23 78 	mr      r30,r4                                 
ffc1a684:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1a688:	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 );                                     
ffc1a68c:	40 9c 00 14 	bge-    cr7,ffc1a6a0 <getdents+0x44>           <== NEVER TAKEN
ffc1a690:	3d 20 00 00 	lis     r9,0                                   
ffc1a694:	83 a9 28 18 	lwz     r29,10264(r9)                          
ffc1a698:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1a69c:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1a6a0:	81 3d 00 28 	lwz     r9,40(r29)                             
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1a6a4:	38 61 00 08 	addi    r3,r1,8                                
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1a6a8:	80 1d 00 2c 	lwz     r0,44(r29)                             
ffc1a6ac:	81 1d 00 1c 	lwz     r8,28(r29)                             
ffc1a6b0:	81 5d 00 20 	lwz     r10,32(r29)                            
ffc1a6b4:	81 7d 00 24 	lwz     r11,36(r29)                            
ffc1a6b8:	90 01 00 18 	stw     r0,24(r1)                              
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1a6bc:	80 09 00 10 	lwz     r0,16(r9)                              
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1a6c0:	91 01 00 08 	stw     r8,8(r1)                               
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1a6c4:	7c 09 03 a6 	mtctr   r0                                     
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1a6c8:	91 41 00 0c 	stw     r10,12(r1)                             
ffc1a6cc:	91 61 00 10 	stw     r11,16(r1)                             
ffc1a6d0:	91 21 00 14 	stw     r9,20(r1)                              
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1a6d4:	4e 80 04 21 	bctrl                                          
ffc1a6d8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc1a6dc:	40 9e 00 3c 	bne-    cr7,ffc1a718 <getdents+0xbc>           
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
ffc1a6e0:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc1a6e4:	7f a3 eb 78 	mr      r3,r29                                 
ffc1a6e8:	7f c4 f3 78 	mr      r4,r30                                 
ffc1a6ec:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1a6f0:	7f e5 fb 78 	mr      r5,r31                                 
ffc1a6f4:	7c 09 03 a6 	mtctr   r0                                     
ffc1a6f8:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc1a6fc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1a700:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1a704:	7c 08 03 a6 	mtlr    r0                                     
ffc1a708:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1a70c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1a710:	38 21 00 38 	addi    r1,r1,56                               
ffc1a714:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc1a718:	4b ff 9d ad 	bl      ffc144c4 <__errno>                     
ffc1a71c:	38 00 00 14 	li      r0,20                                  
ffc1a720:	90 03 00 00 	stw     r0,0(r3)                               
ffc1a724:	38 60 ff ff 	li      r3,-1                                  
ffc1a728:	4b ff ff d4 	b       ffc1a6fc <getdents+0xa0>               
                                                                      

ffc12314 <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 )
ffc12314:	81 23 00 1c 	lwz     r9,28(r3)                              
     return -1;      /* It wasn't a directory --> return error */     
ffc12318:	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 )                            
ffc1231c:	81 29 00 4c 	lwz     r9,76(r9)                              
ffc12320:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc12324:	40 be 00 18 	bne+    cr7,ffc1233c <imfs_dir_open+0x28>      <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
ffc12328:	39 20 00 00 	li      r9,0                                   
ffc1232c:	39 40 00 00 	li      r10,0                                  
ffc12330:	91 23 00 10 	stw     r9,16(r3)                              
  return 0;                                                           
ffc12334:	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;                                                    
ffc12338:	91 43 00 14 	stw     r10,20(r3)                             
  return 0;                                                           
}                                                                     
ffc1233c:	7c 03 03 78 	mr      r3,r0                                  
ffc12340:	4e 80 00 20 	blr                                            
                                                                      

ffc12344 <imfs_dir_read>: ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, size_t count ) {
ffc12344:	94 21 fe a8 	stwu    r1,-344(r1)                            
ffc12348:	7c 08 02 a6 	mflr    r0                                     
ffc1234c:	90 01 01 5c 	stw     r0,348(r1)                             
ffc12350:	93 01 01 38 	stw     r24,312(r1)                            
ffc12354:	7c 98 23 78 	mr      r24,r4                                 
ffc12358:	93 21 01 3c 	stw     r25,316(r1)                            
ffc1235c:	7c 79 1b 78 	mr      r25,r3                                 
ffc12360:	93 81 01 48 	stw     r28,328(r1)                            
ffc12364:	92 81 01 28 	stw     r20,296(r1)                            
   int                  current_entry;                                
   int                  first_entry;                                  
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
ffc12368:	83 83 00 1c 	lwz     r28,28(r3)                             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
      return 0;                                                       
ffc1236c:	38 60 00 00 	li      r3,0                                   
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc12370:	92 a1 01 2c 	stw     r21,300(r1)                            
ffc12374:	92 c1 01 30 	stw     r22,304(r1)                            
ffc12378:	92 e1 01 34 	stw     r23,308(r1)                            
ffc1237c:	93 41 01 40 	stw     r26,320(r1)                            
ffc12380:	93 61 01 44 	stw     r27,324(r1)                            
ffc12384:	93 a1 01 4c 	stw     r29,332(r1)                            
ffc12388:	93 c1 01 50 	stw     r30,336(r1)                            
ffc1238c:	93 e1 01 54 	stw     r31,340(r1)                            
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
ffc12390:	83 dc 00 50 	lwz     r30,80(r28)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc12394:	3b 9c 00 54 	addi    r28,r28,84                             
   struct dirent        tmp_dirent;                                   
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   if ( rtems_chain_is_empty( the_chain ) )                           
ffc12398:	7f 9e e0 00 	cmpw    cr7,r30,r28                            
ffc1239c:	41 9e 00 d8 	beq-    cr7,ffc12474 <imfs_dir_read+0x130>     
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
ffc123a0:	3f 60 0e a0 	lis     r27,3744                               
                                                                      
   /* Move to the first of the desired directory entries */           
   the_node = rtems_chain_first( the_chain );                         
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
ffc123a4:	83 b9 00 14 	lwz     r29,20(r25)                            
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
ffc123a8:	54 a5 e8 fe 	rlwinm  r5,r5,29,3,31                          
ffc123ac:	63 7b ea 0f 	ori     r27,r27,59919                          
ffc123b0:	7f 65 d8 16 	mulhwu  r27,r5,r27                             
ffc123b4:	57 7b f8 7e 	rlwinm  r27,r27,31,1,31                        
ffc123b8:	1f 7b 01 18 	mulli   r27,r27,280                            
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc123bc:	7f 7b ea 15 	add.    r27,r27,r29                            
ffc123c0:	40 81 00 b4 	ble-    ffc12474 <imfs_dir_read+0x130>         <== NEVER TAKEN
ffc123c4:	3b e0 00 00 	li      r31,0                                  
ffc123c8:	3b 40 00 00 	li      r26,0                                  
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
ffc123cc:	3a a0 01 18 	li      r21,280                                
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc123d0:	3a c1 00 1c 	addi    r22,r1,28                              
         memcpy(                                                      
ffc123d4:	3a e1 00 08 	addi    r23,r1,8                               
ffc123d8:	48 00 00 1c 	b       ffc123f4 <imfs_dir_read+0xb0>          
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc123dc:	3b ff 01 18 	addi    r31,r31,280                            
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
ffc123e0:	83 de 00 00 	lwz     r30,0(r30)                             
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc123e4:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc123e8:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc123ec:	40 9d 00 84 	ble-    cr7,ffc12470 <imfs_dir_read+0x12c>     <== NEVER TAKEN
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc123f0:	41 9a 00 80 	beq-    cr6,ffc12470 <imfs_dir_read+0x12c>     
         /* entry in the read */                                      
         return bytes_transferred;  /* Indicate that there are no more */
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
ffc123f4:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc123f8:	41 9d ff e4 	bgt+    cr7,ffc123dc <imfs_dir_read+0x98>      
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
ffc123fc:	80 1e 00 38 	lwz     r0,56(r30)                             
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc12400:	3a 9e 00 0c 	addi    r20,r30,12                             
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
ffc12404:	7f e9 fe 70 	srawi   r9,r31,31                              
ffc12408:	93 e1 00 14 	stw     r31,20(r1)                             
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc1240c:	7e 83 a3 78 	mr      r3,r20                                 
                                    /* entries to return */           
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
ffc12410:	91 21 00 10 	stw     r9,16(r1)                              
 *  to the end of the exisiting file, the remaining entries will be placed in
 *  the buffer and the returned value will be equal to -m actual- times the
 *  size of a directory entry.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc12414:	3b ff 01 18 	addi    r31,r31,280                            
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
ffc12418:	90 01 00 08 	stw     r0,8(r1)                               
      }                                                               
                                                                      
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
ffc1241c:	b2 a1 00 18 	sth     r21,24(r1)                             
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc12420:	48 00 22 9d 	bl      ffc146bc <strlen>                      
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc12424:	7e 84 a3 78 	mr      r4,r20                                 
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc12428:	b0 61 00 1a 	sth     r3,26(r1)                              
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc1242c:	7e c3 b3 78 	mr      r3,r22                                 
ffc12430:	48 00 21 7d 	bl      ffc145ac <strcpy>                      
         memcpy(                                                      
ffc12434:	7c 78 d2 14 	add     r3,r24,r26                             
ffc12438:	7e e4 bb 78 	mr      r4,r23                                 
ffc1243c:	38 a0 01 18 	li      r5,280                                 
ffc12440:	48 00 1c 55 	bl      ffc14094 <memcpy>                      
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc12444:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc12448:	81 39 00 10 	lwz     r9,16(r25)                             
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
ffc1244c:	3b 5a 01 18 	addi    r26,r26,280                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc12450:	81 59 00 14 	lwz     r10,20(r25)                            
         bytes_transferred = bytes_transferred + sizeof( struct dirent );
      }                                                               
                                                                      
      the_node = the_node->next;                                      
ffc12454:	83 de 00 00 	lwz     r30,0(r30)                             
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc12458:	31 4a 01 18 	addic   r10,r10,280                            
ffc1245c:	7d 29 01 94 	addze   r9,r9                                  
ffc12460:	91 39 00 10 	stw     r9,16(r25)                             
   for (                                                              
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc12464:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset = iop->offset + sizeof(struct dirent);           
ffc12468:	91 59 00 14 	stw     r10,20(r25)                            
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry + (count/sizeof(struct dirent)) * sizeof(struct dirent);
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
ffc1246c:	41 9d ff 84 	bgt+    cr7,ffc123f0 <imfs_dir_read+0xac>      <== NEVER TAKEN
      current_entry = 0;                                              
      current_entry < last_entry;                                     
      current_entry = current_entry + sizeof(struct dirent) ){        
                                                                      
      if ( rtems_chain_is_tail( the_chain, the_node ) ){              
ffc12470:	7f 43 d3 78 	mr      r3,r26                                 
      the_node = the_node->next;                                      
   }                                                                  
                                                                      
   /* Success */                                                      
   return bytes_transferred;                                          
}                                                                     
ffc12474:	80 01 01 5c 	lwz     r0,348(r1)                             
ffc12478:	82 81 01 28 	lwz     r20,296(r1)                            
ffc1247c:	7c 08 03 a6 	mtlr    r0                                     
ffc12480:	82 a1 01 2c 	lwz     r21,300(r1)                            
ffc12484:	82 c1 01 30 	lwz     r22,304(r1)                            
ffc12488:	82 e1 01 34 	lwz     r23,308(r1)                            
ffc1248c:	83 01 01 38 	lwz     r24,312(r1)                            
ffc12490:	83 21 01 3c 	lwz     r25,316(r1)                            
ffc12494:	83 41 01 40 	lwz     r26,320(r1)                            
ffc12498:	83 61 01 44 	lwz     r27,324(r1)                            
ffc1249c:	83 81 01 48 	lwz     r28,328(r1)                            
ffc124a0:	83 a1 01 4c 	lwz     r29,332(r1)                            
ffc124a4:	83 c1 01 50 	lwz     r30,336(r1)                            
ffc124a8:	83 e1 01 54 	lwz     r31,340(r1)                            
ffc124ac:	38 21 01 58 	addi    r1,r1,344                              
ffc124b0:	4e 80 00 20 	blr                                            
                                                                      

ffc12628 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
ffc12628:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1262c:	7c 08 02 a6 	mflr    r0                                     
ffc12630:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc12634:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
ffc12638:	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 ) ) 
ffc1263c:	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 );                            
ffc12640:	38 1f 00 54 	addi    r0,r31,84                              
ffc12644:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc12648:	40 9e 00 6c 	bne-    cr7,ffc126b4 <imfs_dir_rmnod+0x8c>     
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
ffc1264c:	81 24 00 10 	lwz     r9,16(r4)                              
ffc12650:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc12654:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc12658:	41 9e 00 38 	beq-    cr7,ffc12690 <imfs_dir_rmnod+0x68>     
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
ffc1265c:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc12660:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12664:	40 9e 00 2c 	bne-    cr7,ffc12690 <imfs_dir_rmnod+0x68>     <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
ffc12668:	7f e3 fb 78 	mr      r3,r31                                 
ffc1266c:	4b ff c0 f5 	bl      ffc0e760 <IMFS_create_orphan>          
  IMFS_check_node_remove( the_jnode );                                
ffc12670:	7f e3 fb 78 	mr      r3,r31                                 
ffc12674:	4b ff c1 4d 	bl      ffc0e7c0 <IMFS_check_node_remove>      
                                                                      
  return 0;                                                           
ffc12678:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1267c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc12680:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12684:	38 21 00 10 	addi    r1,r1,16                               
ffc12688:	7c 08 03 a6 	mtlr    r0                                     
ffc1268c:	4e 80 00 20 	blr                                            
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
ffc12690:	48 00 0d a5 	bl      ffc13434 <__errno>                     
ffc12694:	38 00 00 10 	li      r0,16                                  
ffc12698:	90 03 00 00 	stw     r0,0(r3)                               
ffc1269c:	38 60 ff ff 	li      r3,-1                                  
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
ffc126a0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc126a4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc126a8:	38 21 00 10 	addi    r1,r1,16                               
ffc126ac:	7c 08 03 a6 	mtlr    r0                                     
ffc126b0:	4e 80 00 20 	blr                                            
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
ffc126b4:	48 00 0d 81 	bl      ffc13434 <__errno>                     
ffc126b8:	38 00 00 5a 	li      r0,90                                  
ffc126bc:	90 03 00 00 	stw     r0,0(r3)                               
ffc126c0:	38 60 ff ff 	li      r3,-1                                  
ffc126c4:	4b ff ff b8 	b       ffc1267c <imfs_dir_rmnod+0x54>         
                                                                      

ffc05998 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
ffc05998:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0599c:	7c 08 02 a6 	mflr    r0                                     
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc059a0:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc059a4:	90 01 00 14 	stw     r0,20(r1)                              
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc059a8:	88 09 28 90 	lbz     r0,10384(r9)                           
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc059ac:	93 c1 00 08 	stw     r30,8(r1)                              
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc059b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc059b4:	93 e1 00 0c 	stw     r31,12(r1)                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc059b8:	41 9e 00 1c 	beq-    cr7,ffc059d4 <init_etc_passwd_group+0x3c>
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
ffc059bc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc059c0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc059c4:	7c 08 03 a6 	mtlr    r0                                     
ffc059c8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc059cc:	38 21 00 10 	addi    r1,r1,16                               
ffc059d0:	4e 80 00 20 	blr                                            
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc059d4:	3c 60 ff c2 	lis     r3,-62                                 
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc059d8:	3f c0 ff c2 	lis     r30,-62                                
ffc059dc:	3f e0 ff c2 	lis     r31,-62                                
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc059e0:	38 00 00 01 	li      r0,1                                   
  mkdir("/etc", 0777);                                                
ffc059e4:	38 80 01 ff 	li      r4,511                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc059e8:	98 09 28 90 	stb     r0,10384(r9)                           
  mkdir("/etc", 0777);                                                
ffc059ec:	38 63 c3 e4 	addi    r3,r3,-15388                           
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc059f0:	3b de c3 ec 	addi    r30,r30,-15380                         
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc059f4:	48 00 0b 99 	bl      ffc0658c <mkdir>                       
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc059f8:	3b ff c3 f8 	addi    r31,r31,-15368                         
ffc059fc:	7f c3 f3 78 	mr      r3,r30                                 
ffc05a00:	7f e4 fb 78 	mr      r4,r31                                 
ffc05a04:	48 00 fb 9d 	bl      ffc155a0 <fopen>                       
ffc05a08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05a0c:	41 9e 00 7c 	beq-    cr7,ffc05a88 <init_etc_passwd_group+0xf0>
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc05a10:	48 00 f1 d1 	bl      ffc14be0 <fclose>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
ffc05a14:	3f c0 ff c2 	lis     r30,-62                                
ffc05a18:	3b de c4 68 	addi    r30,r30,-15256                         
ffc05a1c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05a20:	7f e4 fb 78 	mr      r4,r31                                 
ffc05a24:	48 00 fb 7d 	bl      ffc155a0 <fopen>                       
ffc05a28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05a2c:	41 9e 00 20 	beq-    cr7,ffc05a4c <init_etc_passwd_group+0xb4>
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc05a30:	48 00 f1 b1 	bl      ffc14be0 <fclose>                      
  }                                                                   
}                                                                     
ffc05a34:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05a38:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05a3c:	7c 08 03 a6 	mtlr    r0                                     
ffc05a40:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05a44:	38 21 00 10 	addi    r1,r1,16                               
ffc05a48:	4e 80 00 20 	blr                                            
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
ffc05a4c:	3c 80 ff c2 	lis     r4,-62                                 
ffc05a50:	7f c3 f3 78 	mr      r3,r30                                 
ffc05a54:	38 84 c3 fc 	addi    r4,r4,-15364                           
ffc05a58:	48 00 fb 49 	bl      ffc155a0 <fopen>                       
ffc05a5c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc05a60:	41 a2 ff 5c 	beq-    ffc059bc <init_etc_passwd_group+0x24>  <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
ffc05a64:	3c 60 ff c2 	lis     r3,-62                                 
ffc05a68:	38 80 00 01 	li      r4,1                                   
ffc05a6c:	38 a0 00 2a 	li      r5,42                                  
ffc05a70:	7f e6 fb 78 	mr      r6,r31                                 
ffc05a74:	38 63 c4 74 	addi    r3,r3,-15244                           
ffc05a78:	48 01 04 0d 	bl      ffc15e84 <fwrite>                      
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc05a7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05a80:	48 00 f1 61 	bl      ffc14be0 <fclose>                      
ffc05a84:	4b ff ff b0 	b       ffc05a34 <init_etc_passwd_group+0x9c>  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
ffc05a88:	3c 80 ff c2 	lis     r4,-62                                 
ffc05a8c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05a90:	38 84 c3 fc 	addi    r4,r4,-15364                           
ffc05a94:	48 00 fb 0d 	bl      ffc155a0 <fopen>                       
ffc05a98:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05a9c:	41 a2 ff 78 	beq-    ffc05a14 <init_etc_passwd_group+0x7c>  <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
ffc05aa0:	3c 60 ff c2 	lis     r3,-62                                 
ffc05aa4:	38 63 c4 00 	addi    r3,r3,-15360                           
ffc05aa8:	38 80 00 01 	li      r4,1                                   
ffc05aac:	38 a0 00 66 	li      r5,102                                 
ffc05ab0:	7f c6 f3 78 	mr      r6,r30                                 
ffc05ab4:	48 01 03 d1 	bl      ffc15e84 <fwrite>                      
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc05ab8:	7f c3 f3 78 	mr      r3,r30                                 
ffc05abc:	4b ff ff 54 	b       ffc05a10 <init_etc_passwd_group+0x78>  
                                                                      

ffc06fb4 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06fb4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06fb8:	7c 08 02 a6 	mflr    r0                                     
ffc06fbc:	90 01 00 14 	stw     r0,20(r1)                              
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06fc0:	80 04 00 30 	lwz     r0,48(r4)                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06fc4:	93 c1 00 08 	stw     r30,8(r1)                              
ffc06fc8:	7c 9e 23 78 	mr      r30,r4                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06fcc:	70 09 00 20 	andi.   r9,r0,32                               
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06fd0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc06fd4:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06fd8:	41 82 00 08 	beq-    ffc06fe0 <iproc+0x2c>                  <== ALWAYS TAKEN
    c &= 0x7f;                                                        
ffc06fdc:	54 7f 06 7e 	clrlwi  r31,r3,25                              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
ffc06fe0:	70 0b 02 00 	andi.   r11,r0,512                             
ffc06fe4:	41 82 00 28 	beq-    ffc0700c <iproc+0x58>                  
    c = tolower (c);                                                  
ffc06fe8:	3d 20 00 00 	lis     r9,0                                   
ffc06fec:	81 69 27 2c 	lwz     r11,10028(r9)                          
ffc06ff0:	7f e9 fb 78 	mr      r9,r31                                 
ffc06ff4:	7f eb fa 14 	add     r31,r11,r31                            
ffc06ff8:	89 7f 00 01 	lbz     r11,1(r31)                             
ffc06ffc:	55 6b 07 be 	clrlwi  r11,r11,30                             
ffc07000:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc07004:	41 9e 01 14 	beq-    cr7,ffc07118 <iproc+0x164>             
ffc07008:	55 3f 06 3e 	clrlwi  r31,r9,24                              
                                                                      
  if (c == '\r') {                                                    
ffc0700c:	2f 9f 00 0d 	cmpwi   cr7,r31,13                             
ffc07010:	41 9e 00 68 	beq-    cr7,ffc07078 <iproc+0xc4>              
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
ffc07014:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc07018:	41 9e 00 f0 	beq-    cr7,ffc07108 <iproc+0x154>             
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc0701c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc07020:	40 9e 00 70 	bne-    cr7,ffc07090 <iproc+0xdc>              <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc07024:	3d 20 00 00 	lis     r9,0                                   
ffc07028:	81 69 21 80 	lwz     r11,8576(r9)                           
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
ffc0702c:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc07030:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc07034:	38 0b ff ff 	addi    r0,r11,-1                              
ffc07038:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0703c:	40 9c 00 24 	bge-    cr7,ffc07060 <iproc+0xac>              <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
ffc07040:	80 1e 00 3c 	lwz     r0,60(r30)                             
ffc07044:	70 0b 00 08 	andi.   r11,r0,8                               
ffc07048:	40 82 00 d8 	bne-    ffc07120 <iproc+0x16c>                 <== ALWAYS TAKEN
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
ffc0704c:	81 7e 00 1c 	lwz     r11,28(r30)                            
ffc07050:	38 09 00 01 	addi    r0,r9,1                                
  }                                                                   
  return 0;                                                           
ffc07054:	38 60 00 00 	li      r3,0                                   
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
ffc07058:	7f eb 49 ae 	stbx    r31,r11,r9                             
ffc0705c:	90 1e 00 20 	stw     r0,32(r30)                             
  }                                                                   
  return 0;                                                           
}                                                                     
ffc07060:	80 01 00 14 	lwz     r0,20(r1)                              
ffc07064:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc07068:	7c 08 03 a6 	mtlr    r0                                     
ffc0706c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc07070:	38 21 00 10 	addi    r1,r1,16                               
ffc07074:	4e 80 00 20 	blr                                            
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
ffc07078:	70 09 00 80 	andi.   r9,r0,128                              
      return 0;                                                       
ffc0707c:	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)                                 
ffc07080:	40 a2 ff e0 	bne-    ffc07060 <iproc+0xac>                  <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
ffc07084:	70 0b 01 00 	andi.   r11,r0,256                             
ffc07088:	41 82 00 08 	beq-    ffc07090 <iproc+0xdc>                  <== NEVER TAKEN
      c = '\n';                                                       
ffc0708c:	3b e0 00 0a 	li      r31,10                                 
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc07090:	80 1e 00 3c 	lwz     r0,60(r30)                             
ffc07094:	70 0b 00 02 	andi.   r11,r0,2                               
ffc07098:	41 a2 ff 8c 	beq-    ffc07024 <iproc+0x70>                  
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc0709c:	89 3e 00 43 	lbz     r9,67(r30)                             
ffc070a0:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc070a4:	41 9e 00 e8 	beq-    cr7,ffc0718c <iproc+0x1d8>             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
ffc070a8:	89 3e 00 44 	lbz     r9,68(r30)                             
ffc070ac:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc070b0:	41 9e 00 94 	beq-    cr7,ffc07144 <iproc+0x190>             
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc070b4:	89 3e 00 45 	lbz     r9,69(r30)                             
      return 1;                                                       
ffc070b8:	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]) {                          
ffc070bc:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc070c0:	41 be ff a0 	beq-    cr7,ffc07060 <iproc+0xac>              <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
ffc070c4:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc070c8:	41 9e 00 90 	beq-    cr7,ffc07158 <iproc+0x1a4>             
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
ffc070cc:	89 3e 00 4c 	lbz     r9,76(r30)                             
ffc070d0:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc070d4:	41 9e 00 10 	beq-    cr7,ffc070e4 <iproc+0x130>             <== NEVER TAKEN
ffc070d8:	89 3e 00 51 	lbz     r9,81(r30)                             
ffc070dc:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc070e0:	40 9e ff 44 	bne+    cr7,ffc07024 <iproc+0x70>              <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
ffc070e4:	70 0b 00 08 	andi.   r11,r0,8                               <== NOT EXECUTED
ffc070e8:	40 82 00 4c 	bne-    ffc07134 <iproc+0x180>                 <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc070ec:	81 3e 00 20 	lwz     r9,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc070f0:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc070f4:	81 7e 00 1c 	lwz     r11,28(r30)                            <== NOT EXECUTED
ffc070f8:	38 09 00 01 	addi    r0,r9,1                                <== NOT EXECUTED
ffc070fc:	7f eb 49 ae 	stbx    r31,r11,r9                             <== NOT EXECUTED
ffc07100:	90 1e 00 20 	stw     r0,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc07104:	4b ff ff 5c 	b       ffc07060 <iproc+0xac>                  <== NOT EXECUTED
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
ffc07108:	70 09 00 40 	andi.   r9,r0,64                               
ffc0710c:	41 a2 ff 84 	beq-    ffc07090 <iproc+0xdc>                  <== ALWAYS TAKEN
    c = '\r';                                                         
ffc07110:	3b e0 00 0d 	li      r31,13                                 <== NOT EXECUTED
ffc07114:	4b ff ff 7c 	b       ffc07090 <iproc+0xdc>                  <== NOT EXECUTED
{                                                                     
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
ffc07118:	39 29 00 20 	addi    r9,r9,32                               
ffc0711c:	4b ff fe ec 	b       ffc07008 <iproc+0x54>                  
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
ffc07120:	7f e3 fb 78 	mr      r3,r31                                 
ffc07124:	7f c4 f3 78 	mr      r4,r30                                 
ffc07128:	4b ff fb 49 	bl      ffc06c70 <echo>                        
ffc0712c:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc07130:	4b ff ff 1c 	b       ffc0704c <iproc+0x98>                  
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
ffc07134:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc07138:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0713c:	4b ff fb 35 	bl      ffc06c70 <echo>                        <== NOT EXECUTED
ffc07140:	4b ff ff ac 	b       ffc070ec <iproc+0x138>                 <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
ffc07144:	7f c3 f3 78 	mr      r3,r30                                 
ffc07148:	38 80 00 01 	li      r4,1                                   
ffc0714c:	4b ff fb c9 	bl      ffc06d14 <erase>                       
      return 0;                                                       
ffc07150:	38 60 00 00 	li      r3,0                                   
ffc07154:	4b ff ff 0c 	b       ffc07060 <iproc+0xac>                  
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
ffc07158:	70 09 00 48 	andi.   r9,r0,72                               
ffc0715c:	41 a2 00 10 	beq+    ffc0716c <iproc+0x1b8>                 <== NEVER TAKEN
        echo (c, tty);                                                
ffc07160:	38 60 00 0a 	li      r3,10                                  
ffc07164:	7f c4 f3 78 	mr      r4,r30                                 
ffc07168:	4b ff fb 09 	bl      ffc06c70 <echo>                        
      tty->cbuf[tty->ccount++] = c;                                   
ffc0716c:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc07170:	39 40 00 0a 	li      r10,10                                 
ffc07174:	81 7e 00 1c 	lwz     r11,28(r30)                            
      return 1;                                                       
ffc07178:	38 60 00 01 	li      r3,1                                   
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc0717c:	38 09 00 01 	addi    r0,r9,1                                
ffc07180:	7d 4b 49 ae 	stbx    r10,r11,r9                             
ffc07184:	90 1e 00 20 	stw     r0,32(r30)                             
      return 1;                                                       
ffc07188:	4b ff fe d8 	b       ffc07060 <iproc+0xac>                  
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
ffc0718c:	7f c3 f3 78 	mr      r3,r30                                 
ffc07190:	38 80 00 00 	li      r4,0                                   
ffc07194:	4b ff fb 81 	bl      ffc06d14 <erase>                       
      return 0;                                                       
ffc07198:	38 60 00 00 	li      r3,0                                   
ffc0719c:	4b ff fe c4 	b       ffc07060 <iproc+0xac>                  
                                                                      

ffc29fb4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
ffc29fb4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc29fb8:	7c 08 02 a6 	mflr    r0                                     
ffc29fbc:	93 61 00 1c 	stw     r27,28(r1)                             
ffc29fc0:	7c bb 2b 78 	mr      r27,r5                                 
ffc29fc4:	93 81 00 20 	stw     r28,32(r1)                             
ffc29fc8:	7c 9c 23 78 	mr      r28,r4                                 
ffc29fcc:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc29fd0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc29fd4:	90 01 00 34 	stw     r0,52(r1)                              
ffc29fd8:	93 41 00 18 	stw     r26,24(r1)                             
ffc29fdc:	93 a1 00 24 	stw     r29,36(r1)                             
ffc29fe0:	93 c1 00 28 	stw     r30,40(r1)                             
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
ffc29fe4:	4b ff fb b9 	bl      ffc29b9c <getpid>                      
ffc29fe8:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc29fec:	40 9e 02 9c 	bne-    cr7,ffc2a288 <killinfo+0x2d4>          
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
ffc29ff0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc29ff4:	41 9e 02 a8 	beq-    cr7,ffc2a29c <killinfo+0x2e8>          
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
ffc29ff8:	3b fc ff ff 	addi    r31,r28,-1                             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
ffc29ffc:	2b 9f 00 1f 	cmplwi  cr7,r31,31                             
ffc2a000:	41 9d 02 9c 	bgt-    cr7,ffc2a29c <killinfo+0x2e8>          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
ffc2a004:	1f dc 00 0c 	mulli   r30,r28,12                             
ffc2a008:	3f a0 00 00 	lis     r29,0                                  
ffc2a00c:	3b bd 32 e0 	addi    r29,r29,13024                          
ffc2a010:	7d 3d f2 14 	add     r9,r29,r30                             
ffc2a014:	80 09 00 08 	lwz     r0,8(r9)                               
    return 0;                                                         
ffc2a018:	38 60 00 00 	li      r3,0                                   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
ffc2a01c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc2a020:	41 9e 01 ac 	beq-    cr7,ffc2a1cc <killinfo+0x218>          
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
ffc2a024:	2f 9c 00 08 	cmpwi   cr7,r28,8                              
ffc2a028:	41 9e 01 cc 	beq-    cr7,ffc2a1f4 <killinfo+0x240>          
ffc2a02c:	2f 9c 00 04 	cmpwi   cr7,r28,4                              
ffc2a030:	41 9e 01 c4 	beq-    cr7,ffc2a1f4 <killinfo+0x240>          
ffc2a034:	2f 9c 00 0b 	cmpwi   cr7,r28,11                             
ffc2a038:	41 9e 01 bc 	beq-    cr7,ffc2a1f4 <killinfo+0x240>          
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
ffc2a03c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
ffc2a040:	93 81 00 08 	stw     r28,8(r1)                              
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
ffc2a044:	38 00 00 01 	li      r0,1                                   
ffc2a048:	7c 1f f8 30 	slw     r31,r0,r31                             
  siginfo->si_code = SI_USER;                                         
ffc2a04c:	90 01 00 0c 	stw     r0,12(r1)                              
  if ( !value ) {                                                     
ffc2a050:	41 9e 02 1c 	beq-    cr7,ffc2a26c <killinfo+0x2b8>          
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
ffc2a054:	80 1b 00 00 	lwz     r0,0(r27)                              
ffc2a058:	90 01 00 10 	stw     r0,16(r1)                              
ffc2a05c:	3d 20 00 00 	lis     r9,0                                   
ffc2a060:	81 69 28 2c 	lwz     r11,10284(r9)                          
ffc2a064:	38 0b 00 01 	addi    r0,r11,1                               
ffc2a068:	90 09 28 2c 	stw     r0,10284(r9)                           
                                                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
  the_thread = _Thread_Executing;                                     
ffc2a06c:	3d 20 00 00 	lis     r9,0                                   
ffc2a070:	80 69 32 90 	lwz     r3,12944(r9)                           
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
ffc2a074:	81 23 01 34 	lwz     r9,308(r3)                             
ffc2a078:	80 09 00 d0 	lwz     r0,208(r9)                             
ffc2a07c:	7f e6 00 79 	andc.   r6,r31,r0                              
ffc2a080:	40 82 01 1c 	bne-    ffc2a19c <killinfo+0x1e8>              
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
ffc2a084:	3d 20 00 00 	lis     r9,0                                   
ffc2a088:	39 49 34 6c 	addi    r10,r9,13420                           
ffc2a08c:	81 29 34 6c 	lwz     r9,13420(r9)                           
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
ffc2a090:	39 4a 00 04 	addi    r10,r10,4                              
ffc2a094:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc2a098:	41 9e 00 54 	beq-    cr7,ffc2a0ec <killinfo+0x138>          
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
ffc2a09c:	80 09 00 30 	lwz     r0,48(r9)                              
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
ffc2a0a0:	7d 23 4b 78 	mr      r3,r9                                  
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
ffc2a0a4:	81 69 01 34 	lwz     r11,308(r9)                            
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
ffc2a0a8:	7f e8 00 39 	and.    r8,r31,r0                              
ffc2a0ac:	40 82 00 f0 	bne-    ffc2a19c <killinfo+0x1e8>              
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
ffc2a0b0:	80 0b 00 d0 	lwz     r0,208(r11)                            
ffc2a0b4:	7f eb 00 79 	andc.   r11,r31,r0                             
ffc2a0b8:	41 a2 00 24 	beq+    ffc2a0dc <killinfo+0x128>              
ffc2a0bc:	48 00 00 e0 	b       ffc2a19c <killinfo+0x1e8>              
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
ffc2a0c0:	80 09 00 30 	lwz     r0,48(r9)                              <== NOT EXECUTED
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
ffc2a0c4:	81 69 01 34 	lwz     r11,308(r9)                            <== NOT EXECUTED
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
ffc2a0c8:	7f fa 00 39 	and.    r26,r31,r0                             <== NOT EXECUTED
ffc2a0cc:	40 82 00 d0 	bne-    ffc2a19c <killinfo+0x1e8>              <== NOT EXECUTED
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
ffc2a0d0:	80 0b 00 d0 	lwz     r0,208(r11)                            <== NOT EXECUTED
ffc2a0d4:	7f fb 00 79 	andc.   r27,r31,r0                             <== NOT EXECUTED
ffc2a0d8:	40 82 00 c4 	bne-    ffc2a19c <killinfo+0x1e8>              <== NOT EXECUTED
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
ffc2a0dc:	81 29 00 00 	lwz     r9,0(r9)                               
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
ffc2a0e0:	7f 89 50 00 	cmpw    cr7,r9,r10                             
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
ffc2a0e4:	7d 23 4b 78 	mr      r3,r9                                  
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
ffc2a0e8:	40 9e ff d8 	bne+    cr7,ffc2a0c0 <killinfo+0x10c>          <== NEVER TAKEN
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
ffc2a0ec:	3d 20 00 00 	lis     r9,0                                   
ffc2a0f0:	88 e9 27 6c 	lbz     r7,10092(r9)                           
ffc2a0f4:	3c a0 00 00 	lis     r5,0                                   
ffc2a0f8:	38 a5 2d 84 	addi    r5,r5,11652                            
ffc2a0fc:	38 e7 00 01 	addi    r7,r7,1                                
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
ffc2a100:	38 85 00 08 	addi    r4,r5,8                                
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
ffc2a104:	38 60 00 00 	li      r3,0                                   
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
ffc2a108:	85 25 00 04 	lwzu    r9,4(r5)                               
ffc2a10c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2a110:	41 9e 00 7c 	beq-    cr7,ffc2a18c <killinfo+0x1d8>          <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
ffc2a114:	81 29 00 04 	lwz     r9,4(r9)                               
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
ffc2a118:	a1 09 00 10 	lhz     r8,16(r9)                              
    object_table = the_info->local_table;                             
ffc2a11c:	81 49 00 1c 	lwz     r10,28(r9)                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
ffc2a120:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc2a124:	41 9e 00 68 	beq-    cr7,ffc2a18c <killinfo+0x1d8>          
ffc2a128:	39 60 00 01 	li      r11,1                                  
      the_thread = (Thread_Control *) object_table[ index ];          
ffc2a12c:	85 2a 00 04 	lwzu    r9,4(r10)                              
                                                                      
      if ( !the_thread )                                              
ffc2a130:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2a134:	41 9e 00 4c 	beq-    cr7,ffc2a180 <killinfo+0x1cc>          
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
ffc2a138:	80 09 00 14 	lwz     r0,20(r9)                              
ffc2a13c:	7f 80 38 40 	cmplw   cr7,r0,r7                              
ffc2a140:	41 9d 00 40 	bgt-    cr7,ffc2a180 <killinfo+0x1cc>          
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
ffc2a144:	80 c9 01 34 	lwz     r6,308(r9)                             
ffc2a148:	80 c6 00 d0 	lwz     r6,208(r6)                             
ffc2a14c:	7f fa 30 79 	andc.   r26,r31,r6                             
ffc2a150:	41 82 00 30 	beq-    ffc2a180 <killinfo+0x1cc>              
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
ffc2a154:	41 9c 00 24 	blt-    cr7,ffc2a178 <killinfo+0x1c4>          
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
ffc2a158:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2a15c:	41 9e 00 24 	beq-    cr7,ffc2a180 <killinfo+0x1cc>          <== NEVER TAKEN
ffc2a160:	80 c3 00 10 	lwz     r6,16(r3)                              
ffc2a164:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc2a168:	41 9e 00 18 	beq-    cr7,ffc2a180 <killinfo+0x1cc>          <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
ffc2a16c:	83 69 00 10 	lwz     r27,16(r9)                             
ffc2a170:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc2a174:	40 9e 01 00 	bne-    cr7,ffc2a274 <killinfo+0x2c0>          
ffc2a178:	7c 07 03 78 	mr      r7,r0                                  
ffc2a17c:	7d 23 4b 78 	mr      r3,r9                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
ffc2a180:	39 6b 00 01 	addi    r11,r11,1                              
ffc2a184:	7f 88 58 40 	cmplw   cr7,r8,r11                             
ffc2a188:	40 9c ff a4 	bge+    cr7,ffc2a12c <killinfo+0x178>          
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
ffc2a18c:	7f 85 20 00 	cmpw    cr7,r5,r4                              
ffc2a190:	40 be ff 78 	bne-    cr7,ffc2a108 <killinfo+0x154>          
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
ffc2a194:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2a198:	41 9e 00 18 	beq-    cr7,ffc2a1b0 <killinfo+0x1fc>          
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
ffc2a19c:	7f 84 e3 78 	mr      r4,r28                                 
ffc2a1a0:	38 a1 00 08 	addi    r5,r1,8                                
ffc2a1a4:	48 00 01 4d 	bl      ffc2a2f0 <_POSIX_signals_Unblock_thread>
ffc2a1a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2a1ac:	40 9e 00 18 	bne-    cr7,ffc2a1c4 <killinfo+0x210>          
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
ffc2a1b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc2a1b4:	48 00 01 15 	bl      ffc2a2c8 <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
ffc2a1b8:	7c 1d f0 2e 	lwzx    r0,r29,r30                             
ffc2a1bc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc2a1c0:	41 9e 00 68 	beq-    cr7,ffc2a228 <killinfo+0x274>          
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
ffc2a1c4:	4b fe 8b ad 	bl      ffc12d70 <_Thread_Enable_dispatch>     
  return 0;                                                           
ffc2a1c8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc2a1cc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc2a1d0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc2a1d4:	7c 08 03 a6 	mtlr    r0                                     
ffc2a1d8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc2a1dc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc2a1e0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc2a1e4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc2a1e8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc2a1ec:	38 21 00 30 	addi    r1,r1,48                               
ffc2a1f0:	4e 80 00 20 	blr                                            
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
ffc2a1f4:	48 00 03 75 	bl      ffc2a568 <pthread_self>                
ffc2a1f8:	7f 84 e3 78 	mr      r4,r28                                 
ffc2a1fc:	48 00 02 61 	bl      ffc2a45c <pthread_kill>                
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
ffc2a200:	80 01 00 34 	lwz     r0,52(r1)                              
ffc2a204:	83 41 00 18 	lwz     r26,24(r1)                             
ffc2a208:	7c 08 03 a6 	mtlr    r0                                     
ffc2a20c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc2a210:	83 81 00 20 	lwz     r28,32(r1)                             
ffc2a214:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc2a218:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc2a21c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc2a220:	38 21 00 30 	addi    r1,r1,48                               
ffc2a224:	4e 80 00 20 	blr                                            
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
ffc2a228:	3c 60 00 00 	lis     r3,0                                   
ffc2a22c:	38 63 34 60 	addi    r3,r3,13408                            
ffc2a230:	4b fe 69 59 	bl      ffc10b88 <_Chain_Get>                  
    if ( !psiginfo ) {                                                
ffc2a234:	7c 69 1b 79 	mr.     r9,r3                                  
ffc2a238:	41 82 00 78 	beq-    ffc2a2b0 <killinfo+0x2fc>              
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
ffc2a23c:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
ffc2a240:	3c 60 00 00 	lis     r3,0                                   
ffc2a244:	38 63 34 d4 	addi    r3,r3,13524                            
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
ffc2a248:	90 09 00 08 	stw     r0,8(r9)                               
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
ffc2a24c:	7c 63 f2 14 	add     r3,r3,r30                              
ffc2a250:	7d 24 4b 78 	mr      r4,r9                                  
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
ffc2a254:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc2a258:	90 09 00 0c 	stw     r0,12(r9)                              
ffc2a25c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc2a260:	90 09 00 10 	stw     r0,16(r9)                              
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
ffc2a264:	4b fe 68 cd 	bl      ffc10b30 <_Chain_Append>               
ffc2a268:	4b ff ff 5c 	b       ffc2a1c4 <killinfo+0x210>              
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
ffc2a26c:	93 61 00 10 	stw     r27,16(r1)                             
ffc2a270:	4b ff fd ec 	b       ffc2a05c <killinfo+0xa8>               
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
ffc2a274:	74 da 10 00 	andis.  r26,r6,4096                            
ffc2a278:	40 a2 ff 08 	bne-    ffc2a180 <killinfo+0x1cc>              
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
ffc2a27c:	77 66 10 00 	andis.  r6,r27,4096                            
ffc2a280:	41 a2 ff 00 	beq-    ffc2a180 <killinfo+0x1cc>              
ffc2a284:	4b ff fe f4 	b       ffc2a178 <killinfo+0x1c4>              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
ffc2a288:	4b ff 03 f9 	bl      ffc1a680 <__errno>                     
ffc2a28c:	38 00 00 03 	li      r0,3                                   
ffc2a290:	90 03 00 00 	stw     r0,0(r3)                               
ffc2a294:	38 60 ff ff 	li      r3,-1                                  
ffc2a298:	4b ff ff 34 	b       ffc2a1cc <killinfo+0x218>              
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc2a29c:	4b ff 03 e5 	bl      ffc1a680 <__errno>                     
ffc2a2a0:	38 00 00 16 	li      r0,22                                  
ffc2a2a4:	90 03 00 00 	stw     r0,0(r3)                               
ffc2a2a8:	38 60 ff ff 	li      r3,-1                                  
ffc2a2ac:	4b ff ff 20 	b       ffc2a1cc <killinfo+0x218>              
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
ffc2a2b0:	4b fe 8a c1 	bl      ffc12d70 <_Thread_Enable_dispatch>     
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
ffc2a2b4:	4b ff 03 cd 	bl      ffc1a680 <__errno>                     
ffc2a2b8:	38 00 00 0b 	li      r0,11                                  
ffc2a2bc:	90 03 00 00 	stw     r0,0(r3)                               
ffc2a2c0:	38 60 ff ff 	li      r3,-1                                  
ffc2a2c4:	4b ff ff 08 	b       ffc2a1cc <killinfo+0x218>              
                                                                      

ffc18a0c <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
ffc18a0c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc18a10:	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()))                      
ffc18a14:	3d 20 00 00 	lis     r9,0                                   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc18a18:	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()))                      
ffc18a1c:	80 09 27 ec 	lwz     r0,10220(r9)                           
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc18a20:	93 c1 00 08 	stw     r30,8(r1)                              
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc18a24:	2f 80 00 03 	cmpwi   cr7,r0,3                               
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc18a28:	93 e1 00 0c 	stw     r31,12(r1)                             
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
ffc18a2c:	41 9e 00 1c 	beq-    cr7,ffc18a48 <libc_wrapup+0x3c>        <== ALWAYS TAKEN
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
}                                                                     
ffc18a30:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc18a34:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc18a38:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc18a3c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc18a40:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc18a44:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
ffc18a48:	3f e0 00 00 	lis     r31,0                                  
ffc18a4c:	3d 60 00 00 	lis     r11,0                                  
ffc18a50:	81 3f 27 30 	lwz     r9,10032(r31)                          
ffc18a54:	83 cb 27 34 	lwz     r30,10036(r11)                         
ffc18a58:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc18a5c:	41 9e 00 14 	beq-    cr7,ffc18a70 <libc_wrapup+0x64>        
      _wrapup_reent(_global_impure_ptr);                              
ffc18a60:	7f c3 f3 78 	mr      r3,r30                                 
ffc18a64:	48 00 08 49 	bl      ffc192ac <_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;                                    
ffc18a68:	93 df 27 30 	stw     r30,10032(r31)                         
ffc18a6c:	7f c9 f3 78 	mr      r9,r30                                 
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
ffc18a70:	80 69 00 04 	lwz     r3,4(r9)                               
ffc18a74:	4b ff ab 61 	bl      ffc135d4 <fclose>                      
  fclose (stdout);                                                    
ffc18a78:	81 3f 27 30 	lwz     r9,10032(r31)                          
ffc18a7c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc18a80:	4b ff ab 55 	bl      ffc135d4 <fclose>                      
  fclose (stderr);                                                    
ffc18a84:	81 3f 27 30 	lwz     r9,10032(r31)                          
ffc18a88:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc18a8c:	4b ff ab 49 	bl      ffc135d4 <fclose>                      
}                                                                     
ffc18a90:	80 01 00 14 	lwz     r0,20(r1)                              
ffc18a94:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc18a98:	7c 08 03 a6 	mtlr    r0                                     
ffc18a9c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc18aa0:	38 21 00 10 	addi    r1,r1,16                               
ffc18aa4:	4e 80 00 20 	blr                                            
                                                                      

ffc18858 <lseek>: off_t lseek( int fd, off_t offset, int whence ) {
ffc18858:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1885c:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18860:	3d 20 00 00 	lis     r9,0                                   
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
ffc18864:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18868:	80 09 26 cc 	lwz     r0,9932(r9)                            
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
ffc1886c:	93 a1 00 0c 	stw     r29,12(r1)                             
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18870:	7f 83 00 40 	cmplw   cr7,r3,r0                              
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
ffc18874:	93 c1 00 10 	stw     r30,16(r1)                             
ffc18878:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1887c:	40 9c 01 4c 	bge-    cr7,ffc189c8 <lseek+0x170>             
  iop = rtems_libio_iop( fd );                                        
ffc18880:	3d 20 00 00 	lis     r9,0                                   
ffc18884:	83 a9 27 8c 	lwz     r29,10124(r9)                          
ffc18888:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1888c:	7f bd 1a 14 	add     r29,r29,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc18890:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc18894:	70 09 01 00 	andi.   r9,r0,256                              
ffc18898:	41 82 01 30 	beq-    ffc189c8 <lseek+0x170>                 
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
ffc1889c:	2f 87 00 01 	cmpwi   cr7,r7,1                               
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
ffc188a0:	83 dd 00 10 	lwz     r30,16(r29)                            
ffc188a4:	83 fd 00 14 	lwz     r31,20(r29)                            
  switch ( whence ) {                                                 
ffc188a8:	41 9e 00 d4 	beq-    cr7,ffc1897c <lseek+0x124>             
ffc188ac:	2f 87 00 02 	cmpwi   cr7,r7,2                               
ffc188b0:	41 9e 00 5c 	beq-    cr7,ffc1890c <lseek+0xb4>              
ffc188b4:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc188b8:	40 9e 00 d8 	bne-    cr7,ffc18990 <lseek+0x138>             
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
ffc188bc:	90 bd 00 10 	stw     r5,16(r29)                             
ffc188c0:	90 dd 00 14 	stw     r6,20(r29)                             
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc188c4:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc188c8:	7f a3 eb 78 	mr      r3,r29                                 
ffc188cc:	80 09 00 14 	lwz     r0,20(r9)                              
ffc188d0:	7c 09 03 a6 	mtctr   r0                                     
ffc188d4:	4e 80 04 21 	bctrl                                          
ffc188d8:	7c 69 1b 78 	mr      r9,r3                                  
  if ( status == (off_t) -1 )                                         
ffc188dc:	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 ); 
ffc188e0:	7c 8a 23 78 	mr      r10,r4                                 
  if ( status == (off_t) -1 )                                         
ffc188e4:	41 9e 00 64 	beq-    cr7,ffc18948 <lseek+0xf0>              
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc188e8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc188ec:	7d 23 4b 78 	mr      r3,r9                                  
ffc188f0:	7d 44 53 78 	mr      r4,r10                                 
ffc188f4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc188f8:	7c 08 03 a6 	mtlr    r0                                     
ffc188fc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc18900:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc18904:	38 21 00 18 	addi    r1,r1,24                               
ffc18908:	4e 80 00 20 	blr                                            
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
ffc1890c:	81 3d 00 08 	lwz     r9,8(r29)                              
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc18910:	7f a3 eb 78 	mr      r3,r29                                 
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
ffc18914:	81 5d 00 0c 	lwz     r10,12(r29)                            
ffc18918:	7d 4a 30 14 	addc    r10,r10,r6                             
ffc1891c:	7d 29 29 14 	adde    r9,r9,r5                               
ffc18920:	91 3d 00 10 	stw     r9,16(r29)                             
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc18924:	81 3d 00 24 	lwz     r9,36(r29)                             
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
ffc18928:	91 5d 00 14 	stw     r10,20(r29)                            
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc1892c:	80 09 00 14 	lwz     r0,20(r9)                              
ffc18930:	7c 09 03 a6 	mtctr   r0                                     
ffc18934:	4e 80 04 21 	bctrl                                          
ffc18938:	7c 69 1b 78 	mr      r9,r3                                  
  if ( status == (off_t) -1 )                                         
ffc1893c:	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 ); 
ffc18940:	7c 8a 23 78 	mr      r10,r4                                 
  if ( status == (off_t) -1 )                                         
ffc18944:	40 9e ff a4 	bne+    cr7,ffc188e8 <lseek+0x90>              
ffc18948:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc1894c:	40 9e ff 9c 	bne+    cr7,ffc188e8 <lseek+0x90>              <== NEVER TAKEN
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc18950:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc18954:	7d 23 4b 78 	mr      r3,r9                                  
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
  if ( status == (off_t) -1 )                                         
    iop->offset = old_offset;                                         
ffc18958:	93 dd 00 10 	stw     r30,16(r29)                            
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc1895c:	7d 44 53 78 	mr      r4,r10                                 
ffc18960:	7c 08 03 a6 	mtlr    r0                                     
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
  if ( status == (off_t) -1 )                                         
    iop->offset = old_offset;                                         
ffc18964:	93 fd 00 14 	stw     r31,20(r29)                            
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc18968:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1896c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc18970:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc18974:	38 21 00 18 	addi    r1,r1,24                               
ffc18978:	4e 80 00 20 	blr                                            
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
      break;                                                          
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
ffc1897c:	7d 46 f8 14 	addc    r10,r6,r31                             
ffc18980:	7d 25 f1 14 	adde    r9,r5,r30                              
ffc18984:	91 3d 00 10 	stw     r9,16(r29)                             
ffc18988:	91 5d 00 14 	stw     r10,20(r29)                            
      break;                                                          
ffc1898c:	4b ff ff 38 	b       ffc188c4 <lseek+0x6c>                  
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc18990:	4b ff aa a5 	bl      ffc13434 <__errno>                     
ffc18994:	38 00 00 16 	li      r0,22                                  
ffc18998:	90 03 00 00 	stw     r0,0(r3)                               
ffc1899c:	39 20 ff ff 	li      r9,-1                                  
ffc189a0:	39 40 ff ff 	li      r10,-1                                 
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc189a4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc189a8:	7d 23 4b 78 	mr      r3,r9                                  
ffc189ac:	7d 44 53 78 	mr      r4,r10                                 
ffc189b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc189b4:	7c 08 03 a6 	mtlr    r0                                     
ffc189b8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc189bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc189c0:	38 21 00 18 	addi    r1,r1,24                               
ffc189c4:	4e 80 00 20 	blr                                            
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc189c8:	4b ff aa 6d 	bl      ffc13434 <__errno>                     
ffc189cc:	38 00 00 09 	li      r0,9                                   
ffc189d0:	90 03 00 00 	stw     r0,0(r3)                               
ffc189d4:	39 20 ff ff 	li      r9,-1                                  
ffc189d8:	39 40 ff ff 	li      r10,-1                                 
ffc189dc:	4b ff ff 0c 	b       ffc188e8 <lseek+0x90>                  
                                                                      

ffc04ec8 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
ffc04ec8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04ecc:	7c 08 02 a6 	mflr    r0                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04ed0:	3d 20 00 00 	lis     r9,0                                   
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04ed4:	90 01 00 14 	stw     r0,20(r1)                              
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04ed8:	39 29 2b 00 	addi    r9,r9,11008                            
ffc04edc:	81 69 00 04 	lwz     r11,4(r9)                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04ee0:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
ffc04ee4:	3b c0 00 00 	li      r30,0                                  
  size_t  size                                                        
)                                                                     
{                                                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04ee8:	39 6b 00 01 	addi    r11,r11,1                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04eec:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc04ef0:	7c 7f 1b 78 	mr      r31,r3                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04ef4:	91 69 00 04 	stw     r11,4(r9)                              
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc04ef8:	4b ff fe 49 	bl      ffc04d40 <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
ffc04efc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04f00:	41 9e 00 74 	beq-    cr7,ffc04f74 <malloc+0xac>             
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04f04:	3d 20 00 00 	lis     r9,0                                   
ffc04f08:	80 09 27 ec 	lwz     r0,10220(r9)                           
ffc04f0c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc04f10:	41 9e 00 b0 	beq-    cr7,ffc04fc0 <malloc+0xf8>             
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
ffc04f14:	3d 20 00 00 	lis     r9,0                                   
ffc04f18:	80 69 26 e4 	lwz     r3,9956(r9)                            
ffc04f1c:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f20:	38 a0 00 00 	li      r5,0                                   
ffc04f24:	38 c0 00 00 	li      r6,0                                   
ffc04f28:	48 00 61 71 	bl      ffc0b098 <_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 ) {                                               
ffc04f2c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04f30:	41 82 00 60 	beq-    ffc04f90 <malloc+0xc8>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
ffc04f34:	3d 20 00 00 	lis     r9,0                                   
ffc04f38:	80 09 27 50 	lwz     r0,10064(r9)                           
ffc04f3c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04f40:	41 9e 00 14 	beq-    cr7,ffc04f54 <malloc+0x8c>             
    (*rtems_malloc_dirty_helper)( return_this, size );                
ffc04f44:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f48:	7c 09 03 a6 	mtctr   r0                                     
ffc04f4c:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f50:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04f54:	3d 20 00 00 	lis     r9,0                                   
ffc04f58:	81 29 27 48 	lwz     r9,10056(r9)                           
ffc04f5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f60:	41 9e 00 14 	beq-    cr7,ffc04f74 <malloc+0xac>             
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
ffc04f64:	80 09 00 04 	lwz     r0,4(r9)                               
ffc04f68:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f6c:	7c 09 03 a6 	mtctr   r0                                     
ffc04f70:	4e 80 04 21 	bctrl                                          
                                                                      
  return return_this;                                                 
}                                                                     
ffc04f74:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04f78:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f7c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04f80:	7c 08 03 a6 	mtlr    r0                                     
ffc04f84:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04f88:	38 21 00 10 	addi    r1,r1,16                               
ffc04f8c:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
ffc04f90:	3d 20 00 00 	lis     r9,0                                   
ffc04f94:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc04f98:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f9c:	41 9e 00 34 	beq-    cr7,ffc04fd0 <malloc+0x108>            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
ffc04fa0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc04fa4:	7f e3 fb 78 	mr      r3,r31                                 
ffc04fa8:	7c 09 03 a6 	mtctr   r0                                     
ffc04fac:	4e 80 04 21 	bctrl                                          
    if ( !return_this ) {                                             
ffc04fb0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04fb4:	41 82 00 1c 	beq-    ffc04fd0 <malloc+0x108>                <== ALWAYS TAKEN
ffc04fb8:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc04fbc:	4b ff ff 78 	b       ffc04f34 <malloc+0x6c>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
ffc04fc0:	4b ff fd 39 	bl      ffc04cf8 <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()) &&                    
ffc04fc4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fc8:	40 9e ff 4c 	bne+    cr7,ffc04f14 <malloc+0x4c>             <== ALWAYS TAKEN
ffc04fcc:	4b ff ff a8 	b       ffc04f74 <malloc+0xac>                 <== NOT EXECUTED
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
      errno = ENOMEM;                                                 
ffc04fd0:	48 00 e4 65 	bl      ffc13434 <__errno>                     
ffc04fd4:	38 00 00 0c 	li      r0,12                                  
ffc04fd8:	90 03 00 00 	stw     r0,0(r3)                               
      return (void *) 0;                                              
ffc04fdc:	4b ff ff 98 	b       ffc04f74 <malloc+0xac>                 
                                                                      

ffc052f4 <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
ffc052f4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc052f8:	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;                             
ffc052fc:	3d 20 00 00 	lis     r9,0                                   
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05300:	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;                             
ffc05304:	80 09 27 c0 	lwz     r0,10176(r9)                           
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05308:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0530c:	7c 7e 1b 78 	mr      r30,r3                                 
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc05310:	2f 80 00 00 	cmpwi   cr7,r0,0                               
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc05314:	93 e1 00 14 	stw     r31,20(r1)                             
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
ffc05318:	3b e0 00 00 	li      r31,0                                  
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc0531c:	93 81 00 08 	stw     r28,8(r1)                              
ffc05320:	93 a1 00 0c 	stw     r29,12(r1)                             
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc05324:	40 9e 00 28 	bne-    cr7,ffc0534c <malloc_sbrk_extend_and_allocate+0x58><== ALWAYS TAKEN
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
ffc05328:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0532c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05330:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05334:	7c 08 03 a6 	mtlr    r0                                     
ffc05338:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0533c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05340:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05344:	38 21 00 18 	addi    r1,r1,24                               
ffc05348:	4e 80 00 20 	blr                                            
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
ffc0534c:	7f a3 02 14 	add     r29,r3,r0                              
ffc05350:	7f bd 03 96 	divwu   r29,r29,r0                             
ffc05354:	7f bd 01 d6 	mullw   r29,r29,r0                             
                                                                      
  starting_address = (void *) sbrk(the_size);                         
ffc05358:	7f a3 eb 78 	mr      r3,r29                                 
ffc0535c:	4b ff b1 61 	bl      ffc004bc <sbrk>                        
  if ( starting_address == (void*) -1 )                               
ffc05360:	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);                         
ffc05364:	7c 64 1b 78 	mr      r4,r3                                  
  if ( starting_address == (void*) -1 )                               
ffc05368:	41 be ff c0 	beq-    cr7,ffc05328 <malloc_sbrk_extend_and_allocate+0x34>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
ffc0536c:	3f 80 00 00 	lis     r28,0                                  
ffc05370:	80 7c 26 e4 	lwz     r3,9956(r28)                           
ffc05374:	7f a5 eb 78 	mr      r5,r29                                 
ffc05378:	48 00 61 d9 	bl      ffc0b550 <_Protected_heap_Extend>      
ffc0537c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05380:	41 9e 00 30 	beq-    cr7,ffc053b0 <malloc_sbrk_extend_and_allocate+0xbc>
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
ffc05384:	3d 20 00 00 	lis     r9,0                                   
ffc05388:	80 7c 26 e4 	lwz     r3,9956(r28)                           
ffc0538c:	80 09 2c 88 	lwz     r0,11400(r9)                           
ffc05390:	7f c4 f3 78 	mr      r4,r30                                 
ffc05394:	38 a0 00 00 	li      r5,0                                   
ffc05398:	7c 1d 02 14 	add     r0,r29,r0                              
ffc0539c:	38 c0 00 00 	li      r6,0                                   
ffc053a0:	90 09 2c 88 	stw     r0,11400(r9)                           
ffc053a4:	48 00 61 41 	bl      ffc0b4e4 <_Protected_heap_Allocate_aligned_with_boundary>
ffc053a8:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
ffc053ac:	4b ff ff 7c 	b       ffc05328 <malloc_sbrk_extend_and_allocate+0x34>
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
ffc053b0:	7c 7d 00 d0 	neg     r3,r29                                 
ffc053b4:	4b ff b1 09 	bl      ffc004bc <sbrk>                        
    errno = ENOMEM;                                                   
ffc053b8:	48 00 e9 09 	bl      ffc13cc0 <__errno>                     
ffc053bc:	38 00 00 0c 	li      r0,12                                  
ffc053c0:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc053c4:	4b ff ff 64 	b       ffc05328 <malloc_sbrk_extend_and_allocate+0x34>
                                                                      

ffc11684 <memfile_free_blocks_in_table>: */ void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
ffc11684:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11688:	7c 08 02 a6 	mflr    r0                                     
ffc1168c:	93 a1 00 14 	stw     r29,20(r1)                             
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc11690:	7c 9d 23 79 	mr.     r29,r4                                 
 */                                                                   
void memfile_free_blocks_in_table(                                    
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
ffc11694:	90 01 00 24 	stw     r0,36(r1)                              
ffc11698:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1169c:	7c 7b 1b 78 	mr      r27,r3                                 
ffc116a0:	93 81 00 10 	stw     r28,16(r1)                             
ffc116a4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc116a8:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_assert( block_table );                                         
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
ffc116ac:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc116b0:	40 81 00 34 	ble-    ffc116e4 <memfile_free_blocks_in_table+0x60><== NEVER TAKEN
 *  memfile_free_blocks_in_table                                      
 *                                                                    
 *  This is a support routine for IMFS_memfile_remove.  It frees all the
 *  blocks in one of the indirection tables.                          
 */                                                                   
void memfile_free_blocks_in_table(                                    
ffc116b4:	3b c3 ff fc 	addi    r30,r3,-4                              
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc116b8:	3b e0 00 00 	li      r31,0                                  
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
ffc116bc:	3b 80 00 00 	li      r28,0                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
ffc116c0:	84 7e 00 04 	lwzu    r3,4(r30)                              
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc116c4:	3b ff 00 01 	addi    r31,r31,1                              
    if ( b[i] ) {                                                     
ffc116c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc116cc:	41 9e 00 0c 	beq-    cr7,ffc116d8 <memfile_free_blocks_in_table+0x54>
      memfile_free_block( b[i] );                                     
ffc116d0:	4b ff ff 85 	bl      ffc11654 <memfile_free_block>          
      b[i] = 0;                                                       
ffc116d4:	93 9e 00 00 	stw     r28,0(r30)                             
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc116d8:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc116dc:	41 9d ff e4 	bgt+    cr7,ffc116c0 <memfile_free_blocks_in_table+0x3c>
ffc116e0:	80 7b 00 00 	lwz     r3,0(r27)                              
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
ffc116e4:	4b ff ff 71 	bl      ffc11654 <memfile_free_block>          
  *block_table = 0;                                                   
ffc116e8:	38 00 00 00 	li      r0,0                                   
ffc116ec:	90 1b 00 00 	stw     r0,0(r27)                              
}                                                                     
ffc116f0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc116f4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc116f8:	7c 08 03 a6 	mtlr    r0                                     
ffc116fc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11700:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc11704:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc11708:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1170c:	38 21 00 20 	addi    r1,r1,32                               
ffc11710:	4e 80 00 20 	blr                                            
                                                                      

ffc11e68 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
ffc11e68:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11e6c:	7c 08 02 a6 	mflr    r0                                     
ffc11e70:	7c 69 1b 78 	mr      r9,r3                                  
ffc11e74:	90 01 00 24 	stw     r0,36(r1)                              
ffc11e78:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11e7c:	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 )                           
ffc11e80:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc11e84:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc11e88:	41 9c 00 50 	blt-    cr7,ffc11ed8 <memfile_ftruncate+0x70>  <== NEVER TAKEN
ffc11e8c:	41 9e 00 40 	beq-    cr7,ffc11ecc <memfile_ftruncate+0x64>  <== ALWAYS TAKEN
  /*                                                                  
   *  The in-memory files do not currently reclaim memory until the file is
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
ffc11e90:	90 bf 00 50 	stw     r5,80(r31)                             
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11e94:	38 61 00 08 	addi    r3,r1,8                                
ffc11e98:	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;                                 
ffc11e9c:	90 df 00 54 	stw     r6,84(r31)                             
  iop->size = the_jnode->info.file.size;                              
ffc11ea0:	90 a9 00 08 	stw     r5,8(r9)                               
ffc11ea4:	90 c9 00 0c 	stw     r6,12(r9)                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11ea8:	4b ff 2c cd 	bl      ffc04b74 <gettimeofday>                
ffc11eac:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc11eb0:	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 );                                     
ffc11eb4:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc11eb8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11ebc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11ec0:	38 21 00 20 	addi    r1,r1,32                               
ffc11ec4:	7c 08 03 a6 	mtlr    r0                                     
ffc11ec8:	4e 80 00 20 	blr                                            
   *  POSIX 1003.1b does not specify what happens if you truncate a file
   *  and the new length is greater than the current size.  We treat this
   *  as an extend operation.                                         
   */                                                                 
                                                                      
  if ( length > the_jnode->info.file.size )                           
ffc11ecc:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc11ed0:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc11ed4:	40 9c ff bc 	bge+    cr7,ffc11e90 <memfile_ftruncate+0x28>  
    return IMFS_memfile_extend( the_jnode, length );                  
ffc11ed8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11edc:	4b ff fa 21 	bl      ffc118fc <IMFS_memfile_extend>         
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
ffc11ee0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11ee4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11ee8:	38 21 00 20 	addi    r1,r1,32                               
ffc11eec:	7c 08 03 a6 	mtlr    r0                                     
ffc11ef0:	4e 80 00 20 	blr                                            
                                                                      

ffc11ef4 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc11ef4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11ef8:	7c 08 02 a6 	mflr    r0                                     
ffc11efc:	90 01 00 14 	stw     r0,20(r1)                              
ffc11f00:	93 c1 00 08 	stw     r30,8(r1)                              
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11f04:	83 c3 00 1c 	lwz     r30,28(r3)                             
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
ffc11f08:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11f0c:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc11f10:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc11f14:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc11f18:	41 9e 00 54 	beq-    cr7,ffc11f6c <memfile_lseek+0x78>      
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
ffc11f1c:	80 a3 00 10 	lwz     r5,16(r3)                              
ffc11f20:	80 c3 00 14 	lwz     r6,20(r3)                              
ffc11f24:	7f c3 f3 78 	mr      r3,r30                                 
ffc11f28:	4b ff f9 d5 	bl      ffc118fc <IMFS_memfile_extend>         
ffc11f2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11f30:	40 9e 00 90 	bne-    cr7,ffc11fc0 <memfile_lseek+0xcc>      
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
ffc11f34:	81 7e 00 50 	lwz     r11,80(r30)                            
ffc11f38:	81 9e 00 54 	lwz     r12,84(r30)                            
ffc11f3c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc11f40:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc11f44:	91 7f 00 08 	stw     r11,8(r31)                             
ffc11f48:	91 9f 00 0c 	stw     r12,12(r31)                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11f4c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11f50:	7d 23 4b 78 	mr      r3,r9                                  
ffc11f54:	7d 44 53 78 	mr      r4,r10                                 
ffc11f58:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11f5c:	7c 08 03 a6 	mtlr    r0                                     
ffc11f60:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11f64:	38 21 00 10 	addi    r1,r1,16                               
ffc11f68:	4e 80 00 20 	blr                                            
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
ffc11f6c:	81 23 00 10 	lwz     r9,16(r3)                              
ffc11f70:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc11f74:	81 43 00 14 	lwz     r10,20(r3)                             
ffc11f78:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc11f7c:	81 7e 00 54 	lwz     r11,84(r30)                            
ffc11f80:	41 9d 00 10 	bgt-    cr7,ffc11f90 <memfile_lseek+0x9c>      <== NEVER TAKEN
ffc11f84:	40 be ff c8 	bne-    cr7,ffc11f4c <memfile_lseek+0x58>      <== NEVER TAKEN
ffc11f88:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc11f8c:	40 bd ff c0 	ble-    cr7,ffc11f4c <memfile_lseek+0x58>      <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
ffc11f90:	7c 09 03 78 	mr      r9,r0                                  <== NOT EXECUTED
ffc11f94:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc11f98:	7d 6a 5b 78 	mr      r10,r11                                <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11f9c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11fa0:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
ffc11fa4:	91 7f 00 14 	stw     r11,20(r31)                            <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
ffc11fa8:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc11fac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11fb0:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc11fb4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11fb8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11fbc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc11fc0:	48 00 14 75 	bl      ffc13434 <__errno>                     
ffc11fc4:	38 00 00 1c 	li      r0,28                                  
ffc11fc8:	90 03 00 00 	stw     r0,0(r3)                               
ffc11fcc:	39 20 ff ff 	li      r9,-1                                  
ffc11fd0:	39 40 ff ff 	li      r10,-1                                 
ffc11fd4:	4b ff ff 78 	b       ffc11f4c <memfile_lseek+0x58>          
                                                                      

ffc11d88 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
ffc11d88:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11d8c:	7c 08 02 a6 	mflr    r0                                     
ffc11d90:	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))         
ffc11d94:	80 03 00 18 	lwz     r0,24(r3)                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc11d98:	93 c1 00 08 	stw     r30,8(r1)                              
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc11d9c:	70 09 02 04 	andi.   r9,r0,516                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc11da0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11da4:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11da8:	83 c3 00 1c 	lwz     r30,28(r3)                             
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc11dac:	41 82 00 10 	beq-    ffc11dbc <memfile_open+0x34>           
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
ffc11db0:	81 3e 00 4c 	lwz     r9,76(r30)                             
ffc11db4:	2f 89 00 06 	cmpwi   cr7,r9,6                               
ffc11db8:	41 9e 00 4c 	beq-    cr7,ffc11e04 <memfile_open+0x7c>       <== NEVER TAKEN
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc11dbc:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc11dc0:	81 5e 00 54 	lwz     r10,84(r30)                            
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
ffc11dc4:	70 0b 02 00 	andi.   r11,r0,512                             
ffc11dc8:	40 82 00 28 	bne-    ffc11df0 <memfile_open+0x68>           
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc11dcc:	91 3f 00 08 	stw     r9,8(r31)                              
  return 0;                                                           
ffc11dd0:	38 60 00 00 	li      r3,0                                   
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc11dd4:	91 5f 00 0c 	stw     r10,12(r31)                            
  return 0;                                                           
}                                                                     
ffc11dd8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11ddc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11de0:	7c 08 03 a6 	mtlr    r0                                     
ffc11de4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11de8:	38 21 00 10 	addi    r1,r1,16                               
ffc11dec:	4e 80 00 20 	blr                                            
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
ffc11df0:	91 3f 00 10 	stw     r9,16(r31)                             
ffc11df4:	91 5f 00 14 	stw     r10,20(r31)                            
ffc11df8:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc11dfc:	81 5e 00 54 	lwz     r10,84(r30)                            
ffc11e00:	4b ff ff cc 	b       ffc11dcc <memfile_open+0x44>           
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
ffc11e04:	81 1e 00 54 	lwz     r8,84(r30)                             <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
ffc11e08:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
ffc11e0c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
ffc11e10:	91 3e 00 4c 	stw     r9,76(r30)                             <== 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)                                                  
ffc11e14:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== NOT EXECUTED
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
ffc11e18:	39 20 00 00 	li      r9,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;  
ffc11e1c:	80 fe 00 58 	lwz     r7,88(r30)                             <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
ffc11e20:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc11e24:	91 3e 00 50 	stw     r9,80(r30)                             <== NOT EXECUTED
ffc11e28:	91 5e 00 54 	stw     r10,84(r30)                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
ffc11e2c:	90 1e 00 58 	stw     r0,88(r30)                             <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
ffc11e30:	90 1e 00 5c 	stw     r0,92(r30)                             <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
ffc11e34:	90 1e 00 60 	stw     r0,96(r30)                             <== NOT EXECUTED
    if ((count != 0)                                                  
ffc11e38:	40 9e 00 0c 	bne-    cr7,ffc11e44 <memfile_open+0xbc>       <== NOT EXECUTED
ffc11e3c:	80 03 00 18 	lwz     r0,24(r3)                              <== NOT EXECUTED
ffc11e40:	4b ff ff 84 	b       ffc11dc4 <memfile_open+0x3c>           <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc11e44:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11e48:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc11e4c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc11e50:	4b ff fc 81 	bl      ffc11ad0 <IMFS_memfile_write>          <== NOT EXECUTED
ffc11e54:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
        return -1;                                                    
ffc11e58:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc11e5c:	41 be ff 7c 	beq-    cr7,ffc11dd8 <memfile_open+0x50>       <== NOT EXECUTED
ffc11e60:	80 1f 00 18 	lwz     r0,24(r31)                             <== NOT EXECUTED
ffc11e64:	4b ff ff 58 	b       ffc11dbc <memfile_open+0x34>           <== NOT EXECUTED
                                                                      

ffc051dc <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc051dc:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc051e0:	2b 86 00 01 	cmplwi  cr7,r6,1                               
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
ffc051e4:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc051e8:	7c 08 02 a6 	mflr    r0                                     
ffc051ec:	93 01 00 40 	stw     r24,64(r1)                             
ffc051f0:	7c b8 2b 78 	mr      r24,r5                                 
ffc051f4:	93 41 00 48 	stw     r26,72(r1)                             
ffc051f8:	7c da 33 78 	mr      r26,r6                                 
ffc051fc:	93 61 00 4c 	stw     r27,76(r1)                             
ffc05200:	7c 9b 23 78 	mr      r27,r4                                 
ffc05204:	93 81 00 50 	stw     r28,80(r1)                             
ffc05208:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0520c:	93 c1 00 58 	stw     r30,88(r1)                             
ffc05210:	7c fe 3b 78 	mr      r30,r7                                 
ffc05214:	90 01 00 64 	stw     r0,100(r1)                             
ffc05218:	92 61 00 2c 	stw     r19,44(r1)                             
ffc0521c:	92 81 00 30 	stw     r20,48(r1)                             
ffc05220:	92 a1 00 34 	stw     r21,52(r1)                             
ffc05224:	92 c1 00 38 	stw     r22,56(r1)                             
ffc05228:	92 e1 00 3c 	stw     r23,60(r1)                             
ffc0522c:	93 21 00 44 	stw     r25,68(r1)                             
ffc05230:	93 a1 00 54 	stw     r29,84(r1)                             
ffc05234:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc05238:	91 81 00 28 	stw     r12,40(r1)                             
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc0523c:	41 9d 02 a0 	bgt-    cr7,ffc054dc <mount+0x300>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
ffc05240:	7c a3 2b 78 	mr      r3,r5                                  
ffc05244:	48 00 9e 21 	bl      ffc0f064 <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
ffc05248:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0524c:	41 82 02 90 	beq-    ffc054dc <mount+0x300>                 
{                                                                     
  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;                                   
ffc05250:	7f 60 00 34 	cntlzw  r0,r27                                 
ffc05254:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc05258:	68 00 00 01 	xori    r0,r0,1                                
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc0525c:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc05260:	41 92 02 68 	beq-    cr4,ffc054c8 <mount+0x2ec>             
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
ffc05264:	7f 63 db 78 	mr      r3,r27                                 
ffc05268:	48 00 f4 55 	bl      ffc146bc <strlen>                      
ffc0526c:	7f 73 db 78 	mr      r19,r27                                
ffc05270:	7c 74 1b 78 	mr      r20,r3                                 
ffc05274:	3a a3 00 01 	addi    r21,r3,1                               
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
ffc05278:	7f 03 c3 78 	mr      r3,r24                                 
ffc0527c:	48 00 f4 41 	bl      ffc146bc <strlen>                      
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05280:	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;          
ffc05284:	3a e3 00 01 	addi    r23,r3,1                               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05288:	3b 20 00 00 	li      r25,0                                  
ffc0528c:	41 9e 00 10 	beq-    cr7,ffc0529c <mount+0xc0>              
ffc05290:	7f 83 e3 78 	mr      r3,r28                                 
ffc05294:	48 00 f4 29 	bl      ffc146bc <strlen>                      
ffc05298:	3b 23 00 01 	addi    r25,r3,1                               
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
ffc0529c:	38 95 00 74 	addi    r4,r21,116                             
ffc052a0:	7c 84 ba 14 	add     r4,r4,r23                              
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
ffc052a4:	38 60 00 01 	li      r3,1                                   
ffc052a8:	7c 84 ca 14 	add     r4,r4,r25                              
ffc052ac:	4b ff f5 55 	bl      ffc04800 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc052b0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc052b4:	41 82 02 00 	beq-    ffc054b4 <mount+0x2d8>                 <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
ffc052b8:	3a df 00 74 	addi    r22,r31,116                            
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
ffc052bc:	7e e5 bb 78 	mr      r5,r23                                 
ffc052c0:	7f 04 c3 78 	mr      r4,r24                                 
ffc052c4:	7e c3 b3 78 	mr      r3,r22                                 
ffc052c8:	48 00 ed cd 	bl      ffc14094 <memcpy>                      
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
ffc052cc:	7e f6 ba 14 	add     r23,r22,r23                            
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
ffc052d0:	92 df 00 6c 	stw     r22,108(r31)                           
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
ffc052d4:	7f 25 cb 78 	mr      r5,r25                                 
ffc052d8:	7f 84 e3 78 	mr      r4,r28                                 
ffc052dc:	7e e3 bb 78 	mr      r3,r23                                 
ffc052e0:	48 00 ed b5 	bl      ffc14094 <memcpy>                      
    mt_entry->dev = str;                                              
    str += source_size;                                               
ffc052e4:	7f 37 ca 14 	add     r25,r23,r25                            
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
ffc052e8:	92 ff 00 70 	stw     r23,112(r31)                           
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
ffc052ec:	7e 64 9b 78 	mr      r4,r19                                 
ffc052f0:	7e a5 ab 78 	mr      r5,r21                                 
ffc052f4:	7f 23 cb 78 	mr      r3,r25                                 
ffc052f8:	48 00 ed 9d 	bl      ffc14094 <memcpy>                      
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc052fc:	3c 80 ff c2 	lis     r4,-62                                 
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
ffc05300:	93 3f 00 68 	stw     r25,104(r31)                           
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05304:	38 7f 00 38 	addi    r3,r31,56                              
ffc05308:	38 84 a1 30 	addi    r4,r4,-24272                           
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
ffc0530c:	93 ff 00 2c 	stw     r31,44(r31)                            
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05310:	38 a0 00 30 	li      r5,48                                  
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
ffc05314:	93 5f 00 30 	stw     r26,48(r31)                            
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc05318:	48 00 ed 7d 	bl      ffc14094 <memcpy>                      
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
ffc0531c:	40 92 00 f0 	bne-    cr4,ffc0540c <mount+0x230>             
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc05320:	3d 20 00 00 	lis     r9,0                                   
ffc05324:	39 69 21 6c 	addi    r11,r9,8556                            
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc05328:	81 29 21 6c 	lwz     r9,8556(r9)                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0532c:	38 0b 00 04 	addi    r0,r11,4                               
ffc05330:	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;           
ffc05334:	3b 80 00 00 	li      r28,0                                  
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc05338:	40 9e 01 b8 	bne-    cr7,ffc054f0 <mount+0x314>             <== NEVER TAKEN
     *  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 ) ) {                               
ffc0533c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05340:	7f a9 03 a6 	mtctr   r29                                    
ffc05344:	7f c4 f3 78 	mr      r4,r30                                 
ffc05348:	4e 80 04 21 	bctrl                                          
ffc0534c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05350:	40 9e 01 bc 	bne-    cr7,ffc0550c <mount+0x330>             
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 );
ffc05354:	3f c0 00 00 	lis     r30,0                                  
ffc05358:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0535c:	38 80 00 00 	li      r4,0                                   
ffc05360:	38 a0 00 00 	li      r5,0                                   
ffc05364:	48 00 39 4d 	bl      ffc08cb0 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
ffc05368:	3c 60 00 00 	lis     r3,0                                   
ffc0536c:	38 63 21 6c 	addi    r3,r3,8556                             
ffc05370:	7f e4 fb 78 	mr      r4,r31                                 
ffc05374:	48 00 47 81 	bl      ffc09af4 <_Chain_Append>               
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc05378:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0537c:	48 00 3a bd 	bl      ffc08e38 <rtems_semaphore_release>     
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
ffc05380:	41 92 00 54 	beq-    cr4,ffc053d4 <mount+0x1f8>             
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
ffc05384:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
ffc05388:	80 01 00 64 	lwz     r0,100(r1)                             
ffc0538c:	81 81 00 28 	lwz     r12,40(r1)                             
ffc05390:	7c 08 03 a6 	mtlr    r0                                     
ffc05394:	82 61 00 2c 	lwz     r19,44(r1)                             
ffc05398:	82 81 00 30 	lwz     r20,48(r1)                             
ffc0539c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc053a0:	82 a1 00 34 	lwz     r21,52(r1)                             
ffc053a4:	82 c1 00 38 	lwz     r22,56(r1)                             
ffc053a8:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc053ac:	83 01 00 40 	lwz     r24,64(r1)                             
ffc053b0:	83 21 00 44 	lwz     r25,68(r1)                             
ffc053b4:	83 41 00 48 	lwz     r26,72(r1)                             
ffc053b8:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc053bc:	83 81 00 50 	lwz     r28,80(r1)                             
ffc053c0:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc053c4:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc053c8:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc053cc:	38 21 00 60 	addi    r1,r1,96                               
ffc053d0:	4e 80 00 20 	blr                                            
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc053d4:	3d 20 00 00 	lis     r9,0                                   
ffc053d8:	80 ff 00 1c 	lwz     r7,28(r31)                             
ffc053dc:	81 29 27 24 	lwz     r9,10020(r9)                           
                                                                      
  return 0;                                                           
ffc053e0:	38 60 00 00 	li      r3,0                                   
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc053e4:	81 1f 00 20 	lwz     r8,32(r31)                             
ffc053e8:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc053ec:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc053f0:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc053f4:	90 e9 00 18 	stw     r7,24(r9)                              
ffc053f8:	91 09 00 1c 	stw     r8,28(r9)                              
ffc053fc:	91 49 00 20 	stw     r10,32(r9)                             
ffc05400:	91 69 00 24 	stw     r11,36(r9)                             
ffc05404:	90 09 00 28 	stw     r0,40(r9)                              
ffc05408:	4b ff ff 80 	b       ffc05388 <mount+0x1ac>                 
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
ffc0540c:	3b 81 00 08 	addi    r28,r1,8                               
ffc05410:	7f 63 db 78 	mr      r3,r27                                 
ffc05414:	7e 84 a3 78 	mr      r4,r20                                 
ffc05418:	38 a0 00 07 	li      r5,7                                   
ffc0541c:	7f 86 e3 78 	mr      r6,r28                                 
ffc05420:	38 e0 00 01 	li      r7,1                                   
ffc05424:	4b ff f5 01 	bl      ffc04924 <rtems_filesystem_evaluate_path>
ffc05428:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc0542c:	41 9e 00 d0 	beq-    cr7,ffc054fc <mount+0x320>             <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc05430:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05434:	7f 83 e3 78 	mr      r3,r28                                 
ffc05438:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0543c:	7c 09 03 a6 	mtctr   r0                                     
ffc05440:	4e 80 04 21 	bctrl                                          
ffc05444:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc05448:	40 9e 00 f0 	bne-    cr7,ffc05538 <mount+0x35c>             
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
ffc0544c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc05450:	3c 60 ff c0 	lis     r3,-64                                 
ffc05454:	38 63 51 10 	addi    r3,r3,20752                            
ffc05458:	4b ff fc cd 	bl      ffc05124 <rtems_filesystem_mount_iterate>
ffc0545c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05460:	40 9e 00 e8 	bne-    cr7,ffc05548 <mount+0x36c>             
     *  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;            
ffc05464:	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 ) ) {                             
ffc05468:	7f e3 fb 78 	mr      r3,r31                                 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc0546c:	81 21 00 14 	lwz     r9,20(r1)                              
     *  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;            
ffc05470:	90 1f 00 08 	stw     r0,8(r31)                              
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc05474:	80 01 00 10 	lwz     r0,16(r1)                              
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc05478:	91 3f 00 14 	stw     r9,20(r31)                             
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc0547c:	90 1f 00 10 	stw     r0,16(r31)                             
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
ffc05480:	80 01 00 18 	lwz     r0,24(r1)                              
ffc05484:	90 1f 00 18 	stw     r0,24(r31)                             
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
ffc05488:	80 09 00 20 	lwz     r0,32(r9)                              
ffc0548c:	7c 09 03 a6 	mtctr   r0                                     
ffc05490:	4e 80 04 21 	bctrl                                          
ffc05494:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05498:	41 9e fe a4 	beq+    cr7,ffc0533c <mount+0x160>             <== ALWAYS TAKEN
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc0549c:	7f e3 fb 78 	mr      r3,r31                                 
ffc054a0:	4b ff f6 0d 	bl      ffc04aac <free>                        
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
ffc054a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc054a8:	4b ff f5 d9 	bl      ffc04a80 <rtems_filesystem_freenode>   
                                                                      
  return -1;                                                          
ffc054ac:	38 60 ff ff 	li      r3,-1                                  
ffc054b0:	4b ff fe d8 	b       ffc05388 <mount+0x1ac>                 
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
ffc054b4:	48 00 df 81 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc054b8:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc054bc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc054c0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc054c4:	4b ff fe c4 	b       ffc05388 <mount+0x1ac>                 <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc054c8:	3e 60 ff c2 	lis     r19,-62                                
ffc054cc:	3a a0 00 02 	li      r21,2                                  
ffc054d0:	3a 80 00 01 	li      r20,1                                  
ffc054d4:	3a 73 a0 ec 	addi    r19,r19,-24340                         
ffc054d8:	4b ff fd a0 	b       ffc05278 <mount+0x9c>                  
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc054dc:	48 00 df 59 	bl      ffc13434 <__errno>                     
ffc054e0:	38 00 00 16 	li      r0,22                                  
ffc054e4:	90 03 00 00 	stw     r0,0(r3)                               
ffc054e8:	38 60 ff ff 	li      r3,-1                                  
ffc054ec:	4b ff fe 9c 	b       ffc05388 <mount+0x1ac>                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
ffc054f0:	48 00 df 45 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc054f4:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc054f8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc054fc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc05500:	4b ff f5 ad 	bl      ffc04aac <free>                        <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc05504:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc05508:	4b ff fe 80 	b       ffc05388 <mount+0x1ac>                 <== NOT EXECUTED
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
ffc0550c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05510:	7f e3 fb 78 	mr      r3,r31                                 
ffc05514:	80 09 00 28 	lwz     r0,40(r9)                              
ffc05518:	7c 09 03 a6 	mtctr   r0                                     
ffc0551c:	4e 80 04 21 	bctrl                                          
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc05520:	7f e3 fb 78 	mr      r3,r31                                 
ffc05524:	4b ff f5 89 	bl      ffc04aac <free>                        
                                                                      
  if ( loc_to_free )                                                  
ffc05528:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc0552c:	38 60 ff ff 	li      r3,-1                                  
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
ffc05530:	41 9e fe 58 	beq+    cr7,ffc05388 <mount+0x1ac>             <== NEVER TAKEN
ffc05534:	4b ff ff 70 	b       ffc054a4 <mount+0x2c8>                 
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
ffc05538:	48 00 de fd 	bl      ffc13434 <__errno>                     
ffc0553c:	38 00 00 14 	li      r0,20                                  
ffc05540:	90 03 00 00 	stw     r0,0(r3)                               
      goto cleanup_and_bail;                                          
ffc05544:	4b ff ff 58 	b       ffc0549c <mount+0x2c0>                 
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
ffc05548:	48 00 de ed 	bl      ffc13434 <__errno>                     
ffc0554c:	38 00 00 10 	li      r0,16                                  
ffc05550:	90 03 00 00 	stw     r0,0(r3)                               
      goto cleanup_and_bail;                                          
ffc05554:	4b ff ff 48 	b       ffc0549c <mount+0x2c0>                 
                                                                      

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

ffc0e840 <mq_open>: rtems_fatal_error_occurred( 99 ); } } #endif _Thread_Dispatch_disable_level += 1;
ffc0e840:	3d 20 00 00 	lis     r9,0                                   
  int         oflag,                                                  
  ...                                                                 
  /* mode_t mode, */                                                  
  /* struct mq_attr  attr */                                          
)                                                                     
{                                                                     
ffc0e844:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc0e848:	7c 08 02 a6 	mflr    r0                                     
ffc0e84c:	81 69 2a 30 	lwz     r11,10800(r9)                          
ffc0e850:	7d 80 00 26 	mfcr    r12                                    
ffc0e854:	93 81 00 40 	stw     r28,64(r1)                             
ffc0e858:	7c 9c 23 78 	mr      r28,r4                                 
ffc0e85c:	39 6b 00 01 	addi    r11,r11,1                              
ffc0e860:	93 a1 00 44 	stw     r29,68(r1)                             
ffc0e864:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0e868:	90 01 00 54 	stw     r0,84(r1)                              
ffc0e86c:	93 41 00 38 	stw     r26,56(r1)                             
ffc0e870:	93 61 00 3c 	stw     r27,60(r1)                             
ffc0e874:	93 c1 00 48 	stw     r30,72(r1)                             
ffc0e878:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc0e87c:	91 81 00 34 	stw     r12,52(r1)                             
ffc0e880:	90 a1 00 28 	stw     r5,40(r1)                              
ffc0e884:	90 c1 00 2c 	stw     r6,44(r1)                              
ffc0e888:	91 69 2a 30 	stw     r11,10800(r9)                          
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
ffc0e88c:	54 80 bf fe 	rlwinm  r0,r4,23,31,31                         
ffc0e890:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc0e894:	40 92 01 10 	bne-    cr4,ffc0e9a4 <mq_open+0x164>           
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
    _Objects_Allocate( &_POSIX_Message_queue_Information_fds );       
ffc0e898:	3f c0 00 00 	lis     r30,0                                  
ffc0e89c:	3b de 36 18 	addi    r30,r30,13848                          
ffc0e8a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e8a4:	48 00 3e 65 	bl      ffc12708 <_Objects_Allocate>           
  /* struct mq_attr  attr */                                          
)                                                                     
{                                                                     
  va_list                         arg;                                
  mode_t                          mode;                               
  struct mq_attr                 *attr = NULL;                        
ffc0e8a8:	3b 40 00 00 	li      r26,0                                  
    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );        
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
ffc0e8ac:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0e8b0:	41 82 01 28 	beq-    ffc0e9d8 <mq_open+0x198>               <== NEVER TAKEN
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
  the_mq_fd->oflag = oflag;                                           
ffc0e8b4:	93 9f 00 14 	stw     r28,20(r31)                            
                                                                      
  status = _POSIX_Message_queue_Name_to_id( name, &the_mq_id );       
ffc0e8b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e8bc:	38 81 00 08 	addi    r4,r1,8                                
ffc0e8c0:	48 00 90 cd 	bl      ffc1798c <_POSIX_Message_queue_Name_to_id>
   *  If the name to id translation worked, then the message queue exists
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "message queue does not exist"
   *  or some other miscellaneous error on the name.                  
   */                                                                 
  if ( status ) {                                                     
ffc0e8c4:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0e8c8:	40 82 00 88 	bne-    ffc0e950 <mq_open+0x110>               
                                                                      
  } else {                /* name -> ID translation succeeded */      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
ffc0e8cc:	73 9c 0a 00 	andi.   r28,r28,2560                           
ffc0e8d0:	2f 9c 0a 00 	cmpwi   cr7,r28,2560                           
ffc0e8d4:	41 9e 01 48 	beq-    cr7,ffc0ea1c <mq_open+0x1dc>           
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control *)                              
    _Objects_Get( &_POSIX_Message_queue_Information, id, location );  
ffc0e8d8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0e8dc:	3c 60 00 00 	lis     r3,0                                   
ffc0e8e0:	38 a1 00 10 	addi    r5,r1,16                               
ffc0e8e4:	38 63 34 8c 	addi    r3,r3,13452                            
ffc0e8e8:	48 00 44 3d 	bl      ffc12d24 <_Objects_Get>                
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0e8ec:	a0 1f 00 0a 	lhz     r0,10(r31)                             
    /*                                                                
     * In this case we need to do an ID->pointer conversion to        
     * check the mode.                                                
     */                                                               
    the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );        
    the_mq->open_count += 1;                                          
ffc0e8f0:	81 63 00 18 	lwz     r11,24(r3)                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0e8f4:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc0e8f8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0e8fc:	39 6b 00 01 	addi    r11,r11,1                              
                                                                      
    /*                                                                
     * In this case we need to do an ID->pointer conversion to        
     * check the mode.                                                
     */                                                               
    the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );        
ffc0e900:	90 61 00 0c 	stw     r3,12(r1)                              
    the_mq->open_count += 1;                                          
ffc0e904:	91 63 00 18 	stw     r11,24(r3)                             
    the_mq_fd->Queue = the_mq;                                        
ffc0e908:	90 7f 00 10 	stw     r3,16(r31)                             
ffc0e90c:	7f e9 01 2e 	stwx    r31,r9,r0                              
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
ffc0e910:	93 7f 00 0c 	stw     r27,12(r31)                            
    _Objects_Open_string(                                             
      &_POSIX_Message_queue_Information_fds,                          
      &the_mq_fd->Object,                                             
      NULL                                                            
    );                                                                
    _Thread_Enable_dispatch();                                        
ffc0e914:	48 00 53 e9 	bl      ffc13cfc <_Thread_Enable_dispatch>     
    _Thread_Enable_dispatch();                                        
ffc0e918:	48 00 53 e5 	bl      ffc13cfc <_Thread_Enable_dispatch>     
    return (mqd_t)the_mq_fd->Object.id;                               
ffc0e91c:	80 7f 00 08 	lwz     r3,8(r31)                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0e920:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0e924:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0e928:	7c 08 03 a6 	mtlr    r0                                     
ffc0e92c:	83 41 00 38 	lwz     r26,56(r1)                             
ffc0e930:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0e934:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0e938:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0e93c:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc0e940:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0e944:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0e948:	38 21 00 50 	addi    r1,r1,80                               
ffc0e94c:	4e 80 00 20 	blr                                            
  if ( status ) {                                                     
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
ffc0e950:	2f 9b 00 02 	cmpwi   cr7,r27,2                              
ffc0e954:	41 9e 01 18 	beq-    cr7,ffc0ea6c <mq_open+0x22c>           
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free_fd (              
  POSIX_Message_queue_Control_fd *the_mq_fd                           
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information_fds, &the_mq_fd->Object );
ffc0e958:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e95c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e960:	48 00 41 d1 	bl      ffc12b30 <_Objects_Free>               
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
ffc0e964:	48 00 53 99 	bl      ffc13cfc <_Thread_Enable_dispatch>     
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
ffc0e968:	48 00 d6 11 	bl      ffc1bf78 <__errno>                     
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0e96c:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0e970:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0e974:	7c 08 03 a6 	mtlr    r0                                     
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
ffc0e978:	93 63 00 00 	stw     r27,0(r3)                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0e97c:	7d 80 81 20 	mtcrf   8,r12                                  
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
ffc0e980:	38 60 ff ff 	li      r3,-1                                  
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0e984:	83 41 00 38 	lwz     r26,56(r1)                             
ffc0e988:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0e98c:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0e990:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc0e994:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0e998:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0e99c:	38 21 00 50 	addi    r1,r1,80                               
ffc0e9a0:	4e 80 00 20 	blr                                            
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
ffc0e9a4:	38 01 00 58 	addi    r0,r1,88                               
    mode = (mode_t) va_arg( arg, unsigned int );                      
    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );        
ffc0e9a8:	83 41 00 2c 	lwz     r26,44(r1)                             
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
    _Objects_Allocate( &_POSIX_Message_queue_Information_fds );       
ffc0e9ac:	3f c0 00 00 	lis     r30,0                                  
  Objects_Locations               location;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
ffc0e9b0:	90 01 00 18 	stw     r0,24(r1)                              
ffc0e9b4:	3b de 36 18 	addi    r30,r30,13848                          
ffc0e9b8:	38 01 00 20 	addi    r0,r1,32                               
ffc0e9bc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0e9c0:	7f c3 f3 78 	mr      r3,r30                                 
    mode = (mode_t) va_arg( arg, unsigned int );                      
    attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );        
ffc0e9c4:	38 00 00 04 	li      r0,4                                   
ffc0e9c8:	98 01 00 14 	stb     r0,20(r1)                              
ffc0e9cc:	48 00 3d 3d 	bl      ffc12708 <_Objects_Allocate>           
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
ffc0e9d0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0e9d4:	40 82 fe e0 	bne+    ffc0e8b4 <mq_open+0x74>                
    _Thread_Enable_dispatch();                                        
ffc0e9d8:	48 00 53 25 	bl      ffc13cfc <_Thread_Enable_dispatch>     
    rtems_set_errno_and_return_minus_one( ENFILE );                   
ffc0e9dc:	48 00 d5 9d 	bl      ffc1bf78 <__errno>                     
ffc0e9e0:	38 00 00 17 	li      r0,23                                  
ffc0e9e4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e9e8:	38 60 ff ff 	li      r3,-1                                  
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0e9ec:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0e9f0:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0e9f4:	7c 08 03 a6 	mtlr    r0                                     
ffc0e9f8:	83 41 00 38 	lwz     r26,56(r1)                             
ffc0e9fc:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0ea00:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0ea04:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0ea08:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc0ea0c:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0ea10:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0ea14:	38 21 00 50 	addi    r1,r1,80                               
ffc0ea18:	4e 80 00 20 	blr                                            
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free_fd (              
  POSIX_Message_queue_Control_fd *the_mq_fd                           
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information_fds, &the_mq_fd->Object );
ffc0ea1c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ea20:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ea24:	48 00 41 0d 	bl      ffc12b30 <_Objects_Free>               
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
ffc0ea28:	48 00 52 d5 	bl      ffc13cfc <_Thread_Enable_dispatch>     
      rtems_set_errno_and_return_minus_one_cast( EEXIST, mqd_t );     
ffc0ea2c:	48 00 d5 4d 	bl      ffc1bf78 <__errno>                     
ffc0ea30:	38 00 00 11 	li      r0,17                                  
ffc0ea34:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ea38:	38 60 ff ff 	li      r3,-1                                  
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
}                                                                     
ffc0ea3c:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0ea40:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0ea44:	7c 08 03 a6 	mtlr    r0                                     
ffc0ea48:	83 41 00 38 	lwz     r26,56(r1)                             
ffc0ea4c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0ea50:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0ea54:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0ea58:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc0ea5c:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0ea60:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0ea64:	38 21 00 50 	addi    r1,r1,80                               
ffc0ea68:	4e 80 00 20 	blr                                            
  if ( status ) {                                                     
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
ffc0ea6c:	41 92 fe ec 	beq+    cr4,ffc0e958 <mq_open+0x118>           
                                                                      
  /*                                                                  
   *  At this point, the message queue does not exist and everything has been
   *  checked. We should go ahead and create a message queue.         
   */                                                                 
  status = _POSIX_Message_queue_Create_support(                       
ffc0ea70:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ea74:	38 80 00 01 	li      r4,1                                   
ffc0ea78:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ea7c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0ea80:	48 00 8d 45 	bl      ffc177c4 <_POSIX_Message_queue_Create_support>
  );                                                                  
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
ffc0ea84:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc0ea88:	41 9e 00 30 	beq-    cr7,ffc0eab8 <mq_open+0x278>           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0ea8c:	a0 1f 00 0a 	lhz     r0,10(r31)                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0ea90:	81 3e 00 1c 	lwz     r9,28(r30)                             
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
    return (mqd_t) -1;                                                
  }                                                                   
                                                                      
  the_mq_fd->Queue = the_mq;                                          
ffc0ea94:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc0ea98:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ea9c:	91 7f 00 10 	stw     r11,16(r31)                            
ffc0eaa0:	7f e9 01 2e 	stwx    r31,r9,r0                              
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
ffc0eaa4:	38 00 00 00 	li      r0,0                                   
ffc0eaa8:	90 1f 00 0c 	stw     r0,12(r31)                             
    &_POSIX_Message_queue_Information_fds,                            
    &the_mq_fd->Object,                                               
    NULL                                                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0eaac:	48 00 52 51 	bl      ffc13cfc <_Thread_Enable_dispatch>     
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
ffc0eab0:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0eab4:	4b ff fe 6c 	b       ffc0e920 <mq_open+0xe0>                
ffc0eab8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0eabc:	7f e4 fb 78 	mr      r4,r31                                 
ffc0eac0:	48 00 40 71 	bl      ffc12b30 <_Objects_Free>               
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
ffc0eac4:	48 00 52 39 	bl      ffc13cfc <_Thread_Enable_dispatch>     
    return (mqd_t) -1;                                                
ffc0eac8:	38 60 ff ff 	li      r3,-1                                  
ffc0eacc:	4b ff fe 54 	b       ffc0e920 <mq_open+0xe0>                
                                                                      

ffc057c8 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
ffc057c8:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc057cc:	7e 03 20 00 	cmpw    cr4,r3,r4                              
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc057d0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc057d4:	7c 08 02 a6 	mflr    r0                                     
ffc057d8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc057dc:	7c 9e 23 78 	mr      r30,r4                                 
ffc057e0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc057e4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc057e8:	91 81 00 0c 	stw     r12,12(r1)                             
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc057ec:	41 92 00 8c 	beq-    cr4,ffc05878 <newlib_delete_hook+0xb0> 
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
ffc057f0:	83 e4 01 2c 	lwz     r31,300(r4)                            
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
ffc057f4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc057f8:	41 9e 00 2c 	beq-    cr7,ffc05824 <newlib_delete_hook+0x5c> <== NEVER TAKEN
ffc057fc:	3d 20 00 00 	lis     r9,0                                   
ffc05800:	80 09 27 34 	lwz     r0,10036(r9)                           
ffc05804:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc05808:	41 9e 00 1c 	beq-    cr7,ffc05824 <newlib_delete_hook+0x5c> 
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
ffc0580c:	3c 80 ff c0 	lis     r4,-64                                 
ffc05810:	7f e3 fb 78 	mr      r3,r31                                 
ffc05814:	38 84 55 5c 	addi    r4,r4,21852                            
ffc05818:	48 00 e6 79 	bl      ffc13e90 <_fwalk>                      
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
ffc0581c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05820:	48 00 7d 75 	bl      ffc0d594 <_Workspace_Free>             
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
ffc05824:	38 00 00 00 	li      r0,0                                   
ffc05828:	90 1e 01 2c 	stw     r0,300(r30)                            
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc0582c:	41 92 00 24 	beq-    cr4,ffc05850 <newlib_delete_hook+0x88> 
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
ffc05830:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05834:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc05838:	7c 08 03 a6 	mtlr    r0                                     
ffc0583c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05840:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05844:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05848:	38 21 00 18 	addi    r1,r1,24                               
ffc0584c:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc05850:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
ffc05854:	81 81 00 0c 	lwz     r12,12(r1)                             
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc05858:	90 09 27 30 	stw     r0,10032(r9)                           
  }                                                                   
}                                                                     
ffc0585c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05860:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05864:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05868:	7c 08 03 a6 	mtlr    r0                                     
ffc0586c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05870:	38 21 00 18 	addi    r1,r1,24                               
ffc05874:	4e 80 00 20 	blr                                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
ffc05878:	3d 20 00 00 	lis     r9,0                                   
ffc0587c:	83 e9 27 30 	lwz     r31,10032(r9)                          
ffc05880:	4b ff ff 74 	b       ffc057f4 <newlib_delete_hook+0x2c>     
                                                                      

ffc0555c <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
ffc0555c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05560:	7c 08 02 a6 	mflr    r0                                     
ffc05564:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05568:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0556c:	90 01 00 14 	stw     r0,20(r1)                              
  switch ( fileno(fp) ) {                                             
ffc05570:	48 00 e3 a9 	bl      ffc13918 <fileno>                      
ffc05574:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc05578:	40 9d 00 24 	ble-    cr7,ffc0559c <newlib_free_buffers+0x40><== ALWAYS TAKEN
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
ffc0557c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05580:	48 00 e0 55 	bl      ffc135d4 <fclose>                      <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05584:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05588:	38 60 00 00 	li      r3,0                                   
ffc0558c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05590:	38 21 00 10 	addi    r1,r1,16                               
ffc05594:	7c 08 03 a6 	mtlr    r0                                     
ffc05598:	4e 80 00 20 	blr                                            
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
ffc0559c:	a0 1f 00 0c 	lhz     r0,12(r31)                             
ffc055a0:	70 09 00 80 	andi.   r9,r0,128                              
ffc055a4:	41 82 ff e0 	beq+    ffc05584 <newlib_free_buffers+0x28>    <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
ffc055a8:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc055ac:	4b ff f5 01 	bl      ffc04aac <free>                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc055b0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc055b4:	90 1f 00 00 	stw     r0,0(r31)                              <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc055b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc055bc:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc055c0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
ffc055c4:	a1 3f 00 0c 	lhz     r9,12(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc055c8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
ffc055cc:	55 29 06 6e 	rlwinm  r9,r9,0,25,23                          <== NOT EXECUTED
ffc055d0:	b1 3f 00 0c 	sth     r9,12(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc055d4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc055d8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc055dc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0591c <open>: int open( const char *pathname, int flags, ... ) {
ffc0591c:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc05920:	7c 08 02 a6 	mflr    r0                                     
ffc05924:	7d 80 00 26 	mfcr    r12                                    
ffc05928:	90 01 00 54 	stw     r0,84(r1)                              
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
ffc0592c:	38 04 00 01 	addi    r0,r4,1                                
  if ( ( status & _FREAD ) == _FREAD )                                
ffc05930:	70 09 00 01 	andi.   r9,r0,1                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc05934:	93 41 00 38 	stw     r26,56(r1)                             
  int                                 eval_flags;                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
ffc05938:	3b 40 00 00 	li      r26,0                                  
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc0593c:	93 a1 00 44 	stw     r29,68(r1)                             
ffc05940:	7c 7d 1b 78 	mr      r29,r3                                 
ffc05944:	93 c1 00 48 	stw     r30,72(r1)                             
ffc05948:	7c 9e 23 78 	mr      r30,r4                                 
ffc0594c:	93 21 00 34 	stw     r25,52(r1)                             
ffc05950:	93 61 00 3c 	stw     r27,60(r1)                             
ffc05954:	93 81 00 40 	stw     r28,64(r1)                             
ffc05958:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc0595c:	91 81 00 30 	stw     r12,48(r1)                             
ffc05960:	90 a1 00 28 	stw     r5,40(r1)                              
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
ffc05964:	41 82 00 08 	beq-    ffc0596c <open+0x50>                   
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
ffc05968:	3b 40 00 04 	li      r26,4                                  
  if ( ( status & _FWRITE ) == _FWRITE )                              
ffc0596c:	70 09 00 02 	andi.   r9,r0,2                                
ffc05970:	41 82 00 08 	beq-    ffc05978 <open+0x5c>                   
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
ffc05974:	63 5a 00 02 	ori     r26,r26,2                              
                                                                      
  va_start(ap, flags);                                                
ffc05978:	38 01 00 58 	addi    r0,r1,88                               
ffc0597c:	39 21 00 20 	addi    r9,r1,32                               
ffc05980:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc05984:	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);                                                
ffc05988:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc0598c:	98 01 00 08 	stb     r0,8(r1)                               
ffc05990:	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();                                       
ffc05994:	48 00 92 91 	bl      ffc0ec24 <rtems_libio_allocate>        
  if ( iop == 0 ) {                                                   
ffc05998:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc0599c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc059a0:	41 92 00 e8 	beq-    cr4,ffc05a88 <open+0x16c>              
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
ffc059a4:	7f a3 eb 78 	mr      r3,r29                                 
ffc059a8:	48 00 ed 15 	bl      ffc146bc <strlen>                      
ffc059ac:	3b 81 00 14 	addi    r28,r1,20                              
ffc059b0:	7c 64 1b 78 	mr      r4,r3                                  
ffc059b4:	7f 45 d3 78 	mr      r5,r26                                 
ffc059b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc059bc:	7f 86 e3 78 	mr      r6,r28                                 
ffc059c0:	38 e0 00 01 	li      r7,1                                   
ffc059c4:	4b ff ef 61 	bl      ffc04924 <rtems_filesystem_evaluate_path>
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
ffc059c8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc059cc:	41 9e 01 14 	beq-    cr7,ffc05ae0 <open+0x1c4>              
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
ffc059d0:	73 c0 0a 00 	andi.   r0,r30,2560                            
ffc059d4:	2f 80 0a 00 	cmpwi   cr7,r0,2560                            
ffc059d8:	41 9e 00 c4 	beq-    cr7,ffc05a9c <open+0x180>              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc059dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc059e0:	83 5f 00 18 	lwz     r26,24(r31)                            
ffc059e4:	48 00 91 91 	bl      ffc0eb74 <rtems_libio_fcntl_flags>     
  iop->pathinfo   = loc;                                              
ffc059e8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc059ec:	81 21 00 1c 	lwz     r9,28(r1)                              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc059f0:	7c 63 d3 78 	or      r3,r3,r26                              
  iop->pathinfo   = loc;                                              
ffc059f4:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc059f8:	7f a4 eb 78 	mr      r4,r29                                 
ffc059fc:	7f c5 f3 78 	mr      r5,r30                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
ffc05a00:	80 01 00 18 	lwz     r0,24(r1)                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc05a04:	7f 66 db 78 	mr      r6,r27                                 
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc05a08:	90 7f 00 18 	stw     r3,24(r31)                             
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc05a0c:	7f e3 fb 78 	mr      r3,r31                                 
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
ffc05a10:	90 1f 00 20 	stw     r0,32(r31)                             
ffc05a14:	80 01 00 20 	lwz     r0,32(r1)                              
ffc05a18:	91 3f 00 24 	stw     r9,36(r31)                             
ffc05a1c:	90 1f 00 28 	stw     r0,40(r31)                             
ffc05a20:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05a24:	90 1f 00 2c 	stw     r0,44(r31)                             
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc05a28:	80 09 00 00 	lwz     r0,0(r9)                               
ffc05a2c:	7c 09 03 a6 	mtctr   r0                                     
ffc05a30:	4e 80 04 21 	bctrl                                          
  if ( rc ) {                                                         
ffc05a34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05a38:	40 9e 00 8c 	bne-    cr7,ffc05ac4 <open+0x1a8>              
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
ffc05a3c:	73 c0 04 00 	andi.   r0,r30,1024                            
ffc05a40:	3f c0 00 00 	lis     r30,0                                  
ffc05a44:	40 82 00 c0 	bne-    ffc05b04 <open+0x1e8>                  
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
ffc05a48:	80 7e 27 8c 	lwz     r3,10124(r30)                          
ffc05a4c:	7f e3 f8 50 	subf    r31,r3,r31                             
ffc05a50:	7f e3 36 70 	srawi   r3,r31,6                               
}                                                                     
ffc05a54:	80 01 00 54 	lwz     r0,84(r1)                              
ffc05a58:	81 81 00 30 	lwz     r12,48(r1)                             
ffc05a5c:	7c 08 03 a6 	mtlr    r0                                     
ffc05a60:	83 21 00 34 	lwz     r25,52(r1)                             
ffc05a64:	83 41 00 38 	lwz     r26,56(r1)                             
ffc05a68:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05a6c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc05a70:	83 81 00 40 	lwz     r28,64(r1)                             
ffc05a74:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc05a78:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc05a7c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc05a80:	38 21 00 50 	addi    r1,r1,80                               
ffc05a84:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
ffc05a88:	3b 20 00 17 	li      r25,23                                 
  if ( rc ) {                                                         
    if ( iop )                                                        
      rtems_libio_free( iop );                                        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
ffc05a8c:	48 00 d9 a9 	bl      ffc13434 <__errno>                     
ffc05a90:	93 23 00 00 	stw     r25,0(r3)                              
ffc05a94:	38 60 ff ff 	li      r3,-1                                  
ffc05a98:	4b ff ff bc 	b       ffc05a54 <open+0x138>                  
    }                                                                 
                                                                      
  } 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;                                               
ffc05a9c:	7f 9a e3 78 	mr      r26,r28                                
      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;                                                      
ffc05aa0:	3b 20 00 11 	li      r25,17                                 
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
ffc05aa4:	41 92 00 0c 	beq-    cr4,ffc05ab0 <open+0x194>              
      rtems_libio_free( iop );                                        
ffc05aa8:	7f e3 fb 78 	mr      r3,r31                                 
ffc05aac:	48 00 92 4d 	bl      ffc0ecf8 <rtems_libio_free>            
    if ( loc_to_free )                                                
ffc05ab0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc05ab4:	41 be ff d8 	beq-    cr7,ffc05a8c <open+0x170>              
      rtems_filesystem_freenode( loc_to_free );                       
ffc05ab8:	7f 43 d3 78 	mr      r3,r26                                 
ffc05abc:	4b ff ef c5 	bl      ffc04a80 <rtems_filesystem_freenode>   
ffc05ac0:	4b ff ff cc 	b       ffc05a8c <open+0x170>                  
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
ffc05ac4:	48 00 d9 71 	bl      ffc13434 <__errno>                     
    rc = EEXIST;                                                      
    loc_to_free = &loc;                                               
    goto done;                                                        
  }                                                                   
                                                                      
  loc_to_free = &loc;                                                 
ffc05ac8:	7f 9a e3 78 	mr      r26,r28                                
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
ffc05acc:	83 23 00 00 	lwz     r25,0(r3)                              
ffc05ad0:	2e 19 00 00 	cmpwi   cr4,r25,0                              
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
ffc05ad4:	40 92 00 fc 	bne-    cr4,ffc05bd0 <open+0x2b4>              <== ALWAYS TAKEN
ffc05ad8:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
ffc05adc:	4b ff ff 6c 	b       ffc05a48 <open+0x12c>                  <== NOT EXECUTED
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
ffc05ae0:	48 00 d9 55 	bl      ffc13434 <__errno>                     
ffc05ae4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc05ae8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05aec:	41 9e 00 68 	beq-    cr7,ffc05b54 <open+0x238>              
      rc = errno;                                                     
ffc05af0:	48 00 d9 45 	bl      ffc13434 <__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;             
ffc05af4:	3b 40 00 00 	li      r26,0                                  
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
      rc = errno;                                                     
ffc05af8:	83 23 00 00 	lwz     r25,0(r3)                              
ffc05afc:	2e 19 00 00 	cmpwi   cr4,r25,0                              
      goto done;                                                      
ffc05b00:	4b ff ff d4 	b       ffc05ad4 <open+0x1b8>                  
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
ffc05b04:	80 7e 27 8c 	lwz     r3,10124(r30)                          
ffc05b08:	38 a0 00 00 	li      r5,0                                   
ffc05b0c:	38 c0 00 00 	li      r6,0                                   
ffc05b10:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc05b14:	7c 63 36 70 	srawi   r3,r3,6                                
ffc05b18:	48 00 8f 31 	bl      ffc0ea48 <ftruncate>                   
    if ( rc ) {                                                       
ffc05b1c:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc05b20:	7c 79 1b 78 	mr      r25,r3                                 
ffc05b24:	41 92 ff 24 	beq+    cr4,ffc05a48 <open+0x12c>              
      if(errno) rc = errno;                                           
ffc05b28:	48 00 d9 0d 	bl      ffc13434 <__errno>                     
ffc05b2c:	80 03 00 00 	lwz     r0,0(r3)                               
ffc05b30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05b34:	40 9e 00 5c 	bne-    cr7,ffc05b90 <open+0x274>              <== ALWAYS TAKEN
      close( iop - rtems_libio_iops );                                
ffc05b38:	80 7e 27 8c 	lwz     r3,10124(r30)                          
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
ffc05b3c:	3b 40 00 00 	li      r26,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 );                                
ffc05b40:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc05b44:	7c 63 36 70 	srawi   r3,r3,6                                
ffc05b48:	48 00 8e 61 	bl      ffc0e9a8 <close>                       
      /* those are released by close(): */                            
      iop = 0;                                                        
ffc05b4c:	3b e0 00 00 	li      r31,0                                  
ffc05b50:	4b ff ff 84 	b       ffc05ad4 <open+0x1b8>                  
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc05b54:	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;             
ffc05b58:	3b 40 00 00 	li      r26,0                                  
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
ffc05b5c:	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) ) {                                       
ffc05b60:	41 82 ff 44 	beq+    ffc05aa4 <open+0x188>                  
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
ffc05b64:	7f a3 eb 78 	mr      r3,r29                                 
ffc05b68:	63 64 80 00 	ori     r4,r27,32768                           
ffc05b6c:	38 a0 00 00 	li      r5,0                                   
ffc05b70:	38 c0 00 00 	li      r6,0                                   
ffc05b74:	4b ff f4 99 	bl      ffc0500c <mknod>                       
    if ( rc ) {                                                       
ffc05b78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05b7c:	41 9e 00 24 	beq-    cr7,ffc05ba0 <open+0x284>              <== ALWAYS TAKEN
      rc = errno;                                                     
ffc05b80:	48 00 d8 b5 	bl      ffc13434 <__errno>                     <== NOT EXECUTED
ffc05b84:	83 23 00 00 	lwz     r25,0(r3)                              <== NOT EXECUTED
ffc05b88:	2e 19 00 00 	cmpwi   cr4,r25,0                              <== NOT EXECUTED
      goto done;                                                      
ffc05b8c:	4b ff ff 48 	b       ffc05ad4 <open+0x1b8>                  <== NOT EXECUTED
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
ffc05b90:	48 00 d8 a5 	bl      ffc13434 <__errno>                     
ffc05b94:	83 23 00 00 	lwz     r25,0(r3)                              
ffc05b98:	2e 19 00 00 	cmpwi   cr4,r25,0                              
ffc05b9c:	4b ff ff 9c 	b       ffc05b38 <open+0x21c>                  
    /*                                                                
     * 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(                          
ffc05ba0:	7f a3 eb 78 	mr      r3,r29                                 
ffc05ba4:	48 00 eb 19 	bl      ffc146bc <strlen>                      
ffc05ba8:	38 a0 00 00 	li      r5,0                                   
ffc05bac:	7c 64 1b 78 	mr      r4,r3                                  
ffc05bb0:	7f 86 e3 78 	mr      r6,r28                                 
ffc05bb4:	7f a3 eb 78 	mr      r3,r29                                 
ffc05bb8:	38 e0 00 01 	li      r7,1                                   
ffc05bbc:	4b ff ed 69 	bl      ffc04924 <rtems_filesystem_evaluate_path>
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
ffc05bc0:	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 */               
ffc05bc4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05bc8:	40 be fe dc 	bne-    cr7,ffc05aa4 <open+0x188>              <== NEVER TAKEN
ffc05bcc:	4b ff fe 10 	b       ffc059dc <open+0xc0>                   
ffc05bd0:	2e 1f 00 00 	cmpwi   cr4,r31,0                              
ffc05bd4:	4b ff fe d0 	b       ffc05aa4 <open+0x188>                  
                                                                      

ffc06ad8 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06ad8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06adc:	7c 08 02 a6 	mflr    r0                                     
ffc06ae0:	90 01 00 1c 	stw     r0,28(r1)                              
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc06ae4:	80 04 00 34 	lwz     r0,52(r4)                              
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06ae8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc06aec:	7c 9f 23 78 	mr      r31,r4                                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc06af0:	70 09 00 01 	andi.   r9,r0,1                                
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06af4:	98 61 00 08 	stb     r3,8(r1)                               
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc06af8:	41 82 00 50 	beq-    ffc06b48 <oproc+0x70>                  <== NEVER TAKEN
    switch (c) {                                                      
ffc06afc:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc06b00:	41 9e 00 fc 	beq-    cr7,ffc06bfc <oproc+0x124>             
ffc06b04:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc06b08:	40 9d 00 64 	ble-    cr7,ffc06b6c <oproc+0x94>              <== NEVER TAKEN
ffc06b0c:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc06b10:	41 9e 00 7c 	beq-    cr7,ffc06b8c <oproc+0xb4>              
ffc06b14:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc06b18:	41 9e 00 ac 	beq-    cr7,ffc06bc4 <oproc+0xec>              <== NEVER TAKEN
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc06b1c:	70 09 00 02 	andi.   r9,r0,2                                
ffc06b20:	40 82 01 00 	bne-    ffc06c20 <oproc+0x148>                 <== NEVER TAKEN
ffc06b24:	3d 20 00 00 	lis     r9,0                                   
ffc06b28:	80 09 27 2c 	lwz     r0,10028(r9)                           
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
ffc06b2c:	7c 60 1a 14 	add     r3,r0,r3                               
ffc06b30:	88 03 00 01 	lbz     r0,1(r3)                               
ffc06b34:	70 09 00 20 	andi.   r9,r0,32                               
ffc06b38:	40 82 00 10 	bne-    ffc06b48 <oproc+0x70>                  <== NEVER TAKEN
        tty->column++;                                                
ffc06b3c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06b40:	38 09 00 01 	addi    r0,r9,1                                
ffc06b44:	90 1f 00 28 	stw     r0,40(r31)                             
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
ffc06b48:	38 61 00 08 	addi    r3,r1,8                                
ffc06b4c:	38 80 00 01 	li      r4,1                                   
ffc06b50:	7f e5 fb 78 	mr      r5,r31                                 
ffc06b54:	4b ff fe 01 	bl      ffc06954 <rtems_termios_puts>          
}                                                                     
ffc06b58:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06b5c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06b60:	38 21 00 18 	addi    r1,r1,24                               
ffc06b64:	7c 08 03 a6 	mtlr    r0                                     
ffc06b68:	4e 80 00 20 	blr                                            
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
ffc06b6c:	2f 83 00 08 	cmpwi   cr7,r3,8                               <== NOT EXECUTED
ffc06b70:	40 9e ff ac 	bne+    cr7,ffc06b1c <oproc+0x44>              <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
ffc06b74:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc06b78:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06b7c:	40 bd ff cc 	ble-    cr7,ffc06b48 <oproc+0x70>              <== NOT EXECUTED
        tty->column--;                                                
ffc06b80:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc06b84:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc06b88:	4b ff ff c0 	b       ffc06b48 <oproc+0x70>                  <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
ffc06b8c:	70 09 00 20 	andi.   r9,r0,32                               
ffc06b90:	41 82 00 0c 	beq-    ffc06b9c <oproc+0xc4>                  <== ALWAYS TAKEN
        tty->column = 0;                                              
ffc06b94:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc06b98:	91 24 00 28 	stw     r9,40(r4)                              <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
ffc06b9c:	70 09 00 04 	andi.   r9,r0,4                                
ffc06ba0:	41 82 ff a8 	beq+    ffc06b48 <oproc+0x70>                  <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
ffc06ba4:	3c 60 ff c2 	lis     r3,-62                                 
ffc06ba8:	38 63 a1 64 	addi    r3,r3,-24220                           
ffc06bac:	38 80 00 01 	li      r4,1                                   
ffc06bb0:	7f e5 fb 78 	mr      r5,r31                                 
ffc06bb4:	4b ff fd a1 	bl      ffc06954 <rtems_termios_puts>          
        tty->column = 0;                                              
ffc06bb8:	38 00 00 00 	li      r0,0                                   
ffc06bbc:	90 1f 00 28 	stw     r0,40(r31)                             
ffc06bc0:	4b ff ff 88 	b       ffc06b48 <oproc+0x70>                  
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
ffc06bc4:	70 09 00 10 	andi.   r9,r0,16                               <== NOT EXECUTED
ffc06bc8:	41 82 00 10 	beq-    ffc06bd8 <oproc+0x100>                 <== NOT EXECUTED
ffc06bcc:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc06bd0:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06bd4:	41 be ff 84 	beq-    cr7,ffc06b58 <oproc+0x80>              <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
ffc06bd8:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc06bdc:	41 a2 ff a8 	beq-    ffc06b84 <oproc+0xac>                  <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
ffc06be0:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
        c = '\n';                                                     
ffc06be4:	38 00 00 0a 	li      r0,10                                  <== NOT EXECUTED
ffc06be8:	98 01 00 08 	stb     r0,8(r1)                               <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
ffc06bec:	41 a2 ff 5c 	beq-    ffc06b48 <oproc+0x70>                  <== NOT EXECUTED
          tty->column = 0;                                            
ffc06bf0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc06bf4:	90 1f 00 28 	stw     r0,40(r31)                             <== NOT EXECUTED
ffc06bf8:	4b ff ff 50 	b       ffc06b48 <oproc+0x70>                  <== NOT EXECUTED
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc06bfc:	54 00 04 e8 	rlwinm  r0,r0,0,19,20                          
ffc06c00:	2f 80 18 00 	cmpwi   cr7,r0,6144                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc06c04:	80 04 00 28 	lwz     r0,40(r4)                              
ffc06c08:	54 04 07 7e 	clrlwi  r4,r0,29                               
ffc06c0c:	20 84 00 08 	subfic  r4,r4,8                                
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc06c10:	41 9e 00 44 	beq-    cr7,ffc06c54 <oproc+0x17c>             <== ALWAYS TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
ffc06c14:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc06c18:	90 9f 00 28 	stw     r4,40(r31)                             <== NOT EXECUTED
      break;                                                          
ffc06c1c:	4b ff ff 2c 	b       ffc06b48 <oproc+0x70>                  <== NOT EXECUTED
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
ffc06c20:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc06c24:	80 09 27 2c 	lwz     r0,10028(r9)                           <== NOT EXECUTED
ffc06c28:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc06c2c:	7c 60 1a 14 	add     r3,r0,r3                               <== NOT EXECUTED
ffc06c30:	89 63 00 01 	lbz     r11,1(r3)                              <== NOT EXECUTED
ffc06c34:	55 6b 07 be 	clrlwi  r11,r11,30                             <== NOT EXECUTED
ffc06c38:	2f 8b 00 02 	cmpwi   cr7,r11,2                              <== NOT EXECUTED
ffc06c3c:	41 9e 00 10 	beq-    cr7,ffc06c4c <oproc+0x174>             <== NOT EXECUTED
ffc06c40:	55 23 06 3e 	clrlwi  r3,r9,24                               <== NOT EXECUTED
ffc06c44:	98 61 00 08 	stb     r3,8(r1)                               <== NOT EXECUTED
ffc06c48:	4b ff fe e4 	b       ffc06b2c <oproc+0x54>                  <== NOT EXECUTED
ffc06c4c:	39 29 ff e0 	addi    r9,r9,-32                              <== NOT EXECUTED
ffc06c50:	4b ff ff f0 	b       ffc06c40 <oproc+0x168>                 <== NOT EXECUTED
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
ffc06c54:	7c 04 02 14 	add     r0,r4,r0                               
ffc06c58:	90 1f 00 28 	stw     r0,40(r31)                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc06c5c:	3c 60 ff c2 	lis     r3,-62                                 
ffc06c60:	38 63 a1 68 	addi    r3,r3,-24216                           
ffc06c64:	7f e5 fb 78 	mr      r5,r31                                 
ffc06c68:	4b ff fc ed 	bl      ffc06954 <rtems_termios_puts>          
        return;                                                       
ffc06c6c:	4b ff fe ec 	b       ffc06b58 <oproc+0x80>                  
                                                                      

ffc1043c <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
ffc1043c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10440:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc10444:	38 80 01 ff 	li      r4,511                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc10448:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1044c:	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)          
ffc10450:	3c 60 ff c2 	lis     r3,-62                                 
ffc10454:	38 63 35 14 	addi    r3,r3,13588                            
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc10458:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
ffc1045c:	3b e0 ff ff 	li      r31,-1                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc10460:	90 01 00 2c 	stw     r0,44(r1)                              
ffc10464:	93 81 00 18 	stw     r28,24(r1)                             
ffc10468:	93 c1 00 20 	stw     r30,32(r1)                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc1046c:	48 00 1e 61 	bl      ffc122cc <rtems_mkdir>                 
ffc10470:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10474:	41 9e 00 28 	beq-    cr7,ffc1049c <pipe_create+0x60>        <== ALWAYS TAKEN
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
ffc10478:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1047c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10480:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10484:	7c 08 03 a6 	mtlr    r0                                     
ffc10488:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1048c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10490:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10494:	38 21 00 28 	addi    r1,r1,40                               
ffc10498:	4e 80 00 20 	blr                                            
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc1049c:	3d 20 00 00 	lis     r9,0                                   
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104a0:	3d 40 ff c2 	lis     r10,-62                                
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104a4:	a0 a9 29 b8 	lhz     r5,10680(r9)                           
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104a8:	39 6a 35 1c 	addi    r11,r10,13596                          
ffc104ac:	81 0a 35 1c 	lwz     r8,13596(r10)                          
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104b0:	3c 80 ff c2 	lis     r4,-62                                 
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104b4:	81 4b 00 04 	lwz     r10,4(r11)                             
ffc104b8:	a1 6b 00 08 	lhz     r11,8(r11)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104bc:	38 05 00 01 	addi    r0,r5,1                                
ffc104c0:	38 84 35 28 	addi    r4,r4,13608                            
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104c4:	91 01 00 08 	stw     r8,8(r1)                               
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104c8:	38 61 00 12 	addi    r3,r1,18                               
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc104cc:	3b c1 00 08 	addi    r30,r1,8                               
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc104d0:	91 41 00 0c 	stw     r10,12(r1)                             
ffc104d4:	b1 61 00 10 	sth     r11,16(r1)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc104d8:	b0 09 29 b8 	sth     r0,10680(r9)                           
ffc104dc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc104e0:	48 00 62 dd 	bl      ffc167bc <sprintf>                     
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc104e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc104e8:	38 80 01 80 	li      r4,384                                 
ffc104ec:	48 00 19 f9 	bl      ffc11ee4 <mkfifo>                      
ffc104f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc104f4:	40 9e 00 c0 	bne-    cr7,ffc105b4 <pipe_create+0x178>       
    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);                 
ffc104f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc104fc:	38 80 40 00 	li      r4,16384                               
ffc10500:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10504:	4b ff 6f 99 	bl      ffc0749c <open>                        
  if (filsdes[0] < 0) {                                               
ffc10508:	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);                 
ffc1050c:	90 7d 00 00 	stw     r3,0(r29)                              
  if (filsdes[0] < 0) {                                               
ffc10510:	41 9c 00 7c 	blt-    cr7,ffc1058c <pipe_create+0x150>       
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
ffc10514:	3d 20 00 00 	lis     r9,0                                   
ffc10518:	80 09 26 ec 	lwz     r0,9964(r9)                            
ffc1051c:	39 20 00 00 	li      r9,0                                   
ffc10520:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc10524:	41 9c 00 54 	blt-    cr7,ffc10578 <pipe_create+0x13c>       <== ALWAYS TAKEN
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc10528:	80 09 00 18 	lwz     r0,24(r9)                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc1052c:	7f c3 f3 78 	mr      r3,r30                                 
ffc10530:	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;                              
ffc10534:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc10538:	90 09 00 18 	stw     r0,24(r9)                              
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
ffc1053c:	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);                            
ffc10540:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10544:	4b ff 6f 59 	bl      ffc0749c <open>                        
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10548:	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);                            
ffc1054c:	90 7d 00 04 	stw     r3,4(r29)                              
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10550:	41 9c 00 50 	blt-    cr7,ffc105a0 <pipe_create+0x164>       
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
ffc10554:	7f c3 f3 78 	mr      r3,r30                                 
ffc10558:	4b ff 96 e1 	bl      ffc09c38 <unlink>                      
  }                                                                   
  if(err != 0)                                                        
ffc1055c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
ffc10560:	3b e0 00 00 	li      r31,0                                  
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
ffc10564:	41 9e ff 14 	beq+    cr7,ffc10478 <pipe_create+0x3c>        
    rtems_set_errno_and_return_minus_one(err);                        
ffc10568:	48 00 53 4d 	bl      ffc158b4 <__errno>                     
ffc1056c:	3b e0 ff ff 	li      r31,-1                                 
ffc10570:	93 83 00 00 	stw     r28,0(r3)                              
ffc10574:	4b ff ff 04 	b       ffc10478 <pipe_create+0x3c>            
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
ffc10578:	3d 20 00 00 	lis     r9,0                                   
ffc1057c:	81 29 27 ac 	lwz     r9,10156(r9)                           
ffc10580:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc10584:	7d 29 1a 14 	add     r9,r9,r3                               
ffc10588:	4b ff ff a0 	b       ffc10528 <pipe_create+0xec>            
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
ffc1058c:	48 00 53 29 	bl      ffc158b4 <__errno>                     
ffc10590:	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);                                                 
ffc10594:	7f c3 f3 78 	mr      r3,r30                                 
ffc10598:	4b ff 96 a1 	bl      ffc09c38 <unlink>                      
ffc1059c:	4b ff ff c0 	b       ffc1055c <pipe_create+0x120>           
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
ffc105a0:	48 00 53 15 	bl      ffc158b4 <__errno>                     
ffc105a4:	83 83 00 00 	lwz     r28,0(r3)                              
    close(filsdes[0]);                                                
ffc105a8:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc105ac:	4b ff 59 c9 	bl      ffc05f74 <close>                       
ffc105b0:	4b ff ff a4 	b       ffc10554 <pipe_create+0x118>           
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
ffc105b4:	48 00 53 01 	bl      ffc158b4 <__errno>                     
ffc105b8:	4b ff fe c0 	b       ffc10478 <pipe_create+0x3c>            
                                                                      

ffc12018 <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
ffc12018:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1201c:	7c 08 02 a6 	mflr    r0                                     
ffc12020:	90 01 00 14 	stw     r0,20(r1)                              
  if (cmd == FIONREAD) {                                              
ffc12024:	3c 00 40 04 	lis     r0,16388                               
ffc12028:	60 00 66 7f 	ori     r0,r0,26239                            
ffc1202c:	7f 84 00 00 	cmpw    cr7,r4,r0                              
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc12030:	93 c1 00 08 	stw     r30,8(r1)                              
ffc12034:	7c 7e 1b 78 	mr      r30,r3                                 
ffc12038:	93 e1 00 0c 	stw     r31,12(r1)                             
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
ffc1203c:	38 60 ff ea 	li      r3,-22                                 
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc12040:	7c bf 2b 78 	mr      r31,r5                                 
  if (cmd == FIONREAD) {                                              
ffc12044:	41 9e 00 1c 	beq-    cr7,ffc12060 <pipe_ioctl+0x48>         
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
ffc12048:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1204c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc12050:	7c 08 03 a6 	mtlr    r0                                     
ffc12054:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12058:	38 21 00 10 	addi    r1,r1,16                               
ffc1205c:	4e 80 00 20 	blr                                            
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc12060:	2f 85 00 00 	cmpwi   cr7,r5,0                               
      return -EFAULT;                                                 
ffc12064:	38 60 ff f2 	li      r3,-14                                 
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc12068:	41 9e ff e0 	beq+    cr7,ffc12048 <pipe_ioctl+0x30>         
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc1206c:	80 7e 00 28 	lwz     r3,40(r30)                             
ffc12070:	38 80 00 00 	li      r4,0                                   
ffc12074:	38 a0 00 00 	li      r5,0                                   
ffc12078:	4b ff 97 65 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc1207c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return -EINTR;                                                  
ffc12080:	38 60 ff fc 	li      r3,-4                                  
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc12084:	40 9e ff c4 	bne+    cr7,ffc12048 <pipe_ioctl+0x30>         <== NEVER TAKEN
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc12088:	80 1e 00 0c 	lwz     r0,12(r30)                             
    PIPE_UNLOCK(pipe);                                                
ffc1208c:	80 7e 00 28 	lwz     r3,40(r30)                             
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc12090:	90 1f 00 00 	stw     r0,0(r31)                              
    PIPE_UNLOCK(pipe);                                                
ffc12094:	4b ff 98 d1 	bl      ffc0b964 <rtems_semaphore_release>     
    return 0;                                                         
ffc12098:	38 60 00 00 	li      r3,0                                   
ffc1209c:	4b ff ff ac 	b       ffc12048 <pipe_ioctl+0x30>             
                                                                      

ffc11b70 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11b70:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11b74:	7c 08 02 a6 	mflr    r0                                     
ffc11b78:	90 01 00 44 	stw     r0,68(r1)                              
ffc11b7c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11b80:	7c 7f 1b 78 	mr      r31,r3                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11b84:	80 63 00 28 	lwz     r3,40(r3)                              
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11b88:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11b8c:	7c 9d 23 78 	mr      r29,r4                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11b90:	38 80 00 00 	li      r4,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11b94:	93 c1 00 38 	stw     r30,56(r1)                             
ffc11b98:	7c be 2b 78 	mr      r30,r5                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11b9c:	38 a0 00 00 	li      r5,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11ba0:	93 61 00 2c 	stw     r27,44(r1)                             
ffc11ba4:	7c db 33 78 	mr      r27,r6                                 
ffc11ba8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc11bac:	93 01 00 20 	stw     r24,32(r1)                             
ffc11bb0:	93 21 00 24 	stw     r25,36(r1)                             
ffc11bb4:	93 41 00 28 	stw     r26,40(r1)                             
ffc11bb8:	93 81 00 30 	stw     r28,48(r1)                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11bbc:	4b ff 9c 21 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc11bc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return -EINTR;                                                    
ffc11bc4:	38 60 ff fc 	li      r3,-4                                  
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11bc8:	40 9e 00 b0 	bne-    cr7,ffc11c78 <pipe_read+0x108>         <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc11bcc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc11bd0:	3b 20 00 00 	li      r25,0                                  
ffc11bd4:	3b 40 00 00 	li      r26,0                                  
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc11bd8:	3b 01 00 08 	addi    r24,r1,8                               
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc11bdc:	41 9e 01 58 	beq-    cr7,ffc11d34 <pipe_read+0x1c4>         <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
ffc11be0:	83 9f 00 0c 	lwz     r28,12(r31)                            
ffc11be4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc11be8:	40 9e 00 c4 	bne-    cr7,ffc11cac <pipe_read+0x13c>         
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc11bec:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc11bf0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11bf4:	41 9e 01 40 	beq-    cr7,ffc11d34 <pipe_read+0x1c4>         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
ffc11bf8:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc11bfc:	70 09 00 01 	andi.   r9,r0,1                                
ffc11c00:	40 82 01 3c 	bne-    ffc11d3c <pipe_read+0x1cc>             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc11c04:	81 3f 00 18 	lwz     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
ffc11c08:	3b 80 ff fc 	li      r28,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc11c0c:	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 ++;                                        
ffc11c10:	38 09 00 01 	addi    r0,r9,1                                
ffc11c14:	90 1f 00 18 	stw     r0,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc11c18:	4b ff 9d 4d 	bl      ffc0b964 <rtems_semaphore_release>     
      if (! PIPE_READWAIT(pipe))                                      
ffc11c1c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11c20:	38 80 00 00 	li      r4,0                                   
ffc11c24:	48 00 20 09 	bl      ffc13c2c <rtems_barrier_wait>          
ffc11c28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c2c:	40 9e 00 08 	bne-    cr7,ffc11c34 <pipe_read+0xc4>          <== NEVER TAKEN
ffc11c30:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc11c34:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11c38:	38 80 00 00 	li      r4,0                                   
ffc11c3c:	38 a0 00 00 	li      r5,0                                   
ffc11c40:	4b ff 9b 9d 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc11c44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c48:	40 9e 00 fc 	bne-    cr7,ffc11d44 <pipe_read+0x1d4>         <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
ffc11c4c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
ffc11c50:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc11c54:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11c58:	90 1f 00 18 	stw     r0,24(r31)                             
      if (ret != 0)                                                   
ffc11c5c:	41 9e ff 84 	beq+    cr7,ffc11be0 <pipe_read+0x70>          <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc11c60:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11c64:	4b ff 9d 01 	bl      ffc0b964 <rtems_semaphore_release>     
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc11c68:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
    return read;                                                      
  return ret;                                                         
ffc11c6c:	7f 83 e3 78 	mr      r3,r28                                 
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc11c70:	40 9d 00 08 	ble-    cr7,ffc11c78 <pipe_read+0x108>         
ffc11c74:	7f 43 d3 78 	mr      r3,r26                                 
    return read;                                                      
  return ret;                                                         
}                                                                     
ffc11c78:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11c7c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11c80:	7c 08 03 a6 	mtlr    r0                                     
ffc11c84:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11c88:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11c8c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11c90:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11c94:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11c98:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11c9c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11ca0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11ca4:	38 21 00 40 	addi    r1,r1,64                               
ffc11ca8:	4e 80 00 20 	blr                                            
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
ffc11cac:	7c 19 f0 50 	subf    r0,r25,r30                             
ffc11cb0:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc11cb4:	40 9d 00 08 	ble-    cr7,ffc11cbc <pipe_read+0x14c>         
ffc11cb8:	7c 1c 03 78 	mr      r28,r0                                 
    chunk1 = pipe->Size - pipe->Start;                                
ffc11cbc:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc11cc0:	82 ff 00 04 	lwz     r23,4(r31)                             
ffc11cc4:	7e e0 b8 50 	subf    r23,r0,r23                             
    if (chunk > chunk1) {                                             
ffc11cc8:	7f 9c b8 00 	cmpw    cr7,r28,r23                            
ffc11ccc:	41 9d 00 80 	bgt-    cr7,ffc11d4c <pipe_read+0x1dc>         
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
ffc11cd0:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc11cd4:	7c 7d ca 14 	add     r3,r29,r25                             
ffc11cd8:	7f 85 e3 78 	mr      r5,r28                                 
ffc11cdc:	7c 84 02 14 	add     r4,r4,r0                               
ffc11ce0:	48 00 5b 25 	bl      ffc17804 <memcpy>                      
                                                                      
    pipe->Start += chunk;                                             
ffc11ce4:	81 3f 00 08 	lwz     r9,8(r31)                              
    pipe->Start %= pipe->Size;                                        
ffc11ce8:	81 7f 00 04 	lwz     r11,4(r31)                             
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc11cec:	7d 3c 4a 14 	add     r9,r28,r9                              
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
ffc11cf0:	80 1f 00 0c 	lwz     r0,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc11cf4:	7d 49 5b 96 	divwu   r10,r9,r11                             
    pipe->Length -= chunk;                                            
ffc11cf8:	7c 1c 00 50 	subf    r0,r28,r0                              
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc11cfc:	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;                                            
ffc11d00:	90 1f 00 0c 	stw     r0,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc11d04:	7d 6a 59 d6 	mullw   r11,r10,r11                            
ffc11d08:	7d 2b 48 50 	subf    r9,r11,r9                              
ffc11d0c:	91 3f 00 08 	stw     r9,8(r31)                              
    pipe->Length -= chunk;                                            
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc11d10:	40 9e 00 08 	bne-    cr7,ffc11d18 <pipe_read+0x1a8>         
      pipe->Start = 0;                                                
ffc11d14:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    if (pipe->waitingWriters > 0)                                     
ffc11d18:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc11d1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11d20:	40 9e 00 58 	bne-    cr7,ffc11d78 <pipe_read+0x208>         
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
ffc11d24:	7f 5a e2 14 	add     r26,r26,r28                            
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc11d28:	7f 9a f0 40 	cmplw   cr7,r26,r30                            
ffc11d2c:	7f 59 d3 78 	mr      r25,r26                                
ffc11d30:	41 9c fe b0 	blt+    cr7,ffc11be0 <pipe_read+0x70>          <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc11d34:	3b 80 00 00 	li      r28,0                                  
ffc11d38:	4b ff ff 28 	b       ffc11c60 <pipe_read+0xf0>              
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc11d3c:	3b 80 ff f5 	li      r28,-11                                
ffc11d40:	4b ff ff 20 	b       ffc11c60 <pipe_read+0xf0>              
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
ffc11d44:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
ffc11d48:	4b ff ff 20 	b       ffc11c68 <pipe_read+0xf8>              <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc11d4c:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc11d50:	7e e5 bb 78 	mr      r5,r23                                 
ffc11d54:	7c 7d ca 14 	add     r3,r29,r25                             
ffc11d58:	7c 84 02 14 	add     r4,r4,r0                               
ffc11d5c:	48 00 5a a9 	bl      ffc17804 <memcpy>                      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
ffc11d60:	7c 79 ba 14 	add     r3,r25,r23                             
ffc11d64:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc11d68:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc11d6c:	7c b7 e0 50 	subf    r5,r23,r28                             
ffc11d70:	48 00 5a 95 	bl      ffc17804 <memcpy>                      
ffc11d74:	4b ff ff 70 	b       ffc11ce4 <pipe_read+0x174>             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc11d78:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11d7c:	7f 04 c3 78 	mr      r4,r24                                 
ffc11d80:	48 00 1e 19 	bl      ffc13b98 <rtems_barrier_release>       
ffc11d84:	4b ff ff a0 	b       ffc11d24 <pipe_read+0x1b4>             
                                                                      

ffc11590 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc11590:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11594:	7c 08 02 a6 	mflr    r0                                     
ffc11598:	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);                                          
ffc1159c:	80 04 00 18 	lwz     r0,24(r4)                              
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc115a0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc115a4:	7c 7d 1b 78 	mr      r29,r3                                 
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc115a8:	70 09 00 02 	andi.   r9,r0,2                                
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc115ac:	93 c1 00 20 	stw     r30,32(r1)                             
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
ffc115b0:	54 1e 07 7c 	rlwinm  r30,r0,0,29,30                         
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc115b4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc115b8:	93 81 00 18 	stw     r28,24(r1)                             
  pipe_control_t *pipe = *pipep;                                      
ffc115bc:	83 e3 00 00 	lwz     r31,0(r3)                              
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc115c0:	41 82 00 10 	beq-    ffc115d0 <pipe_release+0x40>           
     pipe->Readers --;                                                
ffc115c4:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc115c8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc115cc:	90 1f 00 10 	stw     r0,16(r31)                             
  if (mode & LIBIO_FLAGS_WRITE)                                       
ffc115d0:	73 c0 00 04 	andi.   r0,r30,4                               
ffc115d4:	41 82 00 10 	beq-    ffc115e4 <pipe_release+0x54>           
     pipe->Writers --;                                                
ffc115d8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc115dc:	38 09 ff ff 	addi    r0,r9,-1                               
ffc115e0:	90 1f 00 14 	stw     r0,20(r31)                             
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc115e4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc115e8:	4b ff a3 7d 	bl      ffc0b964 <rtems_semaphore_release>     
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc115ec:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc115f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc115f4:	41 9e 00 48 	beq-    cr7,ffc1163c <pipe_release+0xac>       
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
ffc115f8:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc115fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11600:	40 9e 00 18 	bne-    cr7,ffc11618 <pipe_release+0x88>       <== NEVER TAKEN
ffc11604:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc11608:	41 9e 00 10 	beq-    cr7,ffc11618 <pipe_release+0x88>       <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
ffc1160c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11610:	38 81 00 08 	addi    r4,r1,8                                
ffc11614:	48 00 25 85 	bl      ffc13b98 <rtems_barrier_release>       
                                                                      
  pipe_unlock();                                                      
ffc11618:	4b ff ff 51 	bl      ffc11568 <pipe_unlock>                 
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc1161c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11620:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11624:	7c 08 03 a6 	mtlr    r0                                     
ffc11628:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1162c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11630:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11634:	38 21 00 28 	addi    r1,r1,40                               
ffc11638:	4e 80 00 20 	blr                                            
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc1163c:	83 9f 00 14 	lwz     r28,20(r31)                            
ffc11640:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc11644:	41 9e 00 3c 	beq-    cr7,ffc11680 <pipe_release+0xf0>       
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
ffc11648:	2f 9e 00 04 	cmpwi   cr7,r30,4                              
ffc1164c:	41 9e ff cc 	beq+    cr7,ffc11618 <pipe_release+0x88>       <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
ffc11650:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11654:	38 81 00 08 	addi    r4,r1,8                                
ffc11658:	48 00 25 41 	bl      ffc13b98 <rtems_barrier_release>       
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
ffc1165c:	4b ff ff 0d 	bl      ffc11568 <pipe_unlock>                 
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc11660:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11664:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11668:	7c 08 03 a6 	mtlr    r0                                     
ffc1166c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11670:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11674:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11678:	38 21 00 28 	addi    r1,r1,40                               
ffc1167c:	4e 80 00 20 	blr                                            
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc11680:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11684:	48 00 24 49 	bl      ffc13acc <rtems_barrier_delete>        
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11688:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc1168c:	48 00 24 41 	bl      ffc13acc <rtems_barrier_delete>        
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc11690:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11694:	4b ff a0 6d 	bl      ffc0b700 <rtems_semaphore_delete>      
  free(pipe->Buffer);                                                 
ffc11698:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1169c:	4b ff 57 ad 	bl      ffc06e48 <free>                        
  free(pipe);                                                         
ffc116a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc116a4:	4b ff 57 a5 	bl      ffc06e48 <free>                        
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
ffc116a8:	93 9d 00 00 	stw     r28,0(r29)                             
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
ffc116ac:	4b ff fe bd 	bl      ffc11568 <pipe_unlock>                 
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc116b0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc116b4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc116b8:	7c 08 03 a6 	mtlr    r0                                     
ffc116bc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc116c0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc116c4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc116c8:	38 21 00 28 	addi    r1,r1,40                               
ffc116cc:	4e 80 00 20 	blr                                            
                                                                      

ffc11d88 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11d88:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11d8c:	7c 08 02 a6 	mflr    r0                                     
ffc11d90:	93 c1 00 38 	stw     r30,56(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc11d94:	7c be 2b 79 	mr.     r30,r5                                 
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11d98:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11d9c:	7c 9d 23 78 	mr      r29,r4                                 
ffc11da0:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11da4:	7c 7f 1b 78 	mr      r31,r3                                 
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
ffc11da8:	38 60 00 00 	li      r3,0                                   
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11dac:	90 01 00 44 	stw     r0,68(r1)                              
ffc11db0:	93 01 00 20 	stw     r24,32(r1)                             
ffc11db4:	93 21 00 24 	stw     r25,36(r1)                             
ffc11db8:	93 41 00 28 	stw     r26,40(r1)                             
ffc11dbc:	93 61 00 2c 	stw     r27,44(r1)                             
ffc11dc0:	93 81 00 30 	stw     r28,48(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc11dc4:	40 82 00 34 	bne-    ffc11df8 <pipe_write+0x70>             <== ALWAYS TAKEN
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc11dc8:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11dcc:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11dd0:	7c 08 03 a6 	mtlr    r0                                     
ffc11dd4:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11dd8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11ddc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc11de0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11de4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11de8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11dec:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc11df0:	38 21 00 40 	addi    r1,r1,64                               
ffc11df4:	4e 80 00 20 	blr                                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11df8:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11dfc:	38 80 00 00 	li      r4,0                                   
ffc11e00:	38 a0 00 00 	li      r5,0                                   
ffc11e04:	90 c1 00 18 	stw     r6,24(r1)                              
ffc11e08:	4b ff 99 d5 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc11e0c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11e10:	80 c1 00 18 	lwz     r6,24(r1)                              
    return -EINTR;                                                    
ffc11e14:	38 60 ff fc 	li      r3,-4                                  
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11e18:	40 be ff b0 	bne-    cr7,ffc11dc8 <pipe_write+0x40>         <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
ffc11e1c:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11e20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11e24:	41 9e 01 90 	beq-    cr7,ffc11fb4 <pipe_write+0x22c>        
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
ffc11e28:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc11e2c:	3b 60 00 01 	li      r27,1                                  
ffc11e30:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc11e34:	41 9d 00 08 	bgt-    cr7,ffc11e3c <pipe_write+0xb4>         <== NEVER TAKEN
ffc11e38:	7f db f3 78 	mr      r27,r30                                
ffc11e3c:	3b 20 00 00 	li      r25,0                                  
ffc11e40:	3b 40 00 00 	li      r26,0                                  
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
ffc11e44:	3b 01 00 08 	addi    r24,r1,8                               
                                                                      
  /* 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) {                                
ffc11e48:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc11e4c:	7f 80 48 50 	subf    r28,r0,r9                              
ffc11e50:	7f 9c d8 40 	cmplw   cr7,r28,r27                            
ffc11e54:	40 9c 00 9c 	bge-    cr7,ffc11ef0 <pipe_write+0x168>        
      if (LIBIO_NODELAY(iop)) {                                       
ffc11e58:	80 06 00 18 	lwz     r0,24(r6)                              
ffc11e5c:	70 09 00 01 	andi.   r9,r0,1                                
ffc11e60:	40 82 01 70 	bne-    ffc11fd0 <pipe_write+0x248>            
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc11e64:	81 3f 00 1c 	lwz     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc11e68:	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);                                              
ffc11e6c:	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 ++;                                        
ffc11e70:	38 09 00 01 	addi    r0,r9,1                                
ffc11e74:	90 1f 00 1c 	stw     r0,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc11e78:	90 c1 00 18 	stw     r6,24(r1)                              
ffc11e7c:	4b ff 9a e9 	bl      ffc0b964 <rtems_semaphore_release>     
      if (! PIPE_WRITEWAIT(pipe))                                     
ffc11e80:	38 80 00 00 	li      r4,0                                   
ffc11e84:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11e88:	48 00 1d a5 	bl      ffc13c2c <rtems_barrier_wait>          
ffc11e8c:	80 c1 00 18 	lwz     r6,24(r1)                              
ffc11e90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11e94:	40 9e 00 08 	bne-    cr7,ffc11e9c <pipe_write+0x114>        <== NEVER TAKEN
ffc11e98:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc11e9c:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11ea0:	38 80 00 00 	li      r4,0                                   
ffc11ea4:	38 a0 00 00 	li      r5,0                                   
ffc11ea8:	90 c1 00 18 	stw     r6,24(r1)                              
ffc11eac:	4b ff 99 31 	bl      ffc0b7dc <rtems_semaphore_obtain>      
ffc11eb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11eb4:	80 c1 00 18 	lwz     r6,24(r1)                              
ffc11eb8:	40 9e 01 20 	bne-    cr7,ffc11fd8 <pipe_write+0x250>        <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
ffc11ebc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
ffc11ec0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc11ec4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11ec8:	90 1f 00 1c 	stw     r0,28(r31)                             
      if (ret != 0)                                                   
ffc11ecc:	40 9e 00 bc 	bne-    cr7,ffc11f88 <pipe_write+0x200>        <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
ffc11ed0:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11ed4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11ed8:	41 9e 00 d4 	beq-    cr7,ffc11fac <pipe_write+0x224>        <== NEVER TAKEN
ffc11edc:	81 3f 00 04 	lwz     r9,4(r31)                              
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
ffc11ee0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc11ee4:	7f 80 48 50 	subf    r28,r0,r9                              
ffc11ee8:	7f 9c d8 40 	cmplw   cr7,r28,r27                            
ffc11eec:	41 9c ff 6c 	blt+    cr7,ffc11e58 <pipe_write+0xd0>         <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
ffc11ef0:	7d 79 f0 50 	subf    r11,r25,r30                            
ffc11ef4:	7f 9c 58 40 	cmplw   cr7,r28,r11                            
ffc11ef8:	40 9d 00 08 	ble-    cr7,ffc11f00 <pipe_write+0x178>        
ffc11efc:	7d 7c 5b 78 	mr      r28,r11                                
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc11f00:	81 7f 00 08 	lwz     r11,8(r31)                             
ffc11f04:	7c 00 5a 14 	add     r0,r0,r11                              
ffc11f08:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc11f0c:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc11f10:	7c 0b 00 50 	subf    r0,r11,r0                              
ffc11f14:	7f 60 48 50 	subf    r27,r0,r9                              
    if (chunk > chunk1) {                                             
ffc11f18:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc11f1c:	40 9d 00 c4 	ble-    cr7,ffc11fe0 <pipe_write+0x258>        
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc11f20:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11f24:	7c 9d ca 14 	add     r4,r29,r25                             
ffc11f28:	7f 65 db 78 	mr      r5,r27                                 
ffc11f2c:	90 c1 00 18 	stw     r6,24(r1)                              
ffc11f30:	7c 63 02 14 	add     r3,r3,r0                               
ffc11f34:	48 00 58 d1 	bl      ffc17804 <memcpy>                      
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
ffc11f38:	7c 9b ca 14 	add     r4,r27,r25                             
ffc11f3c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11f40:	7c 9d 22 14 	add     r4,r29,r4                              
ffc11f44:	7c bb e0 50 	subf    r5,r27,r28                             
ffc11f48:	48 00 58 bd 	bl      ffc17804 <memcpy>                      
ffc11f4c:	80 c1 00 18 	lwz     r6,24(r1)                              
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
ffc11f50:	81 3f 00 18 	lwz     r9,24(r31)                             
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc11f54:	80 1f 00 0c 	lwz     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc11f58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc11f5c:	7c 00 e2 14 	add     r0,r0,r28                              
ffc11f60:	90 1f 00 0c 	stw     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc11f64:	40 9e 00 9c 	bne-    cr7,ffc12000 <pipe_write+0x278>        
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
ffc11f68:	7f 5a e2 14 	add     r26,r26,r28                            
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc11f6c:	7f 9e d0 40 	cmplw   cr7,r30,r26                            
ffc11f70:	7f 59 d3 78 	mr      r25,r26                                
ffc11f74:	40 9d 00 10 	ble-    cr7,ffc11f84 <pipe_write+0x1fc>        <== ALWAYS TAKEN
ffc11f78:	81 3f 00 04 	lwz     r9,4(r31)                              <== NOT EXECUTED
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
ffc11f7c:	3b 60 00 01 	li      r27,1                                  <== NOT EXECUTED
ffc11f80:	4b ff fe c8 	b       ffc11e48 <pipe_write+0xc0>             <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc11f84:	3b 80 00 00 	li      r28,0                                  
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc11f88:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11f8c:	4b ff 99 d9 	bl      ffc0b964 <rtems_semaphore_release>     
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
ffc11f90:	2f 9c ff e0 	cmpwi   cr7,r28,-32                            
ffc11f94:	41 9e 00 2c 	beq-    cr7,ffc11fc0 <pipe_write+0x238>        
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
ffc11f98:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc11f9c:	7f 83 e3 78 	mr      r3,r28                                 
ffc11fa0:	40 bd fe 28 	ble-    cr7,ffc11dc8 <pipe_write+0x40>         
ffc11fa4:	7f 43 d3 78 	mr      r3,r26                                 
ffc11fa8:	4b ff fe 20 	b       ffc11dc8 <pipe_write+0x40>             
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
ffc11fac:	3b 80 ff e0 	li      r28,-32                                <== NOT EXECUTED
ffc11fb0:	4b ff ff d8 	b       ffc11f88 <pipe_write+0x200>            <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
ffc11fb4:	3b 80 ff e0 	li      r28,-32                                
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
ffc11fb8:	3b 40 00 00 	li      r26,0                                  
ffc11fbc:	4b ff ff cc 	b       ffc11f88 <pipe_write+0x200>            
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
ffc11fc0:	48 00 0b 3d 	bl      ffc12afc <getpid>                      
ffc11fc4:	38 80 00 0d 	li      r4,13                                  
ffc11fc8:	48 00 0f 89 	bl      ffc12f50 <kill>                        
ffc11fcc:	4b ff ff cc 	b       ffc11f98 <pipe_write+0x210>            
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc11fd0:	3b 80 ff f5 	li      r28,-11                                
ffc11fd4:	4b ff ff b4 	b       ffc11f88 <pipe_write+0x200>            
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
ffc11fd8:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
ffc11fdc:	4b ff ff bc 	b       ffc11f98 <pipe_write+0x210>            <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
ffc11fe0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11fe4:	7c 9d ca 14 	add     r4,r29,r25                             
ffc11fe8:	7f 85 e3 78 	mr      r5,r28                                 
ffc11fec:	90 c1 00 18 	stw     r6,24(r1)                              
ffc11ff0:	7c 63 02 14 	add     r3,r3,r0                               
ffc11ff4:	48 00 58 11 	bl      ffc17804 <memcpy>                      
ffc11ff8:	80 c1 00 18 	lwz     r6,24(r1)                              
ffc11ffc:	4b ff ff 54 	b       ffc11f50 <pipe_write+0x1c8>            
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
ffc12000:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc12004:	7f 04 c3 78 	mr      r4,r24                                 
ffc12008:	90 c1 00 18 	stw     r6,24(r1)                              
ffc1200c:	48 00 1b 8d 	bl      ffc13b98 <rtems_barrier_release>       
ffc12010:	80 c1 00 18 	lwz     r6,24(r1)                              
ffc12014:	4b ff ff 54 	b       ffc11f68 <pipe_write+0x1e0>            
                                                                      

ffc0973c <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
ffc0973c:	7c 08 02 a6 	mflr    r0                                     
ffc09740:	94 21 ff f8 	stwu    r1,-8(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc09744:	3d 60 00 00 	lis     r11,0                                  
ffc09748:	39 6b 34 28 	addi    r11,r11,13352                          
int posix_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc0974c:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09750:	38 04 ff ff 	addi    r0,r4,-1                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc09754:	81 4b 00 08 	lwz     r10,8(r11)                             
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09758:	7c 08 20 39 	and.    r8,r0,r4                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc0975c:	38 0a 00 01 	addi    r0,r10,1                               
ffc09760:	90 0b 00 08 	stw     r0,8(r11)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
    return EINVAL;                                                    
ffc09764:	38 00 00 16 	li      r0,22                                  
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09768:	40 82 00 0c 	bne-    ffc09774 <posix_memalign+0x38>         <== NEVER TAKEN
ffc0976c:	2b 84 00 03 	cmplwi  cr7,r4,3                               
ffc09770:	41 9d 00 18 	bgt-    cr7,ffc09788 <posix_memalign+0x4c>     
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
ffc09774:	7c 03 03 78 	mr      r3,r0                                  
ffc09778:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0977c:	38 21 00 08 	addi    r1,r1,8                                
ffc09780:	7c 08 03 a6 	mtlr    r0                                     
ffc09784:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
ffc09788:	48 00 03 31 	bl      ffc09ab8 <rtems_memalign>              
ffc0978c:	7c 60 1b 78 	mr      r0,r3                                  
}                                                                     
ffc09790:	7c 03 03 78 	mr      r3,r0                                  
ffc09794:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc09798:	38 21 00 08 	addi    r1,r1,8                                
ffc0979c:	7c 08 03 a6 	mtlr    r0                                     
ffc097a0:	4e 80 00 20 	blr                                            
                                                                      

ffc05bec <printk>: * printk * * Kernel printf function requiring minimal infrastrure. */ void printk(const char *fmt, ...) {
ffc05bec:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc05bf0:	7c 08 02 a6 	mflr    r0                                     
ffc05bf4:	90 81 00 1c 	stw     r4,28(r1)                              
ffc05bf8:	90 01 00 7c 	stw     r0,124(r1)                             
ffc05bfc:	90 a1 00 20 	stw     r5,32(r1)                              
ffc05c00:	90 c1 00 24 	stw     r6,36(r1)                              
ffc05c04:	90 e1 00 28 	stw     r7,40(r1)                              
ffc05c08:	91 01 00 2c 	stw     r8,44(r1)                              
ffc05c0c:	91 21 00 30 	stw     r9,48(r1)                              
ffc05c10:	91 41 00 34 	stw     r10,52(r1)                             
ffc05c14:	40 86 00 24 	bne-    cr1,ffc05c38 <printk+0x4c>             <== ALWAYS TAKEN
ffc05c18:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc05c1c:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc05c20:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc05c24:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc05c28:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc05c2c:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc05c30:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc05c34:	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 */           
ffc05c38:	38 00 00 01 	li      r0,1                                   
ffc05c3c:	98 01 00 08 	stb     r0,8(r1)                               
ffc05c40:	38 00 00 00 	li      r0,0                                   
  vprintk(fmt, ap);                                                   
ffc05c44:	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 */           
ffc05c48:	98 01 00 09 	stb     r0,9(r1)                               
ffc05c4c:	38 01 00 80 	addi    r0,r1,128                              
ffc05c50:	90 01 00 0c 	stw     r0,12(r1)                              
ffc05c54:	38 01 00 18 	addi    r0,r1,24                               
ffc05c58:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk(fmt, ap);                                                   
ffc05c5c:	48 00 23 89 	bl      ffc07fe4 <vprintk>                     
  va_end(ap);        /* clean up when done */                         
}                                                                     
ffc05c60:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc05c64:	38 21 00 78 	addi    r1,r1,120                              
ffc05c68:	7c 08 03 a6 	mtlr    r0                                     
ffc05c6c:	4e 80 00 20 	blr                                            
                                                                      

ffc0748c <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
ffc0748c:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc07490:	7c 08 02 a6 	mflr    r0                                     
ffc07494:	90 a1 00 18 	stw     r5,24(r1)                              
ffc07498:	90 01 00 74 	stw     r0,116(r1)                             
ffc0749c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc074a0:	90 e1 00 20 	stw     r7,32(r1)                              
ffc074a4:	91 01 00 24 	stw     r8,36(r1)                              
ffc074a8:	91 21 00 28 	stw     r9,40(r1)                              
ffc074ac:	91 41 00 2c 	stw     r10,44(r1)                             
ffc074b0:	40 86 00 24 	bne-    cr1,ffc074d4 <printk_plugin+0x48>      <== ALWAYS TAKEN
ffc074b4:	d8 21 00 30 	stfd    f1,48(r1)                              
ffc074b8:	d8 41 00 38 	stfd    f2,56(r1)                              
ffc074bc:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc074c0:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc074c4:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc074c8:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc074cc:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc074d0:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc074d4:	38 00 00 02 	li      r0,2                                   
ffc074d8:	98 01 00 08 	stb     r0,8(r1)                               
ffc074dc:	38 00 00 00 	li      r0,0                                   
                                                                      
  vprintk( format, arg_pointer );                                     
ffc074e0:	7c 83 23 78 	mr      r3,r4                                  
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc074e4:	98 01 00 09 	stb     r0,9(r1)                               
ffc074e8:	38 01 00 78 	addi    r0,r1,120                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc074ec:	38 81 00 08 	addi    r4,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc074f0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc074f4:	38 01 00 10 	addi    r0,r1,16                               
ffc074f8:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc074fc:	48 00 23 8d 	bl      ffc09888 <vprintk>                     
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
ffc07500:	38 60 00 00 	li      r3,0                                   
ffc07504:	80 01 00 74 	lwz     r0,116(r1)                             
ffc07508:	38 21 00 70 	addi    r1,r1,112                              
ffc0750c:	7c 08 03 a6 	mtlr    r0                                     
ffc07510:	4e 80 00 20 	blr                                            
                                                                      

ffc0e870 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) { if ( !attr || !attr->is_initialized )
ffc0e870:	7c 69 1b 79 	mr.     r9,r3                                  
    return EINVAL;                                                    
ffc0e874:	38 60 00 16 	li      r3,22                                  
int pthread_attr_setschedpolicy(                                      
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
ffc0e878:	4d 82 00 20 	beqlr                                          
ffc0e87c:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0e880:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e884:	4d 9e 00 20 	beqlr   cr7                                    
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
ffc0e888:	2b 84 00 04 	cmplwi  cr7,r4,4                               
ffc0e88c:	40 9d 00 0c 	ble-    cr7,ffc0e898 <pthread_attr_setschedpolicy+0x28>
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
ffc0e890:	38 60 00 86 	li      r3,134                                 
  }                                                                   
}                                                                     
ffc0e894:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
ffc0e898:	38 00 00 01 	li      r0,1                                   
ffc0e89c:	7c 00 20 30 	slw     r0,r0,r4                               
ffc0e8a0:	70 0b 00 17 	andi.   r11,r0,23                              
ffc0e8a4:	41 a2 ff ec 	beq-    ffc0e890 <pthread_attr_setschedpolicy+0x20><== NEVER TAKEN
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
ffc0e8a8:	90 89 00 14 	stw     r4,20(r9)                              
      return 0;                                                       
ffc0e8ac:	38 60 00 00 	li      r3,0                                   
ffc0e8b0:	4e 80 00 20 	blr                                            
                                                                      

ffc092a4 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
ffc092a4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc092a8:	7c 08 02 a6 	mflr    r0                                     
ffc092ac:	93 e1 00 2c 	stw     r31,44(r1)                             
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
ffc092b0:	7c 7f 1b 79 	mr.     r31,r3                                 
    return EINVAL;                                                    
ffc092b4:	38 60 00 16 	li      r3,22                                  
int pthread_barrier_init(                                             
  pthread_barrier_t           *barrier,                               
  const pthread_barrierattr_t *attr,                                  
  unsigned int                 count                                  
)                                                                     
{                                                                     
ffc092b8:	90 01 00 34 	stw     r0,52(r1)                              
ffc092bc:	93 81 00 20 	stw     r28,32(r1)                             
ffc092c0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc092c4:	93 c1 00 28 	stw     r30,40(r1)                             
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
ffc092c8:	41 82 00 8c 	beq-    ffc09354 <pthread_barrier_init+0xb0>   
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
ffc092cc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc092d0:	41 9e 00 84 	beq-    cr7,ffc09354 <pthread_barrier_init+0xb0>
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
ffc092d4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc092d8:	41 9e 00 a8 	beq-    cr7,ffc09380 <pthread_barrier_init+0xdc>
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
ffc092dc:	80 04 00 00 	lwz     r0,0(r4)                               
    return EINVAL;                                                    
ffc092e0:	38 60 00 16 	li      r3,22                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
ffc092e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc092e8:	41 9e 00 6c 	beq-    cr7,ffc09354 <pthread_barrier_init+0xb0>
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
ffc092ec:	83 c4 00 04 	lwz     r30,4(r4)                              
ffc092f0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc092f4:	40 9e 00 60 	bne-    cr7,ffc09354 <pthread_barrier_init+0xb0><== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc092f8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
ffc092fc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc09300:	81 69 27 f4 	lwz     r11,10228(r9)                          
  the_attributes.maximum_count = count;                               
ffc09304:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc09308:	38 0b 00 01 	addi    r0,r11,1                               
ffc0930c:	90 09 27 f4 	stw     r0,10228(r9)                           
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
    _Objects_Allocate( &_POSIX_Barrier_Information );                 
ffc09310:	3f 80 00 00 	lis     r28,0                                  
ffc09314:	3b 9c 2f ac 	addi    r28,r28,12204                          
ffc09318:	7f 83 e3 78 	mr      r3,r28                                 
ffc0931c:	48 00 2b b5 	bl      ffc0bed0 <_Objects_Allocate>           
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
ffc09320:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc09324:	41 82 00 50 	beq-    ffc09374 <pthread_barrier_init+0xd0>   
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
ffc09328:	38 7d 00 10 	addi    r3,r29,16                              
ffc0932c:	38 81 00 08 	addi    r4,r1,8                                
ffc09330:	48 00 1f 61 	bl      ffc0b290 <_CORE_barrier_Initialize>    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc09334:	80 1d 00 08 	lwz     r0,8(r29)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc09338:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc0933c:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc09340:	7f ab 49 2e 	stwx    r29,r11,r9                             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
ffc09344:	93 dd 00 0c 	stw     r30,12(r29)                            
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
ffc09348:	90 1f 00 00 	stw     r0,0(r31)                              
  _Thread_Enable_dispatch();                                          
ffc0934c:	48 00 40 b9 	bl      ffc0d404 <_Thread_Enable_dispatch>     
  return 0;                                                           
ffc09350:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc09354:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09358:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0935c:	7c 08 03 a6 	mtlr    r0                                     
ffc09360:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09364:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09368:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0936c:	38 21 00 30 	addi    r1,r1,48                               
ffc09370:	4e 80 00 20 	blr                                            
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
ffc09374:	48 00 40 91 	bl      ffc0d404 <_Thread_Enable_dispatch>     
    return EAGAIN;                                                    
ffc09378:	38 60 00 0b 	li      r3,11                                  
ffc0937c:	4b ff ff d8 	b       ffc09354 <pthread_barrier_init+0xb0>   
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
ffc09380:	3b c1 00 10 	addi    r30,r1,16                              
ffc09384:	90 a1 00 18 	stw     r5,24(r1)                              
ffc09388:	7f c3 f3 78 	mr      r3,r30                                 
ffc0938c:	4b ff fe 09 	bl      ffc09194 <pthread_barrierattr_init>    
    the_attr = &my_attr;                                              
ffc09390:	7f c4 f3 78 	mr      r4,r30                                 
ffc09394:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc09398:	4b ff ff 44 	b       ffc092dc <pthread_barrier_init+0x38>   
                                                                      

ffc0893c <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
ffc0893c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08940:	7c 08 02 a6 	mflr    r0                                     
ffc08944:	93 c1 00 08 	stw     r30,8(r1)                              
  /*                                                                  
   *  The POSIX standard does not address what to do when the routine 
   *  is NULL.  It also does not address what happens when we cannot  
   *  allocate memory or anything else bad happens.                   
   */                                                                 
  if ( !routine )                                                     
ffc08948:	7c 7e 1b 79 	mr.     r30,r3                                 
                                                                      
void pthread_cleanup_push(                                            
  void   (*routine)( void * ),                                        
  void    *arg                                                        
)                                                                     
{                                                                     
ffc0894c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc08950:	7c 9f 23 78 	mr      r31,r4                                 
ffc08954:	90 01 00 14 	stw     r0,20(r1)                              
  /*                                                                  
   *  The POSIX standard does not address what to do when the routine 
   *  is NULL.  It also does not address what happens when we cannot  
   *  allocate memory or anything else bad happens.                   
   */                                                                 
  if ( !routine )                                                     
ffc08958:	41 82 00 48 	beq-    ffc089a0 <pthread_cleanup_push+0x64>   
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0895c:	3d 20 00 00 	lis     r9,0                                   
ffc08960:	81 69 27 ec 	lwz     r11,10220(r9)                          
ffc08964:	38 0b 00 01 	addi    r0,r11,1                               
ffc08968:	90 09 27 ec 	stw     r0,10220(r9)                           
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
ffc0896c:	38 60 00 10 	li      r3,16                                  
ffc08970:	48 00 5c 09 	bl      ffc0e578 <_Workspace_Allocate>         
                                                                      
  if ( handler ) {                                                    
ffc08974:	7c 69 1b 79 	mr.     r9,r3                                  
ffc08978:	41 82 00 24 	beq-    ffc0899c <pthread_cleanup_push+0x60>   <== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
ffc0897c:	3d 60 00 00 	lis     r11,0                                  
ffc08980:	81 6b 31 10 	lwz     r11,12560(r11)                         
    handler_stack = &thread_support->Cancellation_Handlers;           
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
ffc08984:	7d 24 4b 78 	mr      r4,r9                                  
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
                                                                      
  if ( handler ) {                                                    
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
ffc08988:	80 6b 01 34 	lwz     r3,308(r11)                            
                                                                      
    handler->routine = routine;                                       
ffc0898c:	93 c9 00 08 	stw     r30,8(r9)                              
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
ffc08990:	38 63 00 e4 	addi    r3,r3,228                              
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
ffc08994:	93 e9 00 0c 	stw     r31,12(r9)                             
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
ffc08998:	48 00 20 91 	bl      ffc0aa28 <_Chain_Append>               
  }                                                                   
  _Thread_Enable_dispatch();                                          
ffc0899c:	48 00 41 bd 	bl      ffc0cb58 <_Thread_Enable_dispatch>     
}                                                                     
ffc089a0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc089a4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc089a8:	7c 08 03 a6 	mtlr    r0                                     
ffc089ac:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc089b0:	38 21 00 10 	addi    r1,r1,16                               
ffc089b4:	4e 80 00 20 	blr                                            
                                                                      

ffc09c68 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
ffc09c68:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09c6c:	7c 08 02 a6 	mflr    r0                                     
ffc09c70:	93 81 00 08 	stw     r28,8(r1)                              
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
ffc09c74:	7c 9c 23 79 	mr.     r28,r4                                 
                                                                      
int pthread_cond_init(                                                
  pthread_cond_t           *cond,                                     
  const pthread_condattr_t *attr                                      
)                                                                     
{                                                                     
ffc09c78:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09c7c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09c80:	90 01 00 1c 	stw     r0,28(r1)                              
ffc09c84:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09c88:	93 e1 00 14 	stw     r31,20(r1)                             
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
ffc09c8c:	41 82 00 d0 	beq-    ffc09d5c <pthread_cond_init+0xf4>      
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
ffc09c90:	80 1c 00 04 	lwz     r0,4(r28)                              
    return EINVAL;                                                    
ffc09c94:	38 60 00 16 	li      r3,22                                  
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
ffc09c98:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc09c9c:	41 9e 00 10 	beq-    cr7,ffc09cac <pthread_cond_init+0x44>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
ffc09ca0:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc09ca4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09ca8:	40 9e 00 24 	bne-    cr7,ffc09ccc <pthread_cond_init+0x64>  
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
ffc09cac:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09cb0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc09cb4:	7c 08 03 a6 	mtlr    r0                                     
ffc09cb8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09cbc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09cc0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09cc4:	38 21 00 18 	addi    r1,r1,24                               
ffc09cc8:	4e 80 00 20 	blr                                            
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc09ccc:	3d 20 00 00 	lis     r9,0                                   
ffc09cd0:	81 69 28 00 	lwz     r11,10240(r9)                          
ffc09cd4:	38 0b 00 01 	addi    r0,r11,1                               
ffc09cd8:	90 09 28 00 	stw     r0,10240(r9)                           
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
ffc09cdc:	3f a0 00 00 	lis     r29,0                                  
ffc09ce0:	3b bd 30 44 	addi    r29,r29,12356                          
ffc09ce4:	7f a3 eb 78 	mr      r3,r29                                 
ffc09ce8:	48 00 33 b5 	bl      ffc0d09c <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
ffc09cec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc09cf0:	41 82 00 78 	beq-    ffc09d68 <pthread_cond_init+0x100>     
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
ffc09cf4:	80 1c 00 04 	lwz     r0,4(r28)                              
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
ffc09cf8:	3b 80 00 00 	li      r28,0                                  
ffc09cfc:	93 9f 00 14 	stw     r28,20(r31)                            
                                                                      
  _Thread_queue_Initialize(                                           
ffc09d00:	3c a0 10 00 	lis     r5,4096                                
ffc09d04:	38 7f 00 18 	addi    r3,r31,24                              
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
ffc09d08:	90 1f 00 10 	stw     r0,16(r31)                             
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
  _Thread_queue_Initialize(                                           
ffc09d0c:	38 80 00 00 	li      r4,0                                   
ffc09d10:	60 a5 08 00 	ori     r5,r5,2048                             
ffc09d14:	38 c0 00 74 	li      r6,116                                 
ffc09d18:	48 00 53 25 	bl      ffc0f03c <_Thread_queue_Initialize>    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc09d1c:	80 1f 00 08 	lwz     r0,8(r31)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc09d20:	81 7d 00 1c 	lwz     r11,28(r29)                            
ffc09d24:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc09d28:	7f eb 49 2e 	stwx    r31,r11,r9                             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
ffc09d2c:	93 9f 00 0c 	stw     r28,12(r31)                            
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
ffc09d30:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc09d34:	48 00 48 9d 	bl      ffc0e5d0 <_Thread_Enable_dispatch>     
                                                                      
  return 0;                                                           
}                                                                     
ffc09d38:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
ffc09d3c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc09d40:	83 81 00 08 	lwz     r28,8(r1)                              
ffc09d44:	7c 08 03 a6 	mtlr    r0                                     
ffc09d48:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09d4c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09d50:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09d54:	38 21 00 18 	addi    r1,r1,24                               
ffc09d58:	4e 80 00 20 	blr                                            
{                                                                     
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
ffc09d5c:	3f 80 00 00 	lis     r28,0                                  
ffc09d60:	3b 9c 27 50 	addi    r28,r28,10064                          
ffc09d64:	4b ff ff 2c 	b       ffc09c90 <pthread_cond_init+0x28>      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
ffc09d68:	48 00 48 69 	bl      ffc0e5d0 <_Thread_Enable_dispatch>     
    return ENOMEM;                                                    
ffc09d6c:	38 60 00 0c 	li      r3,12                                  
ffc09d70:	4b ff ff 3c 	b       ffc09cac <pthread_cond_init+0x44>      
                                                                      

ffc08f00 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
ffc08f00:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc08f04:	7c 08 02 a6 	mflr    r0                                     
ffc08f08:	93 61 00 6c 	stw     r27,108(r1)                            
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
ffc08f0c:	7c bb 2b 79 	mr.     r27,r5                                 
  pthread_t              *thread,                                     
  const pthread_attr_t   *attr,                                       
  void                 *(*start_routine)( void * ),                   
  void                   *arg                                         
)                                                                     
{                                                                     
ffc08f10:	93 81 00 70 	stw     r28,112(r1)                            
ffc08f14:	7c dc 33 78 	mr      r28,r6                                 
ffc08f18:	93 a1 00 74 	stw     r29,116(r1)                            
ffc08f1c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc08f20:	93 c1 00 78 	stw     r30,120(r1)                            
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
ffc08f24:	3b c0 00 0e 	li      r30,14                                 
  pthread_t              *thread,                                     
  const pthread_attr_t   *attr,                                       
  void                 *(*start_routine)( void * ),                   
  void                   *arg                                         
)                                                                     
{                                                                     
ffc08f28:	90 01 00 84 	stw     r0,132(r1)                             
ffc08f2c:	92 a1 00 54 	stw     r21,84(r1)                             
ffc08f30:	92 c1 00 58 	stw     r22,88(r1)                             
ffc08f34:	92 e1 00 5c 	stw     r23,92(r1)                             
ffc08f38:	93 01 00 60 	stw     r24,96(r1)                             
ffc08f3c:	93 21 00 64 	stw     r25,100(r1)                            
ffc08f40:	93 41 00 68 	stw     r26,104(r1)                            
ffc08f44:	93 e1 00 7c 	stw     r31,124(r1)                            
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
ffc08f48:	41 82 00 58 	beq-    ffc08fa0 <pthread_create+0xa0>         
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
ffc08f4c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc08f50:	7c 9f 23 78 	mr      r31,r4                                 
ffc08f54:	41 9e 01 b4 	beq-    cr7,ffc09108 <pthread_create+0x208>    
                                                                      
  if ( !the_attr->is_initialized )                                    
ffc08f58:	80 1f 00 00 	lwz     r0,0(r31)                              
    return EINVAL;                                                    
ffc08f5c:	3b c0 00 16 	li      r30,22                                 
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
                                                                      
  if ( !the_attr->is_initialized )                                    
ffc08f60:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08f64:	41 9e 00 3c 	beq-    cr7,ffc08fa0 <pthread_create+0xa0>     
   *  stack space if it is allowed to allocate it itself.             
   *                                                                  
   *  NOTE: If the user provides the stack we will let it drop below  
   *        twice the minimum.                                        
   */                                                                 
  if ( the_attr->stackaddr && !_Stack_Is_enough(the_attr->stacksize) )
ffc08f68:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc08f6c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08f70:	41 9e 00 18 	beq-    cr7,ffc08f88 <pthread_create+0x88>     
ffc08f74:	3d 60 00 00 	lis     r11,0                                  
ffc08f78:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc08f7c:	80 0b 27 10 	lwz     r0,10000(r11)                          
ffc08f80:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc08f84:	41 9c 00 1c 	blt-    cr7,ffc08fa0 <pthread_create+0xa0>     
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
ffc08f88:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc08f8c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc08f90:	41 9e 01 84 	beq-    cr7,ffc09114 <pthread_create+0x214>    
ffc08f94:	2f 80 00 02 	cmpwi   cr7,r0,2                               
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
      break;                                                          
                                                                      
    default:                                                          
      return EINVAL;                                                  
ffc08f98:	3b c0 00 16 	li      r30,22                                 
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
ffc08f9c:	41 9e 00 44 	beq-    cr7,ffc08fe0 <pthread_create+0xe0>     
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
ffc08fa0:	80 01 00 84 	lwz     r0,132(r1)                             
ffc08fa4:	7f c3 f3 78 	mr      r3,r30                                 
ffc08fa8:	82 a1 00 54 	lwz     r21,84(r1)                             
ffc08fac:	7c 08 03 a6 	mtlr    r0                                     
ffc08fb0:	82 c1 00 58 	lwz     r22,88(r1)                             
ffc08fb4:	82 e1 00 5c 	lwz     r23,92(r1)                             
ffc08fb8:	83 01 00 60 	lwz     r24,96(r1)                             
ffc08fbc:	83 21 00 64 	lwz     r25,100(r1)                            
ffc08fc0:	83 41 00 68 	lwz     r26,104(r1)                            
ffc08fc4:	83 61 00 6c 	lwz     r27,108(r1)                            
ffc08fc8:	83 81 00 70 	lwz     r28,112(r1)                            
ffc08fcc:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc08fd0:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc08fd4:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc08fd8:	38 21 00 80 	addi    r1,r1,128                              
ffc08fdc:	4e 80 00 20 	blr                                            
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
ffc08fe0:	80 df 00 18 	lwz     r6,24(r31)                             
ffc08fe4:	80 ff 00 1c 	lwz     r7,28(r31)                             
ffc08fe8:	81 1f 00 20 	lwz     r8,32(r31)                             
ffc08fec:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc08ff0:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc08ff4:	81 3f 00 2c 	lwz     r9,44(r31)                             
ffc08ff8:	80 1f 00 30 	lwz     r0,48(r31)                             
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
ffc08ffc:	83 5f 00 14 	lwz     r26,20(r31)                            
      schedparam  = the_attr->schedparam;                             
ffc09000:	90 c1 00 20 	stw     r6,32(r1)                              
ffc09004:	90 e1 00 24 	stw     r7,36(r1)                              
ffc09008:	91 01 00 28 	stw     r8,40(r1)                              
ffc0900c:	91 41 00 2c 	stw     r10,44(r1)                             
ffc09010:	91 61 00 30 	stw     r11,48(r1)                             
ffc09014:	91 21 00 34 	stw     r9,52(r1)                              
ffc09018:	90 01 00 38 	stw     r0,56(r1)                              
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
ffc0901c:	80 1f 00 0c 	lwz     r0,12(r31)                             
    return ENOTSUP;                                                   
ffc09020:	3b c0 00 86 	li      r30,134                                
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
ffc09024:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09028:	40 be ff 78 	bne-    cr7,ffc08fa0 <pthread_create+0xa0>     
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
ffc0902c:	80 61 00 20 	lwz     r3,32(r1)                              
    return EINVAL;                                                    
ffc09030:	3b c0 00 16 	li      r30,22                                 
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
ffc09034:	48 00 82 75 	bl      ffc112a8 <_POSIX_Priority_Is_valid>    
ffc09038:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0903c:	41 9e ff 64 	beq+    cr7,ffc08fa0 <pthread_create+0xa0>     <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
ffc09040:	7c 24 0b 78 	mr      r4,r1                                  
ffc09044:	86 c4 00 20 	lwzu    r22,32(r4)                             
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
ffc09048:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
ffc0904c:	7f 43 d3 78 	mr      r3,r26                                 
ffc09050:	8a a9 27 14 	lbz     r21,10004(r9)                          
ffc09054:	38 a1 00 18 	addi    r5,r1,24                               
ffc09058:	38 c1 00 1c 	addi    r6,r1,28                               
ffc0905c:	48 00 82 71 	bl      ffc112cc <_POSIX_Thread_Translate_sched_param>
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
ffc09060:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc09064:	40 82 ff 3c 	bne+    ffc08fa0 <pthread_create+0xa0>         
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
ffc09068:	3e e0 00 00 	lis     r23,0                                  
ffc0906c:	80 77 28 14 	lwz     r3,10260(r23)                          
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
ffc09070:	3f 20 00 00 	lis     r25,0                                  
ffc09074:	3b 39 2e 0c 	addi    r25,r25,11788                          
ffc09078:	48 00 20 c5 	bl      ffc0b13c <_API_Mutex_Lock>             
ffc0907c:	7f 23 cb 78 	mr      r3,r25                                 
ffc09080:	48 00 2d 79 	bl      ffc0bdf8 <_Objects_Allocate>           
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
ffc09084:	7c 78 1b 79 	mr.     r24,r3                                 
ffc09088:	41 82 00 70 	beq-    ffc090f8 <pthread_create+0x1f8>        
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
ffc0908c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
ffc09090:	80 1f 00 08 	lwz     r0,8(r31)                              
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
ffc09094:	80 c9 27 10 	lwz     r6,10000(r9)                           
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
ffc09098:	80 bf 00 04 	lwz     r5,4(r31)                              
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
ffc0909c:	54 c6 08 3c 	rlwinm  r6,r6,1,0,30                           
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
ffc090a0:	7f 86 00 40 	cmplw   cr7,r6,r0                              
ffc090a4:	40 9c 00 08 	bge-    cr7,ffc090ac <pthread_create+0x1ac>    
ffc090a8:	7c 06 03 78 	mr      r6,r0                                  
ffc090ac:	38 00 00 00 	li      r0,0                                   
ffc090b0:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc090b4:	7c 2b 0b 78 	mr      r11,r1                                 
ffc090b8:	81 41 00 18 	lwz     r10,24(r1)                             
ffc090bc:	94 0b 00 48 	stwu    r0,72(r11)                             
ffc090c0:	7f 23 cb 78 	mr      r3,r25                                 
ffc090c4:	7f 04 c3 78 	mr      r4,r24                                 
ffc090c8:	38 e0 00 01 	li      r7,1                                   
ffc090cc:	91 81 00 08 	stw     r12,8(r1)                              
ffc090d0:	7d 16 a8 50 	subf    r8,r22,r21                             
ffc090d4:	39 20 00 01 	li      r9,1                                   
ffc090d8:	90 01 00 0c 	stw     r0,12(r1)                              
ffc090dc:	91 61 00 10 	stw     r11,16(r1)                             
ffc090e0:	48 00 43 25 	bl      ffc0d404 <_Thread_Initialize>          
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
ffc090e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc090e8:	40 9e 00 78 	bne-    cr7,ffc09160 <pthread_create+0x260>    
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
ffc090ec:	7f 23 cb 78 	mr      r3,r25                                 
ffc090f0:	7f 04 c3 78 	mr      r4,r24                                 
ffc090f4:	48 00 31 2d 	bl      ffc0c220 <_Objects_Free>               
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
ffc090f8:	80 77 28 14 	lwz     r3,10260(r23)                          
    return EAGAIN;                                                    
ffc090fc:	3b c0 00 0b 	li      r30,11                                 
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
ffc09100:	48 00 20 bd 	bl      ffc0b1bc <_API_Mutex_Unlock>           
    return EAGAIN;                                                    
ffc09104:	4b ff fe 9c 	b       ffc08fa0 <pthread_create+0xa0>         
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
ffc09108:	3f e0 ff c2 	lis     r31,-62                                
ffc0910c:	3b ff 25 c4 	addi    r31,r31,9668                           
ffc09110:	4b ff fe 48 	b       ffc08f58 <pthread_create+0x58>         
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
ffc09114:	3d 20 00 00 	lis     r9,0                                   
ffc09118:	81 29 31 10 	lwz     r9,12560(r9)                           
ffc0911c:	81 29 01 34 	lwz     r9,308(r9)                             
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
ffc09120:	80 a9 00 88 	lwz     r5,136(r9)                             
ffc09124:	80 c9 00 8c 	lwz     r6,140(r9)                             
ffc09128:	80 e9 00 90 	lwz     r7,144(r9)                             
ffc0912c:	81 09 00 94 	lwz     r8,148(r9)                             
ffc09130:	81 49 00 98 	lwz     r10,152(r9)                            
ffc09134:	81 69 00 9c 	lwz     r11,156(r9)                            
ffc09138:	80 09 00 a0 	lwz     r0,160(r9)                             
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
ffc0913c:	83 49 00 84 	lwz     r26,132(r9)                            
      schedparam  = api->schedparam;                                  
ffc09140:	90 a1 00 20 	stw     r5,32(r1)                              
ffc09144:	90 c1 00 24 	stw     r6,36(r1)                              
ffc09148:	90 e1 00 28 	stw     r7,40(r1)                              
ffc0914c:	91 01 00 2c 	stw     r8,44(r1)                              
ffc09150:	91 41 00 30 	stw     r10,48(r1)                             
ffc09154:	91 61 00 34 	stw     r11,52(r1)                             
ffc09158:	90 01 00 38 	stw     r0,56(r1)                              
      break;                                                          
ffc0915c:	4b ff fe c0 	b       ffc0901c <pthread_create+0x11c>        
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc09160:	83 38 01 34 	lwz     r25,308(r24)                           
                                                                      
  api->Attributes  = *the_attr;                                       
ffc09164:	7f e4 fb 78 	mr      r4,r31                                 
ffc09168:	38 a0 00 40 	li      r5,64                                  
ffc0916c:	7f 23 cb 78 	mr      r3,r25                                 
ffc09170:	48 00 c1 c1 	bl      ffc15330 <memcpy>                      
  api->detachstate = the_attr->detachstate;                           
ffc09174:	80 1f 00 3c 	lwz     r0,60(r31)                             
  api->schedpolicy = schedpolicy;                                     
ffc09178:	93 59 00 84 	stw     r26,132(r25)                           
  api->schedparam  = schedparam;                                      
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
ffc0917c:	7f 03 c3 78 	mr      r3,r24                                 
ffc09180:	38 80 00 01 	li      r4,1                                   
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
ffc09184:	90 19 00 40 	stw     r0,64(r25)                             
  api->schedparam  = schedparam;                                      
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
ffc09188:	7f 65 db 78 	mr      r5,r27                                 
ffc0918c:	7f 86 e3 78 	mr      r6,r28                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
ffc09190:	80 01 00 20 	lwz     r0,32(r1)                              
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
ffc09194:	38 e0 00 00 	li      r7,0                                   
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
ffc09198:	90 19 00 88 	stw     r0,136(r25)                            
ffc0919c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc091a0:	90 19 00 8c 	stw     r0,140(r25)                            
ffc091a4:	80 01 00 28 	lwz     r0,40(r1)                              
ffc091a8:	90 19 00 90 	stw     r0,144(r25)                            
ffc091ac:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc091b0:	90 19 00 94 	stw     r0,148(r25)                            
ffc091b4:	80 01 00 30 	lwz     r0,48(r1)                              
ffc091b8:	90 19 00 98 	stw     r0,152(r25)                            
ffc091bc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc091c0:	90 19 00 9c 	stw     r0,156(r25)                            
ffc091c4:	80 01 00 38 	lwz     r0,56(r1)                              
ffc091c8:	90 19 00 a0 	stw     r0,160(r25)                            
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
ffc091cc:	48 00 4f 6d 	bl      ffc0e138 <_Thread_Start>               
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
ffc091d0:	2f 9a 00 04 	cmpwi   cr7,r26,4                              
ffc091d4:	41 9e 00 18 	beq-    cr7,ffc091ec <pthread_create+0x2ec>    
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
ffc091d8:	80 18 00 08 	lwz     r0,8(r24)                              
                                                                      
  _RTEMS_Unlock_allocator();                                          
ffc091dc:	80 77 28 14 	lwz     r3,10260(r23)                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
ffc091e0:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  _RTEMS_Unlock_allocator();                                          
ffc091e4:	48 00 1f d9 	bl      ffc0b1bc <_API_Mutex_Unlock>           
  return 0;                                                           
ffc091e8:	4b ff fd b8 	b       ffc08fa0 <pthread_create+0xa0>         
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
ffc091ec:	38 79 00 90 	addi    r3,r25,144                             
ffc091f0:	48 00 51 f1 	bl      ffc0e3e0 <_Timespec_To_ticks>          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc091f4:	38 99 00 a8 	addi    r4,r25,168                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc091f8:	90 79 00 b4 	stw     r3,180(r25)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc091fc:	3c 60 00 00 	lis     r3,0                                   
ffc09200:	38 63 2d 28 	addi    r3,r3,11560                            
ffc09204:	48 00 57 89 	bl      ffc0e98c <_Watchdog_Insert>            
ffc09208:	4b ff ff d0 	b       ffc091d8 <pthread_create+0x2d8>        
                                                                      

ffc0b594 <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
ffc0b594:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0b598:	7c 08 02 a6 	mflr    r0                                     
ffc0b59c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0b5a0:	7c 7e 1b 78 	mr      r30,r3                                 
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0b5a4:	7c 83 23 78 	mr      r3,r4                                  
ffc0b5a8:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
int pthread_mutex_timedlock(                                          
  pthread_mutex_t       *mutex,                                       
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0b5ac:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0b5b0:	90 01 00 24 	stw     r0,36(r1)                              
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0b5b4:	48 00 01 2d 	bl      ffc0b6e0 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
ffc0b5b8:	2f 83 00 03 	cmpwi   cr7,r3,3                               
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0b5bc:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
ffc0b5c0:	41 9e 00 50 	beq-    cr7,ffc0b610 <pthread_mutex_timedlock+0x7c>
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
ffc0b5c4:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc0b5c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b5cc:	38 80 00 00 	li      r4,0                                   
ffc0b5d0:	4b ff fe 3d 	bl      ffc0b40c <_POSIX_Mutex_Lock_support>   
   *  This service only gives us the option to block.  We used a polling
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
ffc0b5d4:	2f 83 00 10 	cmpwi   cr7,r3,16                              
ffc0b5d8:	41 9e 00 1c 	beq-    cr7,ffc0b5f4 <pthread_mutex_timedlock+0x60><== ALWAYS TAKEN
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
ffc0b5dc:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0b5e0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0b5e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0b5e8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0b5ec:	38 21 00 20 	addi    r1,r1,32                               
ffc0b5f0:	4e 80 00 20 	blr                                            
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
ffc0b5f4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0b5f8:	41 9e 00 40 	beq-    cr7,ffc0b638 <pthread_mutex_timedlock+0xa4><== NEVER TAKEN
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
ffc0b5fc:	3b ff ff ff 	addi    r31,r31,-1                             
ffc0b600:	2b 9f 00 01 	cmplwi  cr7,r31,1                              
ffc0b604:	41 9d ff d8 	bgt+    cr7,ffc0b5dc <pthread_mutex_timedlock+0x48><== NEVER TAKEN
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
ffc0b608:	38 60 00 74 	li      r3,116                                 
ffc0b60c:	4b ff ff d0 	b       ffc0b5dc <pthread_mutex_timedlock+0x48>
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
ffc0b610:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc0b614:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b618:	38 80 00 01 	li      r4,1                                   
ffc0b61c:	4b ff fd f1 	bl      ffc0b40c <_POSIX_Mutex_Lock_support>   
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
ffc0b620:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0b624:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0b628:	7c 08 03 a6 	mtlr    r0                                     
ffc0b62c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0b630:	38 21 00 20 	addi    r1,r1,32                               
ffc0b634:	4e 80 00 20 	blr                                            
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
      return EINVAL;                                                  
ffc0b638:	38 60 00 16 	li      r3,22                                  <== NOT EXECUTED
ffc0b63c:	4b ff ff a0 	b       ffc0b5dc <pthread_mutex_timedlock+0x48><== NOT EXECUTED
                                                                      

ffc097c8 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
ffc097c8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc097cc:	7c 08 02 a6 	mflr    r0                                     
ffc097d0:	93 e1 00 24 	stw     r31,36(r1)                             
  if ( !once_control || !init_routine )                               
ffc097d4:	7c 7f 1b 79 	mr.     r31,r3                                 
    return EINVAL;                                                    
ffc097d8:	38 60 00 16 	li      r3,22                                  
                                                                      
int pthread_once(                                                     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
ffc097dc:	93 c1 00 20 	stw     r30,32(r1)                             
ffc097e0:	7c 9e 23 78 	mr      r30,r4                                 
ffc097e4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc097e8:	93 a1 00 1c 	stw     r29,28(r1)                             
  if ( !once_control || !init_routine )                               
ffc097ec:	41 82 00 1c 	beq-    ffc09808 <pthread_once+0x40>           
ffc097f0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc097f4:	41 9e 00 14 	beq-    cr7,ffc09808 <pthread_once+0x40>       
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
ffc097f8:	80 1f 00 04 	lwz     r0,4(r31)                              
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
ffc097fc:	38 60 00 00 	li      r3,0                                   
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
ffc09800:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09804:	41 9e 00 20 	beq-    cr7,ffc09824 <pthread_once+0x5c>       
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
ffc09808:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0980c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09810:	7c 08 03 a6 	mtlr    r0                                     
ffc09814:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09818:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0981c:	38 21 00 28 	addi    r1,r1,40                               
ffc09820:	4e 80 00 20 	blr                                            
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc09824:	3b a1 00 08 	addi    r29,r1,8                               
ffc09828:	38 60 01 00 	li      r3,256                                 
ffc0982c:	38 80 01 00 	li      r4,256                                 
ffc09830:	7f a5 eb 78 	mr      r5,r29                                 
ffc09834:	48 00 0f 9d 	bl      ffc0a7d0 <rtems_task_mode>             
    if ( !once_control->init_executed ) {                             
ffc09838:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0983c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09840:	41 9e 00 34 	beq-    cr7,ffc09874 <pthread_once+0xac>       <== ALWAYS TAKEN
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc09844:	80 61 00 08 	lwz     r3,8(r1)                               
ffc09848:	7f a5 eb 78 	mr      r5,r29                                 
ffc0984c:	38 80 01 00 	li      r4,256                                 
ffc09850:	48 00 0f 81 	bl      ffc0a7d0 <rtems_task_mode>             
  }                                                                   
  return 0;                                                           
}                                                                     
ffc09854:	80 01 00 2c 	lwz     r0,44(r1)                              
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
ffc09858:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0985c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09860:	7c 08 03 a6 	mtlr    r0                                     
ffc09864:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09868:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0986c:	38 21 00 28 	addi    r1,r1,40                               
ffc09870:	4e 80 00 20 	blr                                            
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
ffc09874:	38 00 00 01 	li      r0,1                                   
      once_control->init_executed = true;                             
      (*init_routine)();                                              
ffc09878:	7f c9 03 a6 	mtctr   r30                                    
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
ffc0987c:	90 1f 00 00 	stw     r0,0(r31)                              
      once_control->init_executed = true;                             
ffc09880:	90 1f 00 04 	stw     r0,4(r31)                              
      (*init_routine)();                                              
ffc09884:	4e 80 04 21 	bctrl                                          
ffc09888:	4b ff ff bc 	b       ffc09844 <pthread_once+0x7c>           
                                                                      

ffc0a140 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
ffc0a140:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a144:	7c 08 02 a6 	mflr    r0                                     
ffc0a148:	93 c1 00 20 	stw     r30,32(r1)                             
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
ffc0a14c:	7c 7e 1b 79 	mr.     r30,r3                                 
    return EINVAL;                                                    
ffc0a150:	38 60 00 16 	li      r3,22                                  
                                                                      
int pthread_rwlock_init(                                              
  pthread_rwlock_t           *rwlock,                                 
  const pthread_rwlockattr_t *attr                                    
)                                                                     
{                                                                     
ffc0a154:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0a158:	93 81 00 18 	stw     r28,24(r1)                             
ffc0a15c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0a160:	93 e1 00 24 	stw     r31,36(r1)                             
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
ffc0a164:	41 82 00 80 	beq-    ffc0a1e4 <pthread_rwlock_init+0xa4>    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
ffc0a168:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0a16c:	41 9e 00 a4 	beq-    cr7,ffc0a210 <pthread_rwlock_init+0xd0>
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
ffc0a170:	80 04 00 00 	lwz     r0,0(r4)                               
    return EINVAL;                                                    
ffc0a174:	38 60 00 16 	li      r3,22                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
ffc0a178:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a17c:	41 9e 00 68 	beq-    cr7,ffc0a1e4 <pthread_rwlock_init+0xa4><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
ffc0a180:	83 e4 00 04 	lwz     r31,4(r4)                              
ffc0a184:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0a188:	40 9e 00 5c 	bne-    cr7,ffc0a1e4 <pthread_rwlock_init+0xa4><== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0a18c:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes(         
  CORE_RWLock_Attributes *the_attributes                              
)                                                                     
{                                                                     
  the_attributes->XXX = 0;                                            
ffc0a190:	93 e1 00 08 	stw     r31,8(r1)                              
ffc0a194:	81 69 27 f4 	lwz     r11,10228(r9)                          
ffc0a198:	38 0b 00 01 	addi    r0,r11,1                               
ffc0a19c:	90 09 27 f4 	stw     r0,10228(r9)                           
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
    _Objects_Allocate( &_POSIX_RWLock_Information );                  
ffc0a1a0:	3f 80 00 00 	lis     r28,0                                  
ffc0a1a4:	3b 9c 2d ec 	addi    r28,r28,11756                          
ffc0a1a8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a1ac:	48 00 33 75 	bl      ffc0d520 <_Objects_Allocate>           
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
ffc0a1b0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0a1b4:	41 82 00 50 	beq-    ffc0a204 <pthread_rwlock_init+0xc4>    
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
ffc0a1b8:	38 7d 00 10 	addi    r3,r29,16                              
ffc0a1bc:	38 81 00 08 	addi    r4,r1,8                                
ffc0a1c0:	48 00 28 39 	bl      ffc0c9f8 <_CORE_RWLock_Initialize>     
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc0a1c4:	80 1d 00 08 	lwz     r0,8(r29)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0a1c8:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc0a1cc:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc0a1d0:	7f ab 49 2e 	stwx    r29,r11,r9                             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
ffc0a1d4:	93 fd 00 0c 	stw     r31,12(r29)                            
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
ffc0a1d8:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0a1dc:	48 00 48 79 	bl      ffc0ea54 <_Thread_Enable_dispatch>     
  return 0;                                                           
ffc0a1e0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0a1e4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a1e8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0a1ec:	7c 08 03 a6 	mtlr    r0                                     
ffc0a1f0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0a1f4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0a1f8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a1fc:	38 21 00 28 	addi    r1,r1,40                               
ffc0a200:	4e 80 00 20 	blr                                            
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    _Thread_Enable_dispatch();                                        
ffc0a204:	48 00 48 51 	bl      ffc0ea54 <_Thread_Enable_dispatch>     
    return EAGAIN;                                                    
ffc0a208:	38 60 00 0b 	li      r3,11                                  
ffc0a20c:	4b ff ff d8 	b       ffc0a1e4 <pthread_rwlock_init+0xa4>    
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
ffc0a210:	3b e1 00 0c 	addi    r31,r1,12                              
ffc0a214:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a218:	48 00 0c 41 	bl      ffc0ae58 <pthread_rwlockattr_init>     
    the_attr = &default_attr;                                         
ffc0a21c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0a220:	4b ff ff 50 	b       ffc0a170 <pthread_rwlock_init+0x30>    
                                                                      

ffc0a2b0 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
ffc0a2b0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a2b4:	7c 08 02 a6 	mflr    r0                                     
ffc0a2b8:	93 81 00 18 	stw     r28,24(r1)                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
ffc0a2bc:	7c 7c 1b 79 	mr.     r28,r3                                 
                                                                      
int pthread_rwlock_timedrdlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0a2c0:	7c 83 23 78 	mr      r3,r4                                  
ffc0a2c4:	93 e1 00 24 	stw     r31,36(r1)                             
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
ffc0a2c8:	3b e0 00 16 	li      r31,22                                 
                                                                      
int pthread_rwlock_timedrdlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0a2cc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0a2d0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0a2d4:	93 c1 00 20 	stw     r30,32(r1)                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
ffc0a2d8:	41 82 00 7c 	beq-    ffc0a354 <pthread_rwlock_timedrdlock+0xa4>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0a2dc:	38 81 00 0c 	addi    r4,r1,12                               
ffc0a2e0:	48 00 85 29 	bl      ffc12808 <_POSIX_Absolute_timeout_to_ticks>
ffc0a2e4:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc0a2e8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0a2ec:	3c 60 00 00 	lis     r3,0                                   
ffc0a2f0:	38 63 2d ec 	addi    r3,r3,11756                            
ffc0a2f4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a2f8:	48 00 38 45 	bl      ffc0db3c <_Objects_Get>                
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
ffc0a2fc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a300:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a304:	40 9e 00 50 	bne-    cr7,ffc0a354 <pthread_rwlock_timedrdlock+0xa4>
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
ffc0a308:	6b be 00 03 	xori    r30,r29,3                              
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
ffc0a30c:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc0a310:	7f de 00 34 	cntlzw  r30,r30                                
ffc0a314:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc0a318:	57 de d9 7e 	rlwinm  r30,r30,27,5,31                        
ffc0a31c:	38 63 00 10 	addi    r3,r3,16                               
ffc0a320:	7f c5 f3 78 	mr      r5,r30                                 
ffc0a324:	38 e0 00 00 	li      r7,0                                   
ffc0a328:	48 00 27 11 	bl      ffc0ca38 <_CORE_RWLock_Obtain_for_reading>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0a32c:	48 00 47 29 	bl      ffc0ea54 <_Thread_Enable_dispatch>     
      if ( !do_wait ) {                                               
ffc0a330:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0a334:	40 9e 00 60 	bne-    cr7,ffc0a394 <pthread_rwlock_timedrdlock+0xe4>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
ffc0a338:	3d 20 00 00 	lis     r9,0                                   
ffc0a33c:	81 29 31 30 	lwz     r9,12592(r9)                           
ffc0a340:	80 69 00 34 	lwz     r3,52(r9)                              
ffc0a344:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc0a348:	41 9e 00 30 	beq-    cr7,ffc0a378 <pthread_rwlock_timedrdlock+0xc8>
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
ffc0a34c:	48 00 01 4d 	bl      ffc0a498 <_POSIX_RWLock_Translate_core_RWLock_return_code>
ffc0a350:	7c 7f 1b 78 	mr      r31,r3                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
ffc0a354:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a358:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a35c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0a360:	7c 08 03 a6 	mtlr    r0                                     
ffc0a364:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0a368:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0a36c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a370:	38 21 00 28 	addi    r1,r1,40                               
ffc0a374:	4e 80 00 20 	blr                                            
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
ffc0a378:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0a37c:	41 be ff d8 	beq-    cr7,ffc0a354 <pthread_rwlock_timedrdlock+0xa4><== NEVER TAKEN
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
ffc0a380:	3b bd ff ff 	addi    r29,r29,-1                             
ffc0a384:	2b 9d 00 01 	cmplwi  cr7,r29,1                              
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
ffc0a388:	3b e0 00 74 	li      r31,116                                
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
ffc0a38c:	41 9d ff c0 	bgt+    cr7,ffc0a34c <pthread_rwlock_timedrdlock+0x9c><== NEVER TAKEN
ffc0a390:	4b ff ff c4 	b       ffc0a354 <pthread_rwlock_timedrdlock+0xa4>
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
ffc0a394:	3d 20 00 00 	lis     r9,0                                   
ffc0a398:	81 29 31 30 	lwz     r9,12592(r9)                           
ffc0a39c:	80 69 00 34 	lwz     r3,52(r9)                              
ffc0a3a0:	4b ff ff ac 	b       ffc0a34c <pthread_rwlock_timedrdlock+0x9c>
                                                                      

ffc0a3a4 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
ffc0a3a4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a3a8:	7c 08 02 a6 	mflr    r0                                     
ffc0a3ac:	93 81 00 18 	stw     r28,24(r1)                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
ffc0a3b0:	7c 7c 1b 79 	mr.     r28,r3                                 
                                                                      
int pthread_rwlock_timedwrlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0a3b4:	7c 83 23 78 	mr      r3,r4                                  
ffc0a3b8:	93 e1 00 24 	stw     r31,36(r1)                             
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
    return EINVAL;                                                    
ffc0a3bc:	3b e0 00 16 	li      r31,22                                 
                                                                      
int pthread_rwlock_timedwrlock(                                       
  pthread_rwlock_t      *rwlock,                                      
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0a3c0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0a3c4:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0a3c8:	93 c1 00 20 	stw     r30,32(r1)                             
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
ffc0a3cc:	41 82 00 7c 	beq-    ffc0a448 <pthread_rwlock_timedwrlock+0xa4>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0a3d0:	38 81 00 0c 	addi    r4,r1,12                               
ffc0a3d4:	48 00 84 35 	bl      ffc12808 <_POSIX_Absolute_timeout_to_ticks>
ffc0a3d8:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc0a3dc:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0a3e0:	3c 60 00 00 	lis     r3,0                                   
ffc0a3e4:	38 63 2d ec 	addi    r3,r3,11756                            
ffc0a3e8:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a3ec:	48 00 37 51 	bl      ffc0db3c <_Objects_Get>                
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
ffc0a3f0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a3f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a3f8:	40 9e 00 50 	bne-    cr7,ffc0a448 <pthread_rwlock_timedwrlock+0xa4>
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
ffc0a3fc:	6b be 00 03 	xori    r30,r29,3                              
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
ffc0a400:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc0a404:	7f de 00 34 	cntlzw  r30,r30                                
ffc0a408:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc0a40c:	57 de d9 7e 	rlwinm  r30,r30,27,5,31                        
ffc0a410:	38 63 00 10 	addi    r3,r3,16                               
ffc0a414:	7f c5 f3 78 	mr      r5,r30                                 
ffc0a418:	38 e0 00 00 	li      r7,0                                   
ffc0a41c:	48 00 27 61 	bl      ffc0cb7c <_CORE_RWLock_Obtain_for_writing>
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0a420:	48 00 46 35 	bl      ffc0ea54 <_Thread_Enable_dispatch>     
      if ( !do_wait &&                                                
ffc0a424:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0a428:	40 9e 00 60 	bne-    cr7,ffc0a488 <pthread_rwlock_timedwrlock+0xe4>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
ffc0a42c:	3d 20 00 00 	lis     r9,0                                   
ffc0a430:	81 29 31 30 	lwz     r9,12592(r9)                           
ffc0a434:	80 69 00 34 	lwz     r3,52(r9)                              
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
ffc0a438:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc0a43c:	41 9e 00 30 	beq-    cr7,ffc0a46c <pthread_rwlock_timedwrlock+0xc8>
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
ffc0a440:	48 00 00 59 	bl      ffc0a498 <_POSIX_RWLock_Translate_core_RWLock_return_code>
ffc0a444:	7c 7f 1b 78 	mr      r31,r3                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
ffc0a448:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a44c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a450:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0a454:	7c 08 03 a6 	mtlr    r0                                     
ffc0a458:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0a45c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0a460:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a464:	38 21 00 28 	addi    r1,r1,40                               
ffc0a468:	4e 80 00 20 	blr                                            
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
ffc0a46c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0a470:	41 be ff d8 	beq-    cr7,ffc0a448 <pthread_rwlock_timedwrlock+0xa4><== NEVER TAKEN
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
ffc0a474:	3b bd ff ff 	addi    r29,r29,-1                             
ffc0a478:	2b 9d 00 01 	cmplwi  cr7,r29,1                              
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
ffc0a47c:	3b e0 00 74 	li      r31,116                                
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
ffc0a480:	41 9d ff c0 	bgt+    cr7,ffc0a440 <pthread_rwlock_timedwrlock+0x9c><== NEVER TAKEN
ffc0a484:	4b ff ff c4 	b       ffc0a448 <pthread_rwlock_timedwrlock+0xa4>
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
ffc0a488:	3d 20 00 00 	lis     r9,0                                   
ffc0a48c:	81 29 31 30 	lwz     r9,12592(r9)                           
ffc0a490:	80 69 00 34 	lwz     r3,52(r9)                              
ffc0a494:	4b ff ff ac 	b       ffc0a440 <pthread_rwlock_timedwrlock+0x9c>
                                                                      

ffc0c160 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
ffc0c160:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0c164:	7c 08 02 a6 	mflr    r0                                     
ffc0c168:	93 e1 00 2c 	stw     r31,44(r1)                             
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
ffc0c16c:	7c bf 2b 79 	mr.     r31,r5                                 
int pthread_setschedparam(                                            
  pthread_t           thread,                                         
  int                 policy,                                         
  struct sched_param *param                                           
)                                                                     
{                                                                     
ffc0c170:	93 81 00 20 	stw     r28,32(r1)                             
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
ffc0c174:	3b 80 00 16 	li      r28,22                                 
int pthread_setschedparam(                                            
  pthread_t           thread,                                         
  int                 policy,                                         
  struct sched_param *param                                           
)                                                                     
{                                                                     
ffc0c178:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0c17c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0c180:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0c184:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c188:	90 01 00 34 	stw     r0,52(r1)                              
ffc0c18c:	93 61 00 1c 	stw     r27,28(r1)                             
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
ffc0c190:	41 82 00 20 	beq-    ffc0c1b0 <pthread_setschedparam+0x50>  
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
ffc0c194:	7c 83 23 78 	mr      r3,r4                                  
ffc0c198:	38 a1 00 08 	addi    r5,r1,8                                
ffc0c19c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c1a0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0c1a4:	48 00 7a 89 	bl      ffc13c2c <_POSIX_Thread_Translate_sched_param>
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
ffc0c1a8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0c1ac:	41 82 00 2c 	beq-    ffc0c1d8 <pthread_setschedparam+0x78>  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
ffc0c1b0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0c1b4:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c1b8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0c1bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0c1c0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0c1c4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0c1c8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c1cc:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c1d0:	38 21 00 30 	addi    r1,r1,48                               
ffc0c1d4:	4e 80 00 20 	blr                                            
ffc0c1d8:	3c 60 00 00 	lis     r3,0                                   
ffc0c1dc:	38 63 2e 6c 	addi    r3,r3,11884                            
ffc0c1e0:	7f a4 eb 78 	mr      r4,r29                                 
ffc0c1e4:	38 a1 00 10 	addi    r5,r1,16                               
ffc0c1e8:	48 00 2a 59 	bl      ffc0ec40 <_Objects_Get>                
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _POSIX_Threads_Get( thread, &location );               
  switch ( location ) {                                               
ffc0c1ec:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0c1f0:	7c 7b 1b 78 	mr      r27,r3                                 
ffc0c1f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c1f8:	40 9e 00 c4 	bne-    cr7,ffc0c2bc <pthread_setschedparam+0x15c>
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
ffc0c1fc:	83 a3 01 34 	lwz     r29,308(r3)                            
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
ffc0c200:	80 1d 00 84 	lwz     r0,132(r29)                            
ffc0c204:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0c208:	41 9e 01 08 	beq-    cr7,ffc0c310 <pthread_setschedparam+0x1b0>
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
ffc0c20c:	93 dd 00 84 	stw     r30,132(r29)                           
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
ffc0c210:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
ffc0c214:	81 5f 00 04 	lwz     r10,4(r31)                             
ffc0c218:	81 7f 00 08 	lwz     r11,8(r31)                             
ffc0c21c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0c220:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0c224:	91 5d 00 8c 	stw     r10,140(r29)                           
ffc0c228:	90 1d 00 88 	stw     r0,136(r29)                            
ffc0c22c:	91 7d 00 90 	stw     r11,144(r29)                           
ffc0c230:	91 3d 00 94 	stw     r9,148(r29)                            
ffc0c234:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc0c238:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc0c23c:	81 7f 00 14 	lwz     r11,20(r31)                            
ffc0c240:	91 3d 00 a0 	stw     r9,160(r29)                            
      the_thread->budget_algorithm = budget_algorithm;                
ffc0c244:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
ffc0c248:	91 5d 00 98 	stw     r10,152(r29)                           
ffc0c24c:	91 7d 00 9c 	stw     r11,156(r29)                           
      the_thread->budget_algorithm = budget_algorithm;                
ffc0c250:	91 3b 00 7c 	stw     r9,124(r27)                            
      the_thread->budget_callout   = budget_callout;                  
ffc0c254:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0c258:	91 3b 00 80 	stw     r9,128(r27)                            
                                                                      
      switch ( api->schedpolicy ) {                                   
ffc0c25c:	41 9c 00 34 	blt-    cr7,ffc0c290 <pthread_setschedparam+0x130><== NEVER TAKEN
ffc0c260:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc0c264:	41 9d 00 84 	bgt-    cr7,ffc0c2e8 <pthread_setschedparam+0x188>
ffc0c268:	3d 20 00 00 	lis     r9,0                                   
ffc0c26c:	88 89 27 54 	lbz     r4,10068(r9)                           
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
ffc0c270:	3d 20 00 00 	lis     r9,0                                   
ffc0c274:	81 29 28 44 	lwz     r9,10308(r9)                           
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
ffc0c278:	7f 63 db 78 	mr      r3,r27                                 
ffc0c27c:	7c 80 20 50 	subf    r4,r0,r4                               
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
ffc0c280:	91 3b 00 78 	stw     r9,120(r27)                            
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
ffc0c284:	38 a0 00 01 	li      r5,1                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
                                                                      
          the_thread->real_priority =                                 
ffc0c288:	90 9b 00 18 	stw     r4,24(r27)                             
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
ffc0c28c:	48 00 31 fd 	bl      ffc0f488 <_Thread_Change_priority>     
          _Watchdog_Remove( &api->Sporadic_timer );                   
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0c290:	48 00 38 c9 	bl      ffc0fb58 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
ffc0c294:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0c298:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c29c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0c2a0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c2a4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0c2a8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0c2ac:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c2b0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c2b4:	38 21 00 30 	addi    r1,r1,48                               
ffc0c2b8:	4e 80 00 20 	blr                                            
ffc0c2bc:	80 01 00 34 	lwz     r0,52(r1)                              
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
ffc0c2c0:	3b 80 00 03 	li      r28,3                                  
}                                                                     
ffc0c2c4:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c2c8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0c2cc:	7c 08 03 a6 	mtlr    r0                                     
ffc0c2d0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0c2d4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0c2d8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0c2dc:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0c2e0:	38 21 00 30 	addi    r1,r1,48                               
ffc0c2e4:	4e 80 00 20 	blr                                            
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
ffc0c2e8:	2f 9e 00 04 	cmpwi   cr7,r30,4                              
ffc0c2ec:	40 9e ff a4 	bne+    cr7,ffc0c290 <pthread_setschedparam+0x130><== NEVER TAKEN
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
ffc0c2f0:	90 1d 00 a4 	stw     r0,164(r29)                            
          _Watchdog_Remove( &api->Sporadic_timer );                   
ffc0c2f4:	38 7d 00 a8 	addi    r3,r29,168                             
ffc0c2f8:	48 00 51 e9 	bl      ffc114e0 <_Watchdog_Remove>            
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
ffc0c2fc:	38 60 00 00 	li      r3,0                                   
ffc0c300:	7f 64 db 78 	mr      r4,r27                                 
ffc0c304:	4b ff fc b5 	bl      ffc0bfb8 <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
ffc0c308:	48 00 38 51 	bl      ffc0fb58 <_Thread_Enable_dispatch>     
ffc0c30c:	4b ff ff 88 	b       ffc0c294 <pthread_setschedparam+0x134> 
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
ffc0c310:	38 7d 00 a8 	addi    r3,r29,168                             
ffc0c314:	48 00 51 cd 	bl      ffc114e0 <_Watchdog_Remove>            
ffc0c318:	4b ff fe f4 	b       ffc0c20c <pthread_setschedparam+0xac>  
                                                                      

ffc117b4 <pthread_sigmask>: sigset_t *oset ) { POSIX_API_Control *api; if ( !set && !oset )
ffc117b4:	2c 04 00 00 	cmpwi   r4,0                                   
int pthread_sigmask(                                                  
  int               how,                                              
  const sigset_t   *set,                                              
  sigset_t         *oset                                              
)                                                                     
{                                                                     
ffc117b8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc117bc:	7c 08 02 a6 	mflr    r0                                     
ffc117c0:	90 01 00 14 	stw     r0,20(r1)                              
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
ffc117c4:	41 82 00 c4 	beq-    ffc11888 <pthread_sigmask+0xd4>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
                                                                      
  if ( oset )                                                         
ffc117c8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
ffc117cc:	3d 20 00 00 	lis     r9,0                                   
ffc117d0:	81 29 31 70 	lwz     r9,12656(r9)                           
ffc117d4:	81 29 01 34 	lwz     r9,308(r9)                             
                                                                      
  if ( oset )                                                         
ffc117d8:	41 9e 00 10 	beq-    cr7,ffc117e8 <pthread_sigmask+0x34>    
    *oset = api->signals_blocked;                                     
ffc117dc:	80 09 00 d0 	lwz     r0,208(r9)                             
ffc117e0:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( !set )                                                         
ffc117e4:	41 82 00 c4 	beq-    ffc118a8 <pthread_sigmask+0xf4>        <== NEVER TAKEN
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
ffc117e8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc117ec:	41 9e 00 88 	beq-    cr7,ffc11874 <pthread_sigmask+0xc0>    
ffc117f0:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc117f4:	41 9e 00 4c 	beq-    cr7,ffc11840 <pthread_sigmask+0x8c>    
ffc117f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc117fc:	40 9e 00 58 	bne-    cr7,ffc11854 <pthread_sigmask+0xa0>    
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
      break;                                                          
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
ffc11800:	80 04 00 00 	lwz     r0,0(r4)                               
ffc11804:	90 09 00 d0 	stw     r0,208(r9)                             
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
ffc11808:	3d 60 00 00 	lis     r11,0                                  
ffc1180c:	81 29 00 d4 	lwz     r9,212(r9)                             
ffc11810:	81 6b 28 84 	lwz     r11,10372(r11)                         
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc11814:	38 60 00 00 	li      r3,0                                   
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
ffc11818:	7d 69 4b 78 	or      r9,r11,r9                              
                                                                      
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
ffc1181c:	7d 2b 00 79 	andc.   r11,r9,r0                              
ffc11820:	41 a2 00 10 	beq+    ffc11830 <pthread_sigmask+0x7c>        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
ffc11824:	90 61 00 08 	stw     r3,8(r1)                               
ffc11828:	4b ff b7 fd 	bl      ffc0d024 <_Thread_Dispatch>            
ffc1182c:	80 61 00 08 	lwz     r3,8(r1)                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc11830:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11834:	38 21 00 10 	addi    r1,r1,16                               
ffc11838:	7c 08 03 a6 	mtlr    r0                                     
ffc1183c:	4e 80 00 20 	blr                                            
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
ffc11840:	81 64 00 00 	lwz     r11,0(r4)                              
ffc11844:	80 09 00 d0 	lwz     r0,208(r9)                             
ffc11848:	7c 00 58 78 	andc    r0,r0,r11                              
ffc1184c:	90 09 00 d0 	stw     r0,208(r9)                             
      break;                                                          
ffc11850:	4b ff ff b8 	b       ffc11808 <pthread_sigmask+0x54>        
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc11854:	48 00 33 e9 	bl      ffc14c3c <__errno>                     
ffc11858:	38 00 00 16 	li      r0,22                                  
ffc1185c:	90 03 00 00 	stw     r0,0(r3)                               
ffc11860:	38 60 ff ff 	li      r3,-1                                  
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc11864:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11868:	38 21 00 10 	addi    r1,r1,16                               
ffc1186c:	7c 08 03 a6 	mtlr    r0                                     
ffc11870:	4e 80 00 20 	blr                                            
  if ( !set )                                                         
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
ffc11874:	80 09 00 d0 	lwz     r0,208(r9)                             
ffc11878:	81 64 00 00 	lwz     r11,0(r4)                              
ffc1187c:	7c 00 5b 78 	or      r0,r0,r11                              
ffc11880:	90 09 00 d0 	stw     r0,208(r9)                             
      break;                                                          
ffc11884:	4b ff ff 84 	b       ffc11808 <pthread_sigmask+0x54>        
  sigset_t         *oset                                              
)                                                                     
{                                                                     
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
ffc11888:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1188c:	41 be ff c8 	beq-    cr7,ffc11854 <pthread_sigmask+0xa0>    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
ffc11890:	3d 20 00 00 	lis     r9,0                                   
ffc11894:	81 29 31 70 	lwz     r9,12656(r9)                           
ffc11898:	81 29 01 34 	lwz     r9,308(r9)                             
                                                                      
  if ( oset )                                                         
    *oset = api->signals_blocked;                                     
ffc1189c:	80 09 00 d0 	lwz     r0,208(r9)                             
ffc118a0:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( !set )                                                         
ffc118a4:	40 82 ff 44 	bne+    ffc117e8 <pthread_sigmask+0x34>        <== NEVER TAKEN
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc118a8:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  if ( oset )                                                         
    *oset = api->signals_blocked;                                     
                                                                      
  if ( !set )                                                         
    return 0;                                                         
ffc118ac:	38 60 00 00 	li      r3,0                                   
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc118b0:	38 21 00 10 	addi    r1,r1,16                               
ffc118b4:	7c 08 03 a6 	mtlr    r0                                     
ffc118b8:	4e 80 00 20 	blr                                            
                                                                      

ffc093c8 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
ffc093c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc093cc:	7c 08 02 a6 	mflr    r0                                     
ffc093d0:	93 e1 00 0c 	stw     r31,12(r1)                             
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
ffc093d4:	3f e0 00 00 	lis     r31,0                                  
ffc093d8:	3b ff 31 04 	addi    r31,r31,12548                          
 *                                                                    
 *  18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183     
 */                                                                   
                                                                      
void pthread_testcancel( void )                                       
{                                                                     
ffc093dc:	90 01 00 14 	stw     r0,20(r1)                              
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
ffc093e0:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc093e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc093e8:	40 9e 00 44 	bne-    cr7,ffc0942c <pthread_testcancel+0x64> <== NEVER TAKEN
ffc093ec:	3d 20 00 00 	lis     r9,0                                   
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
ffc093f0:	81 7f 00 0c 	lwz     r11,12(r31)                            
ffc093f4:	81 49 27 ec 	lwz     r10,10220(r9)                          
ffc093f8:	81 6b 01 34 	lwz     r11,308(r11)                           
ffc093fc:	38 0a 00 01 	addi    r0,r10,1                               
ffc09400:	90 09 27 ec 	stw     r0,10220(r9)                           
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
ffc09404:	80 0b 00 d8 	lwz     r0,216(r11)                            
ffc09408:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0940c:	40 9e 00 34 	bne-    cr7,ffc09440 <pthread_testcancel+0x78> <== NEVER TAKEN
ffc09410:	80 0b 00 e0 	lwz     r0,224(r11)                            
ffc09414:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09418:	41 9e 00 28 	beq-    cr7,ffc09440 <pthread_testcancel+0x78> 
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
ffc0941c:	48 00 37 3d 	bl      ffc0cb58 <_Thread_Enable_dispatch>     
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
ffc09420:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc09424:	38 80 ff ff 	li      r4,-1                                  
ffc09428:	48 00 78 fd 	bl      ffc10d24 <_POSIX_Thread_Exit>          
}                                                                     
ffc0942c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09430:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc09434:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc09438:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0943c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
ffc09440:	48 00 37 19 	bl      ffc0cb58 <_Thread_Enable_dispatch>     
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
}                                                                     
ffc09444:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09448:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0944c:	38 21 00 10 	addi    r1,r1,16                               
ffc09450:	7c 08 03 a6 	mtlr    r0                                     
ffc09454:	4e 80 00 20 	blr                                            
                                                                      

ffc18ac8 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
ffc18ac8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc18acc:	7c 08 02 a6 	mflr    r0                                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18ad0:	3d 20 00 00 	lis     r9,0                                   
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc18ad4:	90 01 00 14 	stw     r0,20(r1)                              
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18ad8:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc18adc:	93 e1 00 0c 	stw     r31,12(r1)                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18ae0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc18ae4:	40 9c 00 8c 	bge-    cr7,ffc18b70 <read+0xa8>               <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
ffc18ae8:	3d 60 00 00 	lis     r11,0                                  
ffc18aec:	83 eb 27 8c 	lwz     r31,10124(r11)                         
ffc18af0:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc18af4:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc18af8:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc18afc:	71 6a 01 00 	andi.   r10,r11,256                            
ffc18b00:	41 82 00 70 	beq-    ffc18b70 <read+0xa8>                   
  rtems_libio_check_buffer( buffer );                                 
ffc18b04:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc18b08:	41 9e 00 7c 	beq-    cr7,ffc18b84 <read+0xbc>               <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc18b0c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc18b10:	38 60 00 00 	li      r3,0                                   
ffc18b14:	41 9e 00 48 	beq-    cr7,ffc18b5c <read+0x94>               
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
ffc18b18:	71 60 00 02 	andi.   r0,r11,2                               
ffc18b1c:	41 82 00 68 	beq-    ffc18b84 <read+0xbc>                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
ffc18b20:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc18b24:	7f e3 fb 78 	mr      r3,r31                                 
ffc18b28:	80 09 00 08 	lwz     r0,8(r9)                               
ffc18b2c:	7c 09 03 a6 	mtctr   r0                                     
ffc18b30:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc18b34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18b38:	40 81 00 24 	ble-    ffc18b5c <read+0x94>                   
    iop->offset += rc;                                                
ffc18b3c:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc18b40:	7c 6a 1b 78 	mr      r10,r3                                 
ffc18b44:	81 9f 00 14 	lwz     r12,20(r31)                            
ffc18b48:	7c 69 fe 70 	srawi   r9,r3,31                               
ffc18b4c:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc18b50:	7d 29 59 14 	adde    r9,r9,r11                              
ffc18b54:	91 3f 00 10 	stw     r9,16(r31)                             
ffc18b58:	91 5f 00 14 	stw     r10,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc18b5c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc18b60:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc18b64:	38 21 00 10 	addi    r1,r1,16                               
ffc18b68:	7c 08 03 a6 	mtlr    r0                                     
ffc18b6c:	4e 80 00 20 	blr                                            
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
ffc18b70:	4b ff a8 c5 	bl      ffc13434 <__errno>                     
ffc18b74:	38 00 00 09 	li      r0,9                                   
ffc18b78:	90 03 00 00 	stw     r0,0(r3)                               
ffc18b7c:	38 60 ff ff 	li      r3,-1                                  
ffc18b80:	4b ff ff dc 	b       ffc18b5c <read+0x94>                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
ffc18b84:	4b ff a8 b1 	bl      ffc13434 <__errno>                     
ffc18b88:	38 00 00 16 	li      r0,22                                  
ffc18b8c:	90 03 00 00 	stw     r0,0(r3)                               
ffc18b90:	38 60 ff ff 	li      r3,-1                                  
ffc18b94:	4b ff ff c8 	b       ffc18b5c <read+0x94>                   
                                                                      

ffc08a7c <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
ffc08a7c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc08a80:	7c 08 02 a6 	mflr    r0                                     
ffc08a84:	93 a1 00 2c 	stw     r29,44(r1)                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc08a88:	7c 9d 23 79 	mr.     r29,r4                                 
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
ffc08a8c:	93 81 00 28 	stw     r28,40(r1)                             
ffc08a90:	7c 7c 1b 78 	mr      r28,r3                                 
ffc08a94:	93 c1 00 30 	stw     r30,48(r1)                             
ffc08a98:	7c be 2b 78 	mr      r30,r5                                 
ffc08a9c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc08aa0:	93 e1 00 34 	stw     r31,52(r1)                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc08aa4:	41 82 00 bc 	beq-    ffc08b60 <readlink+0xe4>               
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
ffc08aa8:	48 01 05 05 	bl      ffc18fac <strlen>                      
ffc08aac:	3b e1 00 08 	addi    r31,r1,8                               
ffc08ab0:	7c 64 1b 78 	mr      r4,r3                                  
ffc08ab4:	38 a0 00 00 	li      r5,0                                   
ffc08ab8:	7f 83 e3 78 	mr      r3,r28                                 
ffc08abc:	7f e6 fb 78 	mr      r6,r31                                 
ffc08ac0:	38 e0 00 00 	li      r7,0                                   
ffc08ac4:	4b ff e9 41 	bl      ffc07404 <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
ffc08ac8:	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 )                                                  
ffc08acc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08ad0:	41 9e 00 28 	beq-    cr7,ffc08af8 <readlink+0x7c>           <== ALWAYS TAKEN
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
ffc08ad4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc08ad8:	7f 83 e3 78 	mr      r3,r28                                 
ffc08adc:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08ae0:	7c 08 03 a6 	mtlr    r0                                     
ffc08ae4:	83 81 00 28 	lwz     r28,40(r1)                             
ffc08ae8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc08aec:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc08af0:	38 21 00 38 	addi    r1,r1,56                               
ffc08af4:	4e 80 00 20 	blr                                            
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
ffc08af8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc08afc:	7f e3 fb 78 	mr      r3,r31                                 
ffc08b00:	80 09 00 10 	lwz     r0,16(r9)                              
ffc08b04:	7c 09 03 a6 	mtctr   r0                                     
ffc08b08:	4e 80 04 21 	bctrl                                          
ffc08b0c:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc08b10:	40 9e 00 84 	bne-    cr7,ffc08b94 <readlink+0x118>          
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
ffc08b14:	81 21 00 14 	lwz     r9,20(r1)                              
ffc08b18:	7f a4 eb 78 	mr      r4,r29                                 
ffc08b1c:	7f c5 f3 78 	mr      r5,r30                                 
ffc08b20:	80 09 00 3c 	lwz     r0,60(r9)                              
ffc08b24:	7f e3 fb 78 	mr      r3,r31                                 
ffc08b28:	7c 09 03 a6 	mtctr   r0                                     
ffc08b2c:	4e 80 04 21 	bctrl                                          
ffc08b30:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc08b34:	7f e3 fb 78 	mr      r3,r31                                 
ffc08b38:	4b ff ea 29 	bl      ffc07560 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc08b3c:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc08b40:	7f 83 e3 78 	mr      r3,r28                                 
ffc08b44:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08b48:	7c 08 03 a6 	mtlr    r0                                     
ffc08b4c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc08b50:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc08b54:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc08b58:	38 21 00 38 	addi    r1,r1,56                               
ffc08b5c:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc08b60:	48 00 e4 b1 	bl      ffc17010 <__errno>                     
ffc08b64:	38 00 00 0e 	li      r0,14                                  
ffc08b68:	90 03 00 00 	stw     r0,0(r3)                               
ffc08b6c:	3b 80 ff ff 	li      r28,-1                                 
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
ffc08b70:	7f 83 e3 78 	mr      r3,r28                                 
ffc08b74:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc08b78:	83 81 00 28 	lwz     r28,40(r1)                             
ffc08b7c:	7c 08 03 a6 	mtlr    r0                                     
ffc08b80:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08b84:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc08b88:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc08b8c:	38 21 00 38 	addi    r1,r1,56                               
ffc08b90:	4e 80 00 20 	blr                                            
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
ffc08b94:	7f e3 fb 78 	mr      r3,r31                                 
ffc08b98:	4b ff e9 c9 	bl      ffc07560 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc08b9c:	48 00 e4 75 	bl      ffc17010 <__errno>                     
ffc08ba0:	38 00 00 16 	li      r0,22                                  
ffc08ba4:	90 03 00 00 	stw     r0,0(r3)                               
ffc08ba8:	4b ff ff 2c 	b       ffc08ad4 <readlink+0x58>               
                                                                      

ffc071b4 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
ffc071b4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc071b8:	7c 08 02 a6 	mflr    r0                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071bc:	3d 20 00 00 	lis     r9,0                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071c0:	90 01 00 2c 	stw     r0,44(r1)                              
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071c4:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071c8:	93 41 00 10 	stw     r26,16(r1)                             
ffc071cc:	7c ba 2b 78 	mr      r26,r5                                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071d0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc071d4:	93 21 00 0c 	stw     r25,12(r1)                             
ffc071d8:	93 61 00 14 	stw     r27,20(r1)                             
ffc071dc:	93 81 00 18 	stw     r28,24(r1)                             
ffc071e0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc071e4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc071e8:	93 e1 00 24 	stw     r31,36(r1)                             
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc071ec:	40 9c 01 4c 	bge-    cr7,ffc07338 <readv+0x184>             
  iop = rtems_libio_iop( fd );                                        
ffc071f0:	3d 20 00 00 	lis     r9,0                                   
ffc071f4:	83 89 27 8c 	lwz     r28,10124(r9)                          
ffc071f8:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc071fc:	7f 9c 1a 14 	add     r28,r28,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc07200:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc07204:	70 09 01 00 	andi.   r9,r0,256                              
ffc07208:	41 82 01 30 	beq-    ffc07338 <readv+0x184>                 
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
ffc0720c:	70 09 00 02 	andi.   r9,r0,2                                
ffc07210:	41 82 00 e8 	beq-    ffc072f8 <readv+0x144>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc07214:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc07218:	41 9e 00 e0 	beq-    cr7,ffc072f8 <readv+0x144>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc0721c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc07220:	40 9d 00 d8 	ble-    cr7,ffc072f8 <readv+0x144>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc07224:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc07228:	41 9d 00 d0 	bgt-    cr7,ffc072f8 <readv+0x144>             <== NEVER TAKEN
ffc0722c:	7c a9 03 a6 	mtctr   r5                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc07230:	7c 9d 23 78 	mr      r29,r4                                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc07234:	7c 89 23 78 	mr      r9,r4                                  
ffc07238:	39 00 00 01 	li      r8,1                                   
ffc0723c:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
ffc07240:	81 69 00 00 	lwz     r11,0(r9)                              
ffc07244:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc07248:	41 9e 00 b0 	beq-    cr7,ffc072f8 <readv+0x144>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc0724c:	81 49 00 04 	lwz     r10,4(r9)                              
   *  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++ ) {                           
ffc07250:	39 29 00 08 	addi    r9,r9,8                                
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc07254:	7d 60 52 14 	add     r11,r0,r10                             
    if ( total < old )                                                
ffc07258:	7f 80 58 00 	cmpw    cr7,r0,r11                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc0725c:	31 4a ff ff 	addic   r10,r10,-1                             
ffc07260:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc07264:	7d 08 50 38 	and     r8,r8,r10                              
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc07268:	7d 60 5b 78 	mr      r0,r11                                 
    if ( total < old )                                                
ffc0726c:	41 9d 00 8c 	bgt-    cr7,ffc072f8 <readv+0x144>             
   *  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++ ) {                           
ffc07270:	42 00 ff d0 	bdnz+   ffc07240 <readv+0x8c>                  
  /*                                                                  
   *  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 ) {                                          
ffc07274:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    return 0;                                                         
ffc07278:	3b 20 00 00 	li      r25,0                                  
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc0727c:	40 9e 00 8c 	bne-    cr7,ffc07308 <readv+0x154>             
ffc07280:	3b 60 00 00 	li      r27,0                                  
ffc07284:	48 00 00 40 	b       ffc072c4 <readv+0x110>                 
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc07288:	41 82 00 28 	beq-    ffc072b0 <readv+0xfc>                  <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc0728c:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc07290:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07294:	81 5c 00 14 	lwz     r10,20(r28)                            
ffc07298:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc0729c:	7f 39 1a 14 	add     r25,r25,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc072a0:	7d 4a f8 14 	addc    r10,r10,r31                            
ffc072a4:	7d 29 f1 14 	adde    r9,r9,r30                              
ffc072a8:	91 3c 00 10 	stw     r9,16(r28)                             
ffc072ac:	91 5c 00 14 	stw     r10,20(r28)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc072b0:	80 1d 00 04 	lwz     r0,4(r29)                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072b4:	3b bd 00 08 	addi    r29,r29,8                              
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc072b8:	7f 03 00 00 	cmpw    cr6,r3,r0                              
ffc072bc:	40 9a 00 4c 	bne-    cr6,ffc07308 <readv+0x154>             <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072c0:	40 9d 00 48 	ble-    cr7,ffc07308 <readv+0x154>             
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc072c4:	81 3c 00 24 	lwz     r9,36(r28)                             
ffc072c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc072cc:	80 9d 00 00 	lwz     r4,0(r29)                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072d0:	3b 7b 00 01 	addi    r27,r27,1                              
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc072d4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc072d8:	80 bd 00 04 	lwz     r5,4(r29)                              
ffc072dc:	7c 09 03 a6 	mtctr   r0                                     
ffc072e0:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc072e4:	7f 9a d8 00 	cmpw    cr7,r26,r27                            
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc072e8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc072ec:	40 80 ff 9c 	bge+    ffc07288 <readv+0xd4>                  <== ALWAYS TAKEN
      return -1;                                                      
ffc072f0:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
ffc072f4:	48 00 00 14 	b       ffc07308 <readv+0x154>                 <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc072f8:	48 00 d5 59 	bl      ffc14850 <__errno>                     
ffc072fc:	38 00 00 16 	li      r0,22                                  
ffc07300:	90 03 00 00 	stw     r0,0(r3)                               
ffc07304:	3b 20 ff ff 	li      r25,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc07308:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0730c:	7f 23 cb 78 	mr      r3,r25                                 
ffc07310:	83 41 00 10 	lwz     r26,16(r1)                             
ffc07314:	7c 08 03 a6 	mtlr    r0                                     
ffc07318:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0731c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc07320:	83 81 00 18 	lwz     r28,24(r1)                             
ffc07324:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc07328:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0732c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc07330:	38 21 00 28 	addi    r1,r1,40                               
ffc07334:	4e 80 00 20 	blr                                            
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
ffc07338:	48 00 d5 19 	bl      ffc14850 <__errno>                     
ffc0733c:	38 00 00 09 	li      r0,9                                   
ffc07340:	90 03 00 00 	stw     r0,0(r3)                               
ffc07344:	3b 20 ff ff 	li      r25,-1                                 
ffc07348:	4b ff ff c0 	b       ffc07308 <readv+0x154>                 
                                                                      

ffc18c3c <realloc>: void *realloc( void *ptr, size_t size ) {
ffc18c3c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc18c40:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc18c44:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc18c48:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc18c4c:	80 09 27 ec 	lwz     r0,10220(r9)                           
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc18c50:	93 c1 00 20 	stw     r30,32(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc18c54:	3f c0 00 00 	lis     r30,0                                  
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc18c58:	2f 80 00 03 	cmpwi   cr7,r0,3                               
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc18c5c:	3b de 2b 00 	addi    r30,r30,11008                          
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc18c60:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc18c64:	7c 9d 23 78 	mr      r29,r4                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc18c68:	81 3e 00 10 	lwz     r9,16(r30)                             
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc18c6c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc18c70:	7c 7f 1b 78 	mr      r31,r3                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc18c74:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc18c78:	93 81 00 18 	stw     r28,24(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc18c7c:	91 3e 00 10 	stw     r9,16(r30)                             
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc18c80:	41 9e 00 a0 	beq-    cr7,ffc18d20 <realloc+0xe4>            <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
ffc18c84:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc18c88:	41 9e 00 88 	beq-    cr7,ffc18d10 <realloc+0xd4>            
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
ffc18c8c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc18c90:	41 9e 00 5c 	beq-    cr7,ffc18cec <realloc+0xb0>            <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
ffc18c94:	3f 80 00 00 	lis     r28,0                                  
ffc18c98:	80 7c 26 e4 	lwz     r3,9956(r28)                           
ffc18c9c:	7f e4 fb 78 	mr      r4,r31                                 
ffc18ca0:	38 a1 00 08 	addi    r5,r1,8                                
ffc18ca4:	48 00 01 c9 	bl      ffc18e6c <_Protected_heap_Get_block_size>
ffc18ca8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18cac:	41 9e 00 50 	beq-    cr7,ffc18cfc <realloc+0xc0>            
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
ffc18cb0:	80 7c 26 e4 	lwz     r3,9956(r28)                           
ffc18cb4:	7f e4 fb 78 	mr      r4,r31                                 
ffc18cb8:	7f a5 eb 78 	mr      r5,r29                                 
ffc18cbc:	48 00 02 15 	bl      ffc18ed0 <_Protected_heap_Resize_block>
ffc18cc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18cc4:	41 9e 00 8c 	beq-    cr7,ffc18d50 <realloc+0x114>           
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc18cc8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc18ccc:	7f e3 fb 78 	mr      r3,r31                                 
ffc18cd0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc18cd4:	7c 08 03 a6 	mtlr    r0                                     
ffc18cd8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc18cdc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc18ce0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18ce4:	38 21 00 28 	addi    r1,r1,40                               
ffc18ce8:	4e 80 00 20 	blr                                            
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
ffc18cec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc18cf0:	4b fe bd bd 	bl      ffc04aac <free>                        <== NOT EXECUTED
    return (void *) 0;                                                
ffc18cf4:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc18cf8:	4b ff ff d0 	b       ffc18cc8 <realloc+0x8c>                <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
ffc18cfc:	4b ff a7 39 	bl      ffc13434 <__errno>                     
ffc18d00:	38 00 00 16 	li      r0,22                                  
ffc18d04:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc18d08:	3b e0 00 00 	li      r31,0                                  
ffc18d0c:	4b ff ff bc 	b       ffc18cc8 <realloc+0x8c>                
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
ffc18d10:	7f a3 eb 78 	mr      r3,r29                                 
ffc18d14:	4b fe c1 b5 	bl      ffc04ec8 <malloc>                      
ffc18d18:	7c 7f 1b 78 	mr      r31,r3                                 
ffc18d1c:	4b ff ff ac 	b       ffc18cc8 <realloc+0x8c>                
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
ffc18d20:	3d 20 00 00 	lis     r9,0                                   
ffc18d24:	80 09 27 a8 	lwz     r0,10152(r9)                           
ffc18d28:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18d2c:	41 9e 00 0c 	beq-    cr7,ffc18d38 <realloc+0xfc>            <== ALWAYS TAKEN
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
ffc18d30:	3b e0 00 00 	li      r31,0                                  
ffc18d34:	4b ff ff 94 	b       ffc18cc8 <realloc+0x8c>                
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
ffc18d38:	3d 20 00 00 	lis     r9,0                                   
ffc18d3c:	80 09 31 0c 	lwz     r0,12556(r9)                           
ffc18d40:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18d44:	41 9e ff 40 	beq+    cr7,ffc18c84 <realloc+0x48>            <== ALWAYS TAKEN
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
ffc18d48:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc18d4c:	4b ff ff 7c 	b       ffc18cc8 <realloc+0x8c>                <== NOT EXECUTED
   *  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 );                                          
ffc18d50:	7f a3 eb 78 	mr      r3,r29                                 
ffc18d54:	4b fe c1 75 	bl      ffc04ec8 <malloc>                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc18d58:	81 3e 00 04 	lwz     r9,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc18d5c:	7c 7c 1b 79 	mr.     r28,r3                                 
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc18d60:	38 09 ff ff 	addi    r0,r9,-1                               
ffc18d64:	90 1e 00 04 	stw     r0,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc18d68:	41 a2 ff c8 	beq-    ffc18d30 <realloc+0xf4>                
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc18d6c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc18d70:	7f a5 eb 78 	mr      r5,r29                                 
ffc18d74:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc18d78:	40 9d 00 08 	ble-    cr7,ffc18d80 <realloc+0x144>           <== NEVER TAKEN
ffc18d7c:	7c 05 03 78 	mr      r5,r0                                  
ffc18d80:	7f e4 fb 78 	mr      r4,r31                                 
ffc18d84:	7f 83 e3 78 	mr      r3,r28                                 
ffc18d88:	4b ff b3 0d 	bl      ffc14094 <memcpy>                      
  free( ptr );                                                        
ffc18d8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc18d90:	4b fe bd 1d 	bl      ffc04aac <free>                        
                                                                      
  return new_area;                                                    
ffc18d94:	7f 9f e3 78 	mr      r31,r28                                
ffc18d98:	4b ff ff 30 	b       ffc18cc8 <realloc+0x8c>                
                                                                      

ffc06288 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
ffc06288:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc0628c:	7c 08 02 a6 	mflr    r0                                     
ffc06290:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc06294:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06298:	90 01 00 54 	stw     r0,84(r1)                              
ffc0629c:	93 61 00 3c 	stw     r27,60(r1)                             
ffc062a0:	93 81 00 40 	stw     r28,64(r1)                             
ffc062a4:	93 a1 00 44 	stw     r29,68(r1)                             
ffc062a8:	93 c1 00 48 	stw     r30,72(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
ffc062ac:	4b ff ed 0d 	bl      ffc04fb8 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc062b0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc062b4:	40 82 01 68 	bne-    ffc0641c <rmdir+0x194>                 
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc062b8:	3b c1 00 0c 	addi    r30,r1,12                              
ffc062bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc062c0:	38 81 00 08 	addi    r4,r1,8                                
ffc062c4:	7f c5 f3 78 	mr      r5,r30                                 
ffc062c8:	48 00 01 89 	bl      ffc06450 <rtems_filesystem_get_start_loc>
ffc062cc:	3b a0 00 00 	li      r29,0                                  
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc062d0:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc062d4:	80 01 00 0c 	lwz     r0,12(r1)                              
  name = pathname + parentpathlen;                                    
ffc062d8:	7f bf ea 14 	add     r29,r31,r29                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc062dc:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc062e0:	90 01 00 20 	stw     r0,32(r1)                              
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc062e4:	3b e1 00 20 	addi    r31,r1,32                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc062e8:	80 01 00 10 	lwz     r0,16(r1)                              
ffc062ec:	90 01 00 24 	stw     r0,36(r1)                              
ffc062f0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc062f4:	90 01 00 28 	stw     r0,40(r1)                              
ffc062f8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc062fc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc06300:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06304:	90 01 00 30 	stw     r0,48(r1)                              
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc06308:	48 00 ef b9 	bl      ffc152c0 <strlen>                      
ffc0630c:	7c 64 1b 78 	mr      r4,r3                                  
ffc06310:	7f a3 eb 78 	mr      r3,r29                                 
ffc06314:	4b ff ed 05 	bl      ffc05018 <rtems_filesystem_prefix_separators>
ffc06318:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc0631c:	7f a3 eb 78 	mr      r3,r29                                 
ffc06320:	48 00 ef a1 	bl      ffc152c0 <strlen>                      
ffc06324:	38 a0 00 00 	li      r5,0                                   
ffc06328:	7c 64 1b 78 	mr      r4,r3                                  
ffc0632c:	7f e6 fb 78 	mr      r6,r31                                 
ffc06330:	7f a3 eb 78 	mr      r3,r29                                 
ffc06334:	38 e0 00 00 	li      r7,0                                   
ffc06338:	4b ff eb 59 	bl      ffc04e90 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc0633c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06340:	40 9e 00 74 	bne-    cr7,ffc063b4 <rmdir+0x12c>             
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc06344:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc06348:	7f e3 fb 78 	mr      r3,r31                                 
ffc0634c:	80 09 00 10 	lwz     r0,16(r9)                              
ffc06350:	7c 09 03 a6 	mtctr   r0                                     
ffc06354:	4e 80 04 21 	bctrl                                          
ffc06358:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0635c:	40 9e 00 94 	bne-    cr7,ffc063f0 <rmdir+0x168>             
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
ffc06360:	81 21 00 28 	lwz     r9,40(r1)                              
ffc06364:	7f e4 fb 78 	mr      r4,r31                                 
ffc06368:	7f c3 f3 78 	mr      r3,r30                                 
ffc0636c:	80 09 00 34 	lwz     r0,52(r9)                              
ffc06370:	7c 09 03 a6 	mtctr   r0                                     
ffc06374:	4e 80 04 21 	bctrl                                          
ffc06378:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0637c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06380:	4b ff ed 19 	bl      ffc05098 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc06384:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06388:	40 9e 00 38 	bne-    cr7,ffc063c0 <rmdir+0x138>             
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
ffc0638c:	80 01 00 54 	lwz     r0,84(r1)                              
ffc06390:	7f 63 db 78 	mr      r3,r27                                 
ffc06394:	83 81 00 40 	lwz     r28,64(r1)                             
ffc06398:	7c 08 03 a6 	mtlr    r0                                     
ffc0639c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc063a0:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc063a4:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc063a8:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc063ac:	38 21 00 50 	addi    r1,r1,80                               
ffc063b0:	4e 80 00 20 	blr                                            
  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 )                                             
ffc063b4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc063b8:	3b 60 ff ff 	li      r27,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc063bc:	41 9e ff d0 	beq+    cr7,ffc0638c <rmdir+0x104>             
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
ffc063c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc063c4:	4b ff ec d5 	bl      ffc05098 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc063c8:	80 01 00 54 	lwz     r0,84(r1)                              
ffc063cc:	7f 63 db 78 	mr      r3,r27                                 
ffc063d0:	83 81 00 40 	lwz     r28,64(r1)                             
ffc063d4:	7c 08 03 a6 	mtlr    r0                                     
ffc063d8:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc063dc:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc063e0:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc063e4:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc063e8:	38 21 00 50 	addi    r1,r1,80                               
ffc063ec:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
ffc063f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc063f4:	4b ff ec a5 	bl      ffc05098 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc063f8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc063fc:	41 be 00 0c 	beq+    cr7,ffc06408 <rmdir+0x180>             <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
ffc06400:	7f c3 f3 78 	mr      r3,r30                                 
ffc06404:	4b ff ec 95 	bl      ffc05098 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc06408:	48 00 dd 19 	bl      ffc14120 <__errno>                     
ffc0640c:	38 00 00 14 	li      r0,20                                  
ffc06410:	90 03 00 00 	stw     r0,0(r3)                               
ffc06414:	3b 60 ff ff 	li      r27,-1                                 
ffc06418:	4b ff ff 74 	b       ffc0638c <rmdir+0x104>                 
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
ffc0641c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06420:	3b c1 00 0c 	addi    r30,r1,12                              
ffc06424:	7f e3 fb 78 	mr      r3,r31                                 
ffc06428:	7f a4 eb 78 	mr      r4,r29                                 
ffc0642c:	38 a0 00 02 	li      r5,2                                   
ffc06430:	7f c6 f3 78 	mr      r6,r30                                 
ffc06434:	38 e0 00 00 	li      r7,0                                   
ffc06438:	4b ff eb 05 	bl      ffc04f3c <rtems_filesystem_evaluate_path>
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
      return -1;                                                      
ffc0643c:	3b 60 ff ff 	li      r27,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
ffc06440:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06444:	40 be ff 48 	bne-    cr7,ffc0638c <rmdir+0x104>             <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc06448:	3b 80 00 01 	li      r28,1                                  
ffc0644c:	4b ff fe 88 	b       ffc062d4 <rmdir+0x4c>                  
                                                                      

ffc0a290 <rtems_aio_enqueue>: * errno - otherwise */ int rtems_aio_enqueue (rtems_aio_request *req) {
ffc0a290:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc0a294:	7c 08 02 a6 	mflr    r0                                     
ffc0a298:	93 e1 00 4c 	stw     r31,76(r1)                             
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
ffc0a29c:	3f e0 00 00 	lis     r31,0                                  
ffc0a2a0:	3b ff 2c 50 	addi    r31,r31,11344                          
 *         errno     - otherwise                                      
 */                                                                   
                                                                      
int                                                                   
rtems_aio_enqueue (rtems_aio_request *req)                            
{                                                                     
ffc0a2a4:	93 a1 00 44 	stw     r29,68(r1)                             
ffc0a2a8:	7c 7d 1b 78 	mr      r29,r3                                 
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
ffc0a2ac:	7f e3 fb 78 	mr      r3,r31                                 
 *         errno     - otherwise                                      
 */                                                                   
                                                                      
int                                                                   
rtems_aio_enqueue (rtems_aio_request *req)                            
{                                                                     
ffc0a2b0:	93 c1 00 48 	stw     r30,72(r1)                             
ffc0a2b4:	90 01 00 54 	stw     r0,84(r1)                              
ffc0a2b8:	93 61 00 3c 	stw     r27,60(r1)                             
ffc0a2bc:	93 81 00 40 	stw     r28,64(r1)                             
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
ffc0a2c0:	48 00 0c 51 	bl      ffc0af10 <pthread_mutex_lock>          
  if (result != 0) {                                                  
ffc0a2c4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0a2c8:	40 82 00 d4 	bne-    ffc0a39c <rtems_aio_enqueue+0x10c>     <== NEVER TAKEN
    return result;                                                    
  }                                                                   
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
ffc0a2cc:	48 00 17 d1 	bl      ffc0ba9c <pthread_self>                
ffc0a2d0:	38 81 00 0c 	addi    r4,r1,12                               
ffc0a2d4:	38 a1 00 10 	addi    r5,r1,16                               
ffc0a2d8:	48 00 11 e1 	bl      ffc0b4b8 <pthread_getschedparam>       
                                                                      
  req->caller_thread = pthread_self ();                               
ffc0a2dc:	48 00 17 c1 	bl      ffc0ba9c <pthread_self>                
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
ffc0a2e0:	80 1f 00 68 	lwz     r0,104(r31)                            
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
ffc0a2e4:	81 3d 00 14 	lwz     r9,20(r29)                             
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
ffc0a2e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
ffc0a2ec:	81 61 00 10 	lwz     r11,16(r1)                             
ffc0a2f0:	80 09 00 18 	lwz     r0,24(r9)                              
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
ffc0a2f4:	90 7d 00 10 	stw     r3,16(r29)                             
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
ffc0a2f8:	7c 00 58 50 	subf    r0,r0,r11                              
ffc0a2fc:	90 1d 00 0c 	stw     r0,12(r29)                             
  req->policy = policy;                                               
ffc0a300:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0a304:	90 1d 00 08 	stw     r0,8(r29)                              
  req->aiocbp->error_code = EINPROGRESS;                              
ffc0a308:	38 00 00 77 	li      r0,119                                 
ffc0a30c:	90 09 00 34 	stw     r0,52(r9)                              
  req->aiocbp->return_value = 0;                                      
ffc0a310:	93 c9 00 38 	stw     r30,56(r9)                             
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
ffc0a314:	40 9e 00 10 	bne-    cr7,ffc0a324 <rtems_aio_enqueue+0x94>  <== NEVER TAKEN
ffc0a318:	80 1f 00 64 	lwz     r0,100(r31)                            
ffc0a31c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0a320:	40 9d 00 ac 	ble-    cr7,ffc0a3cc <rtems_aio_enqueue+0x13c> 
  else                                                                
    {                                                                 
      /* the maximum number of threads has been already created       
	 even though some of them might be idle.                             
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
ffc0a324:	3f 60 00 00 	lis     r27,0                                  
ffc0a328:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0a32c:	3b 7b 2c 98 	addi    r27,r27,11416                          
ffc0a330:	7f 63 db 78 	mr      r3,r27                                 
ffc0a334:	38 a0 00 00 	li      r5,0                                   
ffc0a338:	4b ff f9 29 	bl      ffc09c60 <rtems_aio_search_fd>         
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
ffc0a33c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0a340:	41 82 01 04 	beq-    ffc0a444 <rtems_aio_enqueue+0x1b4>     
	{                                                                    
	  pthread_mutex_lock (&r_chain->mutex);                              
ffc0a344:	3b 7c 00 1c 	addi    r27,r28,28                             
ffc0a348:	7f 63 db 78 	mr      r3,r27                                 
ffc0a34c:	48 00 0b c5 	bl      ffc0af10 <pthread_mutex_lock>          
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
ffc0a350:	38 7c 00 08 	addi    r3,r28,8                               
ffc0a354:	7f a4 eb 78 	mr      r4,r29                                 
ffc0a358:	4b ff fd 81 	bl      ffc0a0d8 <rtems_aio_insert_prio>       
	  pthread_cond_signal (&r_chain->cond);                              
ffc0a35c:	38 7c 00 20 	addi    r3,r28,32                              
ffc0a360:	48 00 05 8d 	bl      ffc0a8ec <pthread_cond_signal>         
	  pthread_mutex_unlock (&r_chain->mutex);                            
ffc0a364:	7f 63 db 78 	mr      r3,r27                                 
ffc0a368:	48 00 0c 75 	bl      ffc0afdc <pthread_mutex_unlock>        
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
ffc0a36c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a370:	48 00 0c 6d 	bl      ffc0afdc <pthread_mutex_unlock>        
  return 0;                                                           
}                                                                     
ffc0a374:	80 01 00 54 	lwz     r0,84(r1)                              
ffc0a378:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a37c:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc0a380:	7c 08 03 a6 	mtlr    r0                                     
ffc0a384:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0a388:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc0a38c:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0a390:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc0a394:	38 21 00 50 	addi    r1,r1,80                               
ffc0a398:	4e 80 00 20 	blr                                            
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
  if (result != 0) {                                                  
    free (req);                                                       
ffc0a39c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0a3a0:	4b ff b5 b1 	bl      ffc05950 <free>                        <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
  return 0;                                                           
}                                                                     
ffc0a3a4:	80 01 00 54 	lwz     r0,84(r1)                              <== NOT EXECUTED
ffc0a3a8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0a3ac:	83 61 00 3c 	lwz     r27,60(r1)                             <== NOT EXECUTED
ffc0a3b0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0a3b4:	83 81 00 40 	lwz     r28,64(r1)                             <== NOT EXECUTED
ffc0a3b8:	83 a1 00 44 	lwz     r29,68(r1)                             <== NOT EXECUTED
ffc0a3bc:	83 c1 00 48 	lwz     r30,72(r1)                             <== NOT EXECUTED
ffc0a3c0:	83 e1 00 4c 	lwz     r31,76(r1)                             <== NOT EXECUTED
ffc0a3c4:	38 21 00 50 	addi    r1,r1,80                               <== NOT EXECUTED
ffc0a3c8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
ffc0a3cc:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0a3d0:	38 7f 00 48 	addi    r3,r31,72                              
ffc0a3d4:	38 a0 00 01 	li      r5,1                                   
ffc0a3d8:	4b ff f8 89 	bl      ffc09c60 <rtems_aio_search_fd>         
                                                                      
      if (r_chain->new_fd == 1) {                                     
ffc0a3dc:	80 03 00 18 	lwz     r0,24(r3)                              
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
ffc0a3e0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
      if (r_chain->new_fd == 1) {                                     
ffc0a3e4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0a3e8:	40 9e ff 5c 	bne+    cr7,ffc0a344 <rtems_aio_enqueue+0xb4>  
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0a3ec:	7f a4 eb 78 	mr      r4,r29                                 
ffc0a3f0:	38 63 00 08 	addi    r3,r3,8                                
ffc0a3f4:	48 00 2f 01 	bl      ffc0d2f4 <_Chain_Insert>               
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
ffc0a3f8:	93 dc 00 18 	stw     r30,24(r28)                            
	pthread_mutex_init (&r_chain->mutex, NULL);                          
ffc0a3fc:	38 80 00 00 	li      r4,0                                   
ffc0a400:	38 7c 00 1c 	addi    r3,r28,28                              
ffc0a404:	48 00 09 7d 	bl      ffc0ad80 <pthread_mutex_init>          
	pthread_cond_init (&r_chain->cond, NULL);                            
ffc0a408:	38 80 00 00 	li      r4,0                                   
ffc0a40c:	38 7c 00 20 	addi    r3,r28,32                              
ffc0a410:	48 00 03 d1 	bl      ffc0a7e0 <pthread_cond_init>           
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
ffc0a414:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a418:	38 61 00 08 	addi    r3,r1,8                                
ffc0a41c:	38 9f 00 08 	addi    r4,r31,8                               
ffc0a420:	38 a5 9e 00 	addi    r5,r5,-25088                           
ffc0a424:	7f 86 e3 78 	mr      r6,r28                                 
ffc0a428:	48 00 0d 85 	bl      ffc0b1ac <pthread_create>              
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
ffc0a42c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0a430:	40 82 00 88 	bne-    ffc0a4b8 <rtems_aio_enqueue+0x228>     <== NEVER TAKEN
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
	  return result;                                                     
	}                                                                    
	++aio_request_queue.active_threads;                                  
ffc0a434:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc0a438:	38 09 00 01 	addi    r0,r9,1                                
ffc0a43c:	90 1f 00 64 	stw     r0,100(r31)                            
ffc0a440:	4b ff ff 2c 	b       ffc0a36c <rtems_aio_enqueue+0xdc>      
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
ffc0a444:	81 3d 00 14 	lwz     r9,20(r29)                             
ffc0a448:	38 7b 00 0c 	addi    r3,r27,12                              
ffc0a44c:	38 a0 00 01 	li      r5,1                                   
ffc0a450:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0a454:	4b ff f8 0d 	bl      ffc09c60 <rtems_aio_search_fd>         
                                                                      
	if (r_chain->new_fd == 1) {                                          
ffc0a458:	80 03 00 18 	lwz     r0,24(r3)                              
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
ffc0a45c:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
	if (r_chain->new_fd == 1) {                                          
ffc0a460:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0a464:	41 9e 00 28 	beq-    cr7,ffc0a48c <rtems_aio_enqueue+0x1fc> 
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
	  pthread_cond_init (&r_chain->cond, NULL);                          
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
ffc0a468:	38 63 00 08 	addi    r3,r3,8                                
ffc0a46c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0a470:	4b ff fc 69 	bl      ffc0a0d8 <rtems_aio_insert_prio>       
	if (aio_request_queue.idle_threads > 0)                              
ffc0a474:	80 1f 00 68 	lwz     r0,104(r31)                            
ffc0a478:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a47c:	40 bd fe f0 	ble-    cr7,ffc0a36c <rtems_aio_enqueue+0xdc>  <== ALWAYS TAKEN
	  pthread_cond_signal (&aio_request_queue.new_req);                  
ffc0a480:	38 7f 00 04 	addi    r3,r31,4                               <== NOT EXECUTED
ffc0a484:	48 00 04 69 	bl      ffc0a8ec <pthread_cond_signal>         <== NOT EXECUTED
ffc0a488:	4b ff fe e4 	b       ffc0a36c <rtems_aio_enqueue+0xdc>      <== NOT EXECUTED
ffc0a48c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0a490:	38 63 00 08 	addi    r3,r3,8                                
ffc0a494:	48 00 2e 61 	bl      ffc0d2f4 <_Chain_Insert>               
	if (r_chain->new_fd == 1) {                                          
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
ffc0a498:	93 9b 00 18 	stw     r28,24(r27)                            
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
ffc0a49c:	38 7b 00 1c 	addi    r3,r27,28                              
ffc0a4a0:	38 80 00 00 	li      r4,0                                   
ffc0a4a4:	48 00 08 dd 	bl      ffc0ad80 <pthread_mutex_init>          
	  pthread_cond_init (&r_chain->cond, NULL);                          
ffc0a4a8:	38 7b 00 20 	addi    r3,r27,32                              
ffc0a4ac:	38 80 00 00 	li      r4,0                                   
ffc0a4b0:	48 00 03 31 	bl      ffc0a7e0 <pthread_cond_init>           
ffc0a4b4:	4b ff ff c0 	b       ffc0a474 <rtems_aio_enqueue+0x1e4>     
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
ffc0a4b8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0a4bc:	48 00 0b 21 	bl      ffc0afdc <pthread_mutex_unlock>        <== NOT EXECUTED
	  return result;                                                     
ffc0a4c0:	7f be eb 78 	mr      r30,r29                                <== NOT EXECUTED
ffc0a4c4:	4b ff fe b0 	b       ffc0a374 <rtems_aio_enqueue+0xe4>      <== NOT EXECUTED
                                                                      

ffc09e00 <rtems_aio_handle>: * NULL - if error */ static void * rtems_aio_handle (void *arg) {
ffc09e00:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc09e04:	7c 08 02 a6 	mflr    r0                                     
ffc09e08:	93 01 00 50 	stw     r24,80(r1)                             
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
ffc09e0c:	3f 00 00 00 	lis     r24,0                                  
ffc09e10:	3b 18 2c 50 	addi    r24,r24,11344                          
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e14:	90 01 00 74 	stw     r0,116(r1)                             
ffc09e18:	92 61 00 3c 	stw     r19,60(r1)                             
ffc09e1c:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc09e20:	92 81 00 40 	stw     r20,64(r1)                             
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
ffc09e24:	3a 98 00 04 	addi    r20,r24,4                              
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e28:	92 a1 00 44 	stw     r21,68(r1)                             
	    pthread_cond_destroy (&r_chain->cond);                           
	    free (r_chain);                                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
ffc09e2c:	3a b8 00 58 	addi    r21,r24,88                             
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e30:	92 c1 00 48 	stw     r22,72(r1)                             
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
ffc09e34:	3a c1 00 0c 	addi    r22,r1,12                              
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e38:	92 e1 00 4c 	stw     r23,76(r1)                             
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
ffc09e3c:	3a e0 ff ff 	li      r23,-1                                 
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e40:	93 21 00 54 	stw     r25,84(r1)                             
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
ffc09e44:	7f 19 c3 78 	mr      r25,r24                                
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e48:	93 41 00 58 	stw     r26,88(r1)                             
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
	req->aiocbp->error_code = errno;                                     
      } else {                                                        
        req->aiocbp->return_value = result;                           
        req->aiocbp->error_code = 0;                                  
ffc09e4c:	3b 40 00 00 	li      r26,0                                  
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e50:	93 61 00 5c 	stw     r27,92(r1)                             
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
ffc09e54:	3b 61 00 08 	addi    r27,r1,8                               
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e58:	93 81 00 60 	stw     r28,96(r1)                             
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
ffc09e5c:	3b 81 00 14 	addi    r28,r1,20                              
 *        NULL       - if error                                       
 */                                                                   
                                                                      
static void *                                                         
rtems_aio_handle (void *arg)                                          
{                                                                     
ffc09e60:	93 a1 00 64 	stw     r29,100(r1)                            
ffc09e64:	3b a3 00 1c 	addi    r29,r3,28                              
ffc09e68:	93 c1 00 68 	stw     r30,104(r1)                            
ffc09e6c:	7c 7e 1b 78 	mr      r30,r3                                 
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
ffc09e70:	7f a3 eb 78 	mr      r3,r29                                 
ffc09e74:	48 00 10 9d 	bl      ffc0af10 <pthread_mutex_lock>          
    if (result != 0)                                                  
ffc09e78:	7c 73 1b 79 	mr.     r19,r3                                 
ffc09e7c:	40 82 00 8c 	bne-    ffc09f08 <rtems_aio_handle+0x108>      <== NEVER TAKEN
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09e80:	83 fe 00 08 	lwz     r31,8(r30)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc09e84:	38 1e 00 0c 	addi    r0,r30,12                              
                                                                      
    /* If the locked chain is not empty, take the first               
       request extract it, unlock the chain and process               
       the request, in this way the user can supply more              
       requests to this fd chain */                                   
    if (!rtems_chain_is_empty (chain)) {                              
ffc09e88:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc09e8c:	41 9e 01 1c 	beq-    cr7,ffc09fa8 <rtems_aio_handle+0x1a8>  
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
ffc09e90:	48 00 1c 0d 	bl      ffc0ba9c <pthread_self>                
ffc09e94:	7f 64 db 78 	mr      r4,r27                                 
ffc09e98:	7f 85 e3 78 	mr      r5,r28                                 
ffc09e9c:	48 00 16 1d 	bl      ffc0b4b8 <pthread_getschedparam>       
      param.sched_priority = req->priority;                           
ffc09ea0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc09ea4:	90 01 00 14 	stw     r0,20(r1)                              
      pthread_setschedparam (pthread_self(), req->policy, ¶m);    
ffc09ea8:	48 00 1b f5 	bl      ffc0ba9c <pthread_self>                
ffc09eac:	7f 85 e3 78 	mr      r5,r28                                 
ffc09eb0:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc09eb4:	48 00 1b f9 	bl      ffc0baac <pthread_setschedparam>       
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc09eb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ebc:	48 00 33 cd 	bl      ffc0d288 <_Chain_Extract>              
                                                                      
      rtems_chain_extract (node);                                     
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
ffc09ec0:	7f a3 eb 78 	mr      r3,r29                                 
ffc09ec4:	48 00 11 19 	bl      ffc0afdc <pthread_mutex_unlock>        
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
ffc09ec8:	82 7f 00 14 	lwz     r19,20(r31)                            
ffc09ecc:	80 13 00 30 	lwz     r0,48(r19)                             
ffc09ed0:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc09ed4:	41 9e 00 b8 	beq-    cr7,ffc09f8c <rtems_aio_handle+0x18c>  
ffc09ed8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc09edc:	41 9e 00 a4 	beq-    cr7,ffc09f80 <rtems_aio_handle+0x180>  <== NEVER TAKEN
ffc09ee0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc09ee4:	41 9e 00 6c 	beq-    cr7,ffc09f50 <rtems_aio_handle+0x150>  <== ALWAYS TAKEN
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
ffc09ee8:	92 f3 00 38 	stw     r23,56(r19)                            <== NOT EXECUTED
	req->aiocbp->error_code = errno;                                     
ffc09eec:	48 00 cd b1 	bl      ffc16c9c <__errno>                     <== NOT EXECUTED
ffc09ef0:	80 03 00 00 	lwz     r0,0(r3)                               <== NOT EXECUTED
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
ffc09ef4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
	req->aiocbp->error_code = errno;                                     
ffc09ef8:	90 13 00 34 	stw     r0,52(r19)                             <== NOT EXECUTED
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
ffc09efc:	48 00 10 15 	bl      ffc0af10 <pthread_mutex_lock>          <== NOT EXECUTED
    if (result != 0)                                                  
ffc09f00:	7c 73 1b 79 	mr.     r19,r3                                 <== NOT EXECUTED
ffc09f04:	41 82 ff 7c 	beq+    ffc09e80 <rtems_aio_handle+0x80>       <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09f08:	80 01 00 74 	lwz     r0,116(r1)                             
ffc09f0c:	38 60 00 00 	li      r3,0                                   
ffc09f10:	82 61 00 3c 	lwz     r19,60(r1)                             
ffc09f14:	7c 08 03 a6 	mtlr    r0                                     
ffc09f18:	82 81 00 40 	lwz     r20,64(r1)                             
ffc09f1c:	82 a1 00 44 	lwz     r21,68(r1)                             
ffc09f20:	82 c1 00 48 	lwz     r22,72(r1)                             
ffc09f24:	82 e1 00 4c 	lwz     r23,76(r1)                             
ffc09f28:	83 01 00 50 	lwz     r24,80(r1)                             
ffc09f2c:	83 21 00 54 	lwz     r25,84(r1)                             
ffc09f30:	83 41 00 58 	lwz     r26,88(r1)                             
ffc09f34:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc09f38:	83 81 00 60 	lwz     r28,96(r1)                             
ffc09f3c:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc09f40:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc09f44:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc09f48:	38 21 00 70 	addi    r1,r1,112                              
ffc09f4c:	4e 80 00 20 	blr                                            
      pthread_mutex_unlock (&r_chain->mutex);                         
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
      case LIO_READ:                                                  
	AIO_printf ("read\n");                                               
        result = pread (req->aiocbp->aio_fildes,                      
ffc09f50:	80 73 00 00 	lwz     r3,0(r19)                              
ffc09f54:	80 93 00 10 	lwz     r4,16(r19)                             
ffc09f58:	80 b3 00 14 	lwz     r5,20(r19)                             
ffc09f5c:	80 f3 00 08 	lwz     r7,8(r19)                              
ffc09f60:	81 13 00 0c 	lwz     r8,12(r19)                             
ffc09f64:	48 00 dc 9d 	bl      ffc17c00 <pread>                       
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
ffc09f68:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc09f6c:	41 9e 01 4c 	beq-    cr7,ffc0a0b8 <rtems_aio_handle+0x2b8>  <== NEVER TAKEN
        req->aiocbp->return_value = -1;                               
	req->aiocbp->error_code = errno;                                     
      } else {                                                        
        req->aiocbp->return_value = result;                           
ffc09f70:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc09f74:	90 69 00 38 	stw     r3,56(r9)                              
        req->aiocbp->error_code = 0;                                  
ffc09f78:	93 49 00 34 	stw     r26,52(r9)                             
ffc09f7c:	4b ff fe f4 	b       ffc09e70 <rtems_aio_handle+0x70>       
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_SYNC:                                                  
	AIO_printf ("sync\n");                                               
      	result = fsync (req->aiocbp->aio_fildes);                      
ffc09f80:	80 73 00 00 	lwz     r3,0(r19)                              <== NOT EXECUTED
ffc09f84:	48 00 8a a1 	bl      ffc12a24 <fsync>                       <== NOT EXECUTED
      	break;                                                         
ffc09f88:	4b ff ff e0 	b       ffc09f68 <rtems_aio_handle+0x168>      <== NOT EXECUTED
                        req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_WRITE:                                                 
	AIO_printf ("write\n");                                              
        result = pwrite (req->aiocbp->aio_fildes,                     
ffc09f8c:	80 73 00 00 	lwz     r3,0(r19)                              
ffc09f90:	80 93 00 10 	lwz     r4,16(r19)                             
ffc09f94:	80 b3 00 14 	lwz     r5,20(r19)                             
ffc09f98:	80 f3 00 08 	lwz     r7,8(r19)                              
ffc09f9c:	81 13 00 0c 	lwz     r8,12(r19)                             
ffc09fa0:	48 00 dd 99 	bl      ffc17d38 <pwrite>                      
                         (void *) req->aiocbp->aio_buf,               
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
ffc09fa4:	4b ff ff c4 	b       ffc09f68 <rtems_aio_handle+0x168>      
                                                                      
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
ffc09fa8:	7f a3 eb 78 	mr      r3,r29                                 
ffc09fac:	48 00 10 31 	bl      ffc0afdc <pthread_mutex_unlock>        
      pthread_mutex_lock (&aio_request_queue.mutex);                  
ffc09fb0:	7f 23 cb 78 	mr      r3,r25                                 
ffc09fb4:	48 00 0f 5d 	bl      ffc0af10 <pthread_mutex_lock>          
                                                                      
      if (rtems_chain_is_empty (chain))                               
ffc09fb8:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc09fbc:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc09fc0:	41 9e 00 10 	beq-    cr7,ffc09fd0 <rtems_aio_handle+0x1d0>  <== ALWAYS TAKEN
	                                                                     
	  }                                                                  
	}                                                                    
      /* If there was a request added in the initial fd chain then release
	 the mutex and process it */                                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
ffc09fc4:	7f 23 cb 78 	mr      r3,r25                                 
ffc09fc8:	48 00 10 15 	bl      ffc0afdc <pthread_mutex_unlock>        
ffc09fcc:	4b ff fe a4 	b       ffc09e70 <rtems_aio_handle+0x70>       
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
ffc09fd0:	7e c4 b3 78 	mr      r4,r22                                 
ffc09fd4:	38 60 00 01 	li      r3,1                                   
ffc09fd8:	48 00 06 59 	bl      ffc0a630 <clock_gettime>               
	  timeout.tv_sec += 3;                                               
ffc09fdc:	81 21 00 0c 	lwz     r9,12(r1)                              
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
ffc09fe0:	3b fe 00 20 	addi    r31,r30,32                             
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
ffc09fe4:	92 61 00 10 	stw     r19,16(r1)                             
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
ffc09fe8:	38 09 00 03 	addi    r0,r9,3                                
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
ffc09fec:	7f e3 fb 78 	mr      r3,r31                                 
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
ffc09ff0:	90 01 00 0c 	stw     r0,12(r1)                              
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
ffc09ff4:	7f 24 cb 78 	mr      r4,r25                                 
ffc09ff8:	7e c5 b3 78 	mr      r5,r22                                 
ffc09ffc:	48 00 09 cd 	bl      ffc0a9c8 <pthread_cond_timedwait>      
					   &aio_request_queue.mutex,                                     
					   &timeout);                                                    
                                                                      
	  /* If no requests were added to the chain we delete the fd chain from
	     the queue and start working with idle fd chains */              
	  if (result == ETIMEDOUT) {                                         
ffc0a000:	2f 83 00 74 	cmpwi   cr7,r3,116                             
ffc0a004:	40 9e ff c0 	bne+    cr7,ffc09fc4 <rtems_aio_handle+0x1c4>  <== NEVER TAKEN
ffc0a008:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a00c:	48 00 32 7d 	bl      ffc0d288 <_Chain_Extract>              
	    rtems_chain_extract (&r_chain->next_fd);                         
	    pthread_mutex_destroy (&r_chain->mutex);                         
ffc0a010:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a014:	48 00 0b a9 	bl      ffc0abbc <pthread_mutex_destroy>       
	    pthread_cond_destroy (&r_chain->cond);                           
ffc0a018:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a01c:	48 00 06 b5 	bl      ffc0a6d0 <pthread_cond_destroy>        
	    free (r_chain);                                                  
ffc0a020:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a024:	4b ff b9 2d 	bl      ffc05950 <free>                        
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a028:	83 d9 00 54 	lwz     r30,84(r25)                            
	    pthread_cond_destroy (&r_chain->cond);                           
	    free (r_chain);                                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
ffc0a02c:	7f 9e a8 00 	cmpw    cr7,r30,r21                            
ffc0a030:	41 9e 00 34 	beq-    cr7,ffc0a064 <rtems_aio_handle+0x264>  
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
	    ++aio_request_queue.active_threads;                              
ffc0a034:	81 78 00 64 	lwz     r11,100(r24)                           
ffc0a038:	7f c3 f3 78 	mr      r3,r30                                 
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
ffc0a03c:	81 38 00 68 	lwz     r9,104(r24)                            
ffc0a040:	3b be 00 1c 	addi    r29,r30,28                             
	    ++aio_request_queue.active_threads;                              
ffc0a044:	38 0b 00 01 	addi    r0,r11,1                               
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
ffc0a048:	39 29 ff ff 	addi    r9,r9,-1                               
	    ++aio_request_queue.active_threads;                              
ffc0a04c:	90 18 00 64 	stw     r0,100(r24)                            
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
ffc0a050:	91 38 00 68 	stw     r9,104(r24)                            
ffc0a054:	48 00 32 35 	bl      ffc0d288 <_Chain_Extract>              
                                                                      
	    node = rtems_chain_first (&aio_request_queue.idle_req);          
	    rtems_chain_extract (node);                                      
                                                                      
	    r_chain = (rtems_aio_request_chain *) node;                      
	    rtems_aio_move_to_work (r_chain);                                
ffc0a058:	7f c3 f3 78 	mr      r3,r30                                 
ffc0a05c:	4b ff fd 15 	bl      ffc09d70 <rtems_aio_move_to_work>      
ffc0a060:	4b ff ff 64 	b       ffc09fc4 <rtems_aio_handle+0x1c4>      
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
ffc0a064:	81 39 00 68 	lwz     r9,104(r25)                            
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
ffc0a068:	7e c4 b3 78 	mr      r4,r22                                 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
ffc0a06c:	80 19 00 64 	lwz     r0,100(r25)                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
ffc0a070:	38 60 00 01 	li      r3,1                                   
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
ffc0a074:	39 29 00 01 	addi    r9,r9,1                                
	      --aio_request_queue.active_threads;                            
ffc0a078:	30 00 ff ff 	addic   r0,r0,-1                               
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
ffc0a07c:	91 39 00 68 	stw     r9,104(r25)                            
	      --aio_request_queue.active_threads;                            
ffc0a080:	90 19 00 64 	stw     r0,100(r25)                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
ffc0a084:	48 00 05 ad 	bl      ffc0a630 <clock_gettime>               
	      timeout.tv_sec += 3;                                           
ffc0a088:	80 01 00 0c 	lwz     r0,12(r1)                              
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
ffc0a08c:	7e 83 a3 78 	mr      r3,r20                                 
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
	      timeout.tv_nsec = 0;                                           
ffc0a090:	92 61 00 10 	stw     r19,16(r1)                             
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
ffc0a094:	30 00 00 03 	addic   r0,r0,3                                
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
ffc0a098:	7f 24 cb 78 	mr      r4,r25                                 
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
ffc0a09c:	90 01 00 0c 	stw     r0,12(r1)                              
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
ffc0a0a0:	7e c5 b3 78 	mr      r5,r22                                 
ffc0a0a4:	48 00 09 25 	bl      ffc0a9c8 <pthread_cond_timedwait>      
					       &aio_request_queue.mutex,                                 
					       &timeout);                                                
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
ffc0a0a8:	2f 83 00 74 	cmpwi   cr7,r3,116                             
ffc0a0ac:	41 9e 00 14 	beq-    cr7,ffc0a0c0 <rtems_aio_handle+0x2c0>  <== ALWAYS TAKEN
ffc0a0b0:	83 d9 00 54 	lwz     r30,84(r25)                            <== NOT EXECUTED
ffc0a0b4:	4b ff ff 80 	b       ffc0a034 <rtems_aio_handle+0x234>      <== NOT EXECUTED
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
ffc0a0b8:	82 7f 00 14 	lwz     r19,20(r31)                            <== NOT EXECUTED
ffc0a0bc:	4b ff fe 2c 	b       ffc09ee8 <rtems_aio_handle+0xe8>       <== NOT EXECUTED
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
ffc0a0c0:	80 19 00 68 	lwz     r0,104(r25)                            
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
ffc0a0c4:	7f 23 cb 78 	mr      r3,r25                                 
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
ffc0a0c8:	30 00 ff ff 	addic   r0,r0,-1                               
ffc0a0cc:	90 19 00 68 	stw     r0,104(r25)                            
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
ffc0a0d0:	48 00 0f 0d 	bl      ffc0afdc <pthread_mutex_unlock>        
		return NULL;                                                        
ffc0a0d4:	4b ff fe 34 	b       ffc09f08 <rtems_aio_handle+0x108>      
                                                                      

ffc09b14 <rtems_aio_init>: * 0 - if initialization succeeded */ int rtems_aio_init (void) {
ffc09b14:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09b18:	7c 08 02 a6 	mflr    r0                                     
ffc09b1c:	93 c1 00 10 	stw     r30,16(r1)                             
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
ffc09b20:	3f c0 00 00 	lis     r30,0                                  
ffc09b24:	3b de 2c 58 	addi    r30,r30,11352                          
ffc09b28:	7f c3 f3 78 	mr      r3,r30                                 
 *        0    -    if initialization succeeded                       
 */                                                                   
                                                                      
int                                                                   
rtems_aio_init (void)                                                 
{                                                                     
ffc09b2c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09b30:	90 01 00 1c 	stw     r0,28(r1)                              
ffc09b34:	93 e1 00 14 	stw     r31,20(r1)                             
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
ffc09b38:	48 00 16 09 	bl      ffc0b140 <pthread_attr_init>           
  if (result != 0)                                                    
ffc09b3c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc09b40:	41 82 00 24 	beq-    ffc09b64 <rtems_aio_init+0x50>         <== ALWAYS TAKEN
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
                                                                      
  return result;                                                      
}                                                                     
ffc09b44:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc09b48:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc09b4c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc09b50:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc09b54:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc09b58:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc09b5c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc09b60:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
  if (result != 0)                                                    
    return result;                                                    
                                                                      
  result =                                                            
ffc09b64:	7f c3 f3 78 	mr      r3,r30                                 
ffc09b68:	38 80 00 00 	li      r4,0                                   
ffc09b6c:	48 00 16 15 	bl      ffc0b180 <pthread_attr_setdetachstate> 
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
ffc09b70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09b74:	40 9e 00 94 	bne-    cr7,ffc09c08 <rtems_aio_init+0xf4>     <== NEVER TAKEN
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
ffc09b78:	3f e0 00 00 	lis     r31,0                                  
ffc09b7c:	3b ff 2c 50 	addi    r31,r31,11344                          
ffc09b80:	7f e3 fb 78 	mr      r3,r31                                 
ffc09b84:	38 80 00 00 	li      r4,0                                   
ffc09b88:	48 00 11 f9 	bl      ffc0ad80 <pthread_mutex_init>          
  if (result != 0)                                                    
ffc09b8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09b90:	40 9e 00 9c 	bne-    cr7,ffc09c2c <rtems_aio_init+0x118>    <== NEVER TAKEN
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
ffc09b94:	3c 60 00 00 	lis     r3,0                                   
ffc09b98:	38 63 2c 54 	addi    r3,r3,11348                            
ffc09b9c:	38 80 00 00 	li      r4,0                                   
ffc09ba0:	48 00 0c 41 	bl      ffc0a7e0 <pthread_cond_init>           
  if (result != 0) {                                                  
ffc09ba4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc09ba8:	40 82 00 a4 	bne-    ffc09c4c <rtems_aio_init+0x138>        <== NEVER TAKEN
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc09bac:	38 00 00 00 	li      r0,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc09bb0:	39 1f 00 4c 	addi    r8,r31,76                              
  head->previous = NULL;                                              
ffc09bb4:	90 1f 00 4c 	stw     r0,76(r31)                             
  tail->previous = head;                                              
ffc09bb8:	39 5f 00 48 	addi    r10,r31,72                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc09bbc:	39 7f 00 58 	addi    r11,r31,88                             
  head->previous = NULL;                                              
ffc09bc0:	90 1f 00 58 	stw     r0,88(r31)                             
  tail->previous = head;                                              
ffc09bc4:	39 3f 00 54 	addi    r9,r31,84                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc09bc8:	91 1f 00 48 	stw     r8,72(r31)                             
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
                                                                      
  return result;                                                      
}                                                                     
ffc09bcc:	7f a3 eb 78 	mr      r3,r29                                 
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc09bd0:	91 5f 00 50 	stw     r10,80(r31)                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc09bd4:	91 7f 00 54 	stw     r11,84(r31)                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc09bd8:	91 3f 00 5c 	stw     r9,92(r31)                             
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
ffc09bdc:	90 1f 00 64 	stw     r0,100(r31)                            
  aio_request_queue.idle_threads = 0;                                 
ffc09be0:	90 1f 00 68 	stw     r0,104(r31)                            
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
ffc09be4:	60 00 b0 0b 	ori     r0,r0,45067                            
ffc09be8:	90 1f 00 60 	stw     r0,96(r31)                             
                                                                      
  return result;                                                      
}                                                                     
ffc09bec:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09bf0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09bf4:	7c 08 03 a6 	mtlr    r0                                     
ffc09bf8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09bfc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09c00:	38 21 00 18 	addi    r1,r1,24                               
ffc09c04:	4e 80 00 20 	blr                                            
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
ffc09c08:	3f e0 00 00 	lis     r31,0                                  
                                                                      
  result =                                                            
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
ffc09c0c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
ffc09c10:	3b ff 2c 50 	addi    r31,r31,11344                          <== NOT EXECUTED
                                                                      
  result =                                                            
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
ffc09c14:	48 00 15 05 	bl      ffc0b118 <pthread_attr_destroy>        <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
ffc09c18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc09c1c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc09c20:	48 00 11 61 	bl      ffc0ad80 <pthread_mutex_init>          <== NOT EXECUTED
  if (result != 0)                                                    
ffc09c24:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc09c28:	41 9e ff 6c 	beq+    cr7,ffc09b94 <rtems_aio_init+0x80>     <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
ffc09c2c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc09c30:	48 00 14 e9 	bl      ffc0b118 <pthread_attr_destroy>        <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
ffc09c34:	3c 60 00 00 	lis     r3,0                                   <== NOT EXECUTED
ffc09c38:	38 63 2c 54 	addi    r3,r3,11348                            <== NOT EXECUTED
ffc09c3c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc09c40:	48 00 0b a1 	bl      ffc0a7e0 <pthread_cond_init>           <== NOT EXECUTED
  if (result != 0) {                                                  
ffc09c44:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc09c48:	41 82 ff 64 	beq+    ffc09bac <rtems_aio_init+0x98>         <== NOT EXECUTED
    pthread_mutex_destroy (&aio_request_queue.mutex);                 
ffc09c4c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc09c50:	48 00 0f 6d 	bl      ffc0abbc <pthread_mutex_destroy>       <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
ffc09c54:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc09c58:	48 00 14 c1 	bl      ffc0b118 <pthread_attr_destroy>        <== NOT EXECUTED
ffc09c5c:	4b ff ff 50 	b       ffc09bac <rtems_aio_init+0x98>         <== NOT EXECUTED
                                                                      

ffc0a0d8 <rtems_aio_insert_prio>: * NONE */ void rtems_aio_insert_prio (rtems_chain_control *chain, rtems_aio_request *req) {
ffc0a0d8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0a0dc:	7c 08 02 a6 	mflr    r0                                     
ffc0a0e0:	7c 8b 23 78 	mr      r11,r4                                 
ffc0a0e4:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0a0e8:	38 03 00 04 	addi    r0,r3,4                                
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a0ec:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_chain_node *node;                                             
                                                                      
  AIO_printf ("FD exists \n");                                        
  node = rtems_chain_first (chain);                                   
                                                                      
  if (rtems_chain_is_empty (chain)) {                                 
ffc0a0f0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a0f4:	41 9e 00 4c 	beq-    cr7,ffc0a140 <rtems_aio_insert_prio+0x68><== NEVER TAKEN
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
ffc0a0f8:	81 04 00 14 	lwz     r8,20(r4)                              
  if (rtems_chain_is_empty (chain)) {                                 
    AIO_printf ("First in chain \n");                                 
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
ffc0a0fc:	81 49 00 14 	lwz     r10,20(r9)                             
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
ffc0a100:	80 e8 00 18 	lwz     r7,24(r8)                              
ffc0a104:	81 0a 00 18 	lwz     r8,24(r10)                             
ffc0a108:	7d 2a 4b 78 	mr      r10,r9                                 
ffc0a10c:	7f 88 38 00 	cmpw    cr7,r8,r7                              
ffc0a110:	41 bc 00 0c 	blt+    cr7,ffc0a11c <rtems_aio_insert_prio+0x44><== NEVER TAKEN
ffc0a114:	48 00 00 24 	b       ffc0a138 <rtems_aio_insert_prio+0x60>  
ffc0a118:	41 9a 00 3c 	beq-    cr6,ffc0a154 <rtems_aio_insert_prio+0x7c>
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a11c:	81 49 00 00 	lwz     r10,0(r9)                              <== NOT EXECUTED
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
           !rtems_chain_is_tail (chain, node)) {                      
      node = rtems_chain_next (node);                                 
      prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;       
ffc0a120:	81 2a 00 14 	lwz     r9,20(r10)                             <== NOT EXECUTED
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
ffc0a124:	7f 0a 00 00 	cmpw    cr6,r10,r0                             <== NOT EXECUTED
ffc0a128:	81 09 00 18 	lwz     r8,24(r9)                              <== NOT EXECUTED
ffc0a12c:	7d 49 53 78 	mr      r9,r10                                 <== NOT EXECUTED
ffc0a130:	7f 88 38 00 	cmpw    cr7,r8,r7                              <== NOT EXECUTED
ffc0a134:	41 9c ff e4 	blt+    cr7,ffc0a118 <rtems_aio_insert_prio+0x40><== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_insert(                         
  rtems_chain_node *after_node,                                       
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Insert( after_node, the_node );                              
ffc0a138:	80 6a 00 04 	lwz     r3,4(r10)                              
ffc0a13c:	7d 64 5b 78 	mr      r4,r11                                 
ffc0a140:	48 00 31 b5 	bl      ffc0d2f4 <_Chain_Insert>               
    }                                                                 
                                                                      
    rtems_chain_insert (node->previous, &req->next_prio);             
                                                                      
  }                                                                   
}                                                                     
ffc0a144:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0a148:	38 21 00 08 	addi    r1,r1,8                                
ffc0a14c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a150:	4e 80 00 20 	blr                                            
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a154:	7c 0a 03 78 	mr      r10,r0                                 <== NOT EXECUTED
ffc0a158:	4b ff ff e0 	b       ffc0a138 <rtems_aio_insert_prio+0x60>  <== NOT EXECUTED
                                                                      

ffc09d70 <rtems_aio_move_to_work>: * NONE */ void rtems_aio_move_to_work (rtems_aio_request_chain *r_chain) {
ffc09d70:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc09d74:	7c 08 02 a6 	mflr    r0                                     
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09d78:	3d 60 00 00 	lis     r11,0                                  
 *        NONE                                                        
 */                                                                   
                                                                      
void                                                                  
rtems_aio_move_to_work (rtems_aio_request_chain *r_chain)             
{                                                                     
ffc09d7c:	90 01 00 0c 	stw     r0,12(r1)                              
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09d80:	39 6b 2c 50 	addi    r11,r11,11344                          
 *        NONE                                                        
 */                                                                   
                                                                      
void                                                                  
rtems_aio_move_to_work (rtems_aio_request_chain *r_chain)             
{                                                                     
ffc09d84:	7c 64 1b 78 	mr      r4,r3                                  
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09d88:	81 2b 00 48 	lwz     r9,72(r11)                             
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
ffc09d8c:	81 03 00 14 	lwz     r8,20(r3)                              
ffc09d90:	80 09 00 14 	lwz     r0,20(r9)                              
ffc09d94:	7d 2a 4b 78 	mr      r10,r9                                 
ffc09d98:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc09d9c:	40 9c 00 30 	bge-    cr7,ffc09dcc <rtems_aio_move_to_work+0x5c><== NEVER TAKEN
ffc09da0:	39 6b 00 4c 	addi    r11,r11,76                             
ffc09da4:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc09da8:	40 be 00 0c 	bne+    cr7,ffc09db4 <rtems_aio_move_to_work+0x44><== ALWAYS TAKEN
ffc09dac:	48 00 00 20 	b       ffc09dcc <rtems_aio_move_to_work+0x5c> <== NOT EXECUTED
ffc09db0:	41 9a 00 34 	beq-    cr6,ffc09de4 <rtems_aio_move_to_work+0x74><== NEVER TAKEN
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc09db4:	81 49 00 00 	lwz     r10,0(r9)                              
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
ffc09db8:	80 0a 00 14 	lwz     r0,20(r10)                             
ffc09dbc:	7f 0a 58 00 	cmpw    cr6,r10,r11                            
ffc09dc0:	7d 49 53 78 	mr      r9,r10                                 
ffc09dc4:	7f 80 40 00 	cmpw    cr7,r0,r8                              
ffc09dc8:	41 9c ff e8 	blt+    cr7,ffc09db0 <rtems_aio_move_to_work+0x40>
ffc09dcc:	80 6a 00 04 	lwz     r3,4(r10)                              
ffc09dd0:	48 00 35 25 	bl      ffc0d2f4 <_Chain_Insert>               
    node = rtems_chain_next (node);                                   
    temp = (rtems_aio_request_chain *) node;                          
  }                                                                   
                                                                      
  rtems_chain_insert (rtems_chain_previous (node), &r_chain->next_fd);
}                                                                     
ffc09dd4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc09dd8:	38 21 00 08 	addi    r1,r1,8                                
ffc09ddc:	7c 08 03 a6 	mtlr    r0                                     
ffc09de0:	4e 80 00 20 	blr                                            
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
ffc09de4:	7d 6a 5b 78 	mr      r10,r11                                <== NOT EXECUTED
ffc09de8:	80 6a 00 04 	lwz     r3,4(r10)                              <== NOT EXECUTED
ffc09dec:	48 00 35 09 	bl      ffc0d2f4 <_Chain_Insert>               <== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    temp = (rtems_aio_request_chain *) node;                          
  }                                                                   
                                                                      
  rtems_chain_insert (rtems_chain_previous (node), &r_chain->next_fd);
}                                                                     
ffc09df0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc09df4:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc09df8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc09dfc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0a15c <rtems_aio_remove_fd>: * Output parameters: * NONE */ void rtems_aio_remove_fd (rtems_aio_request_chain *r_chain) {
ffc0a15c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a160:	7c 08 02 a6 	mflr    r0                                     
ffc0a164:	93 a1 00 14 	stw     r29,20(r1)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0a168:	3b a3 00 0c 	addi    r29,r3,12                              
ffc0a16c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0a170:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0a174:	93 81 00 10 	stw     r28,16(r1)                             
ffc0a178:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0a17c:	93 e1 00 1c 	stw     r31,28(r1)                             
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a180:	83 e3 00 08 	lwz     r31,8(r3)                              
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
ffc0a184:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0a188:	41 9e 00 38 	beq-    cr7,ffc0a1c0 <rtems_aio_remove_fd+0x64><== NEVER TAKEN
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
ffc0a18c:	3b 60 00 8c 	li      r27,140                                
      req->aiocbp->return_value = -1;                                 
ffc0a190:	3b 80 ff ff 	li      r28,-1                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0a194:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a198:	48 00 30 f1 	bl      ffc0d288 <_Chain_Extract>              
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
ffc0a19c:	81 3f 00 14 	lwz     r9,20(r31)                             
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a1a0:	83 df 00 00 	lwz     r30,0(r31)                             
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
      req->aiocbp->return_value = -1;                                 
      free (req);                                                     
ffc0a1a4:	7f e3 fb 78 	mr      r3,r31                                 
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
ffc0a1a8:	93 69 00 34 	stw     r27,52(r9)                             
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
ffc0a1ac:	7f df f3 78 	mr      r31,r30                                
      req->aiocbp->error_code = ECANCELED;                            
      req->aiocbp->return_value = -1;                                 
ffc0a1b0:	93 89 00 38 	stw     r28,56(r9)                             
      free (req);                                                     
ffc0a1b4:	4b ff b7 9d 	bl      ffc05950 <free>                        
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
ffc0a1b8:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc0a1bc:	40 9e ff d8 	bne+    cr7,ffc0a194 <rtems_aio_remove_fd+0x38>
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
      req->aiocbp->return_value = -1;                                 
      free (req);                                                     
    }                                                                 
}                                                                     
ffc0a1c0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a1c4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0a1c8:	7c 08 03 a6 	mtlr    r0                                     
ffc0a1cc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0a1d0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0a1d4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a1d8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a1dc:	38 21 00 20 	addi    r1,r1,32                               
ffc0a1e0:	4e 80 00 20 	blr                                            
                                                                      

ffc0a1e4 <rtems_aio_remove_req>: * AIO_NOTCANCELED - if request was not canceled * AIO_CANCELED - if request was canceled */ int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp) {
ffc0a1e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a1e8:	7c 08 02 a6 	mflr    r0                                     
ffc0a1ec:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a1f0:	90 01 00 14 	stw     r0,20(r1)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0a1f4:	38 03 00 04 	addi    r0,r3,4                                
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a1f8:	81 23 00 00 	lwz     r9,0(r3)                               
 */                                                                   
                                                                      
int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp)
{                                                                     
  if (rtems_chain_is_empty (chain))                                   
    return AIO_ALLDONE;                                               
ffc0a1fc:	38 60 00 02 	li      r3,2                                   
 *         AIO_CANCELED      - if request was canceled                
 */                                                                   
                                                                      
int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp)
{                                                                     
  if (rtems_chain_is_empty (chain))                                   
ffc0a200:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a204:	41 9e 00 3c 	beq-    cr7,ffc0a240 <rtems_aio_remove_req+0x5c>
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
ffc0a208:	81 69 00 14 	lwz     r11,20(r9)                             
    return AIO_ALLDONE;                                               
                                                                      
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
ffc0a20c:	7d 3f 4b 78 	mr      r31,r9                                 
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
ffc0a210:	7f 8b 20 00 	cmpw    cr7,r11,r4                             
ffc0a214:	40 be 00 14 	bne+    cr7,ffc0a228 <rtems_aio_remove_req+0x44><== NEVER TAKEN
ffc0a218:	48 00 00 3c 	b       ffc0a254 <rtems_aio_remove_req+0x70>   
ffc0a21c:	81 6b 00 14 	lwz     r11,20(r11)                            <== NOT EXECUTED
ffc0a220:	7f 8b 20 00 	cmpw    cr7,r11,r4                             <== NOT EXECUTED
ffc0a224:	41 9e 00 30 	beq-    cr7,ffc0a254 <rtems_aio_remove_req+0x70><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
ffc0a228:	81 69 00 00 	lwz     r11,0(r9)                              <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
ffc0a22c:	7f 8b 00 00 	cmpw    cr7,r11,r0                             <== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
ffc0a230:	7d 7f 5b 78 	mr      r31,r11                                <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
ffc0a234:	7d 69 5b 78 	mr      r9,r11                                 <== NOT EXECUTED
ffc0a238:	40 9e ff e4 	bne+    cr7,ffc0a21c <rtems_aio_remove_req+0x38><== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
  }                                                                   
                                                                      
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
ffc0a23c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
ffc0a240:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a244:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a248:	38 21 00 10 	addi    r1,r1,16                               
ffc0a24c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a250:	4e 80 00 20 	blr                                            
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
ffc0a254:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a258:	48 00 30 31 	bl      ffc0d288 <_Chain_Extract>              
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
ffc0a25c:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0a260:	38 00 00 8c 	li      r0,140                                 
ffc0a264:	90 09 00 34 	stw     r0,52(r9)                              
      current->aiocbp->return_value = -1;                             
ffc0a268:	38 00 ff ff 	li      r0,-1                                  
      free (current);                                                 
ffc0a26c:	7f e3 fb 78 	mr      r3,r31                                 
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
      current->aiocbp->return_value = -1;                             
ffc0a270:	90 09 00 38 	stw     r0,56(r9)                              
      free (current);                                                 
ffc0a274:	4b ff b6 dd 	bl      ffc05950 <free>                        
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
ffc0a278:	80 01 00 14 	lwz     r0,20(r1)                              
      current->aiocbp->error_code = ECANCELED;                        
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
ffc0a27c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0a280:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a284:	7c 08 03 a6 	mtlr    r0                                     
ffc0a288:	38 21 00 10 	addi    r1,r1,16                               
ffc0a28c:	4e 80 00 20 	blr                                            
                                                                      

ffc1275c <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc1275c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc12760:	7c 08 02 a6 	mflr    r0                                     
ffc12764:	90 01 00 24 	stw     r0,36(r1)                              
ffc12768:	38 00 00 20 	li      r0,32                                  
ffc1276c:	93 81 00 10 	stw     r28,16(r1)                             
ffc12770:	7c 7c 1b 78 	mr      r28,r3                                 
ffc12774:	93 a1 00 14 	stw     r29,20(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
ffc12778:	3b a0 00 00 	li      r29,0                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc1277c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc12780:	7c 9e 23 78 	mr      r30,r4                                 
ffc12784:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc12788:	3b e0 00 01 	li      r31,1                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc1278c:	90 01 00 08 	stw     r0,8(r1)                               
ffc12790:	48 00 00 18 	b       ffc127a8 <rtems_assoc_local_by_remote_bitfield+0x4c>
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc12794:	80 01 00 08 	lwz     r0,8(r1)                               
ffc12798:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc1279c:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc127a0:	91 21 00 08 	stw     r9,8(r1)                               
ffc127a4:	41 82 00 30 	beq-    ffc127d4 <rtems_assoc_local_by_remote_bitfield+0x78>
    if (b & remote_value)                                             
ffc127a8:	7f e9 f0 39 	and.    r9,r31,r30                             
ffc127ac:	41 82 ff e8 	beq+    ffc12794 <rtems_assoc_local_by_remote_bitfield+0x38>
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc127b0:	7f e4 fb 78 	mr      r4,r31                                 
ffc127b4:	7f 83 e3 78 	mr      r3,r28                                 
ffc127b8:	48 00 00 41 	bl      ffc127f8 <rtems_assoc_local_by_remote> 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc127bc:	80 01 00 08 	lwz     r0,8(r1)                               
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc127c0:	7f bd 1b 78 	or      r29,r29,r3                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc127c4:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc127c8:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc127cc:	91 21 00 08 	stw     r9,8(r1)                               
ffc127d0:	40 82 ff d8 	bne+    ffc127a8 <rtems_assoc_local_by_remote_bitfield+0x4c><== ALWAYS TAKEN
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
ffc127d4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc127d8:	7f a3 eb 78 	mr      r3,r29                                 
ffc127dc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc127e0:	7c 08 03 a6 	mtlr    r0                                     
ffc127e4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc127e8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc127ec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc127f0:	38 21 00 20 	addi    r1,r1,32                               
ffc127f4:	4e 80 00 20 	blr                                            
                                                                      

ffc15b48 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
ffc15b48:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc15b4c:	7c 08 02 a6 	mflr    r0                                     
ffc15b50:	90 01 00 14 	stw     r0,20(r1)                              
ffc15b54:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc15b58:	7c 7f 1b 78 	mr      r31,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc15b5c:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
ffc15b60:	93 c1 00 08 	stw     r30,8(r1)                              
ffc15b64:	7c 9e 23 78 	mr      r30,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc15b68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15b6c:	41 9e 00 94 	beq-    cr7,ffc15c00 <rtems_assoc_ptr_by_local+0xb8>
ffc15b70:	3c 80 ff c3 	lis     r4,-61                                 
ffc15b74:	38 84 c3 9c 	addi    r4,r4,-15460                           
ffc15b78:	48 00 62 09 	bl      ffc1bd80 <strcmp>                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc15b7c:	39 20 00 00 	li      r9,0                                   
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc15b80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15b84:	40 9e 00 34 	bne-    cr7,ffc15bb8 <rtems_assoc_ptr_by_local+0x70>
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc15b88:	81 3f 00 0c 	lwz     r9,12(r31)                             
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc15b8c:	38 1f 00 0c 	addi    r0,r31,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc15b90:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15b94:	41 9e 00 30 	beq-    cr7,ffc15bc4 <rtems_assoc_ptr_by_local+0x7c><== NEVER TAKEN
ffc15b98:	7f e9 fb 78 	mr      r9,r31                                 
ffc15b9c:	7c 1f 03 78 	mr      r31,r0                                 
    if (ap->local_value == local_value)                               
ffc15ba0:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc15ba4:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc15ba8:	41 9e 00 1c 	beq-    cr7,ffc15bc4 <rtems_assoc_ptr_by_local+0x7c><== NEVER TAKEN
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc15bac:	84 1f 00 0c 	lwzu    r0,12(r31)                             
ffc15bb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc15bb4:	41 9e 00 2c 	beq-    cr7,ffc15be0 <rtems_assoc_ptr_by_local+0x98>
    if (ap->local_value == local_value)                               
ffc15bb8:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc15bbc:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc15bc0:	40 9e ff ec 	bne+    cr7,ffc15bac <rtems_assoc_ptr_by_local+0x64>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc15bc4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc15bc8:	7f e3 fb 78 	mr      r3,r31                                 
ffc15bcc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc15bd0:	7c 08 03 a6 	mtlr    r0                                     
ffc15bd4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc15bd8:	38 21 00 10 	addi    r1,r1,16                               
ffc15bdc:	4e 80 00 20 	blr                                            
ffc15be0:	80 01 00 14 	lwz     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc15be4:	7d 3f 4b 78 	mr      r31,r9                                 
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc15be8:	7f e3 fb 78 	mr      r3,r31                                 
ffc15bec:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc15bf0:	7c 08 03 a6 	mtlr    r0                                     
ffc15bf4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc15bf8:	38 21 00 10 	addi    r1,r1,16                               
ffc15bfc:	4e 80 00 20 	blr                                            
ffc15c00:	80 01 00 14 	lwz     r0,20(r1)                              
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc15c04:	3b e0 00 00 	li      r31,0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc15c08:	7f e3 fb 78 	mr      r3,r31                                 
ffc15c0c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc15c10:	7c 08 03 a6 	mtlr    r0                                     
ffc15c14:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc15c18:	38 21 00 10 	addi    r1,r1,16                               
ffc15c1c:	4e 80 00 20 	blr                                            
                                                                      

ffc057a0 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
ffc057a0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc057a4:	7c 08 02 a6 	mflr    r0                                     
ffc057a8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc057ac:	93 e1 00 14 	stw     r31,20(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057b0:	83 e3 00 00 	lwz     r31,0(r3)                              
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc057b4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc057b8:	7c 9d 23 78 	mr      r29,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057bc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc057c0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc057c4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc057c8:	93 81 00 08 	stw     r28,8(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057cc:	41 9e 00 b8 	beq-    cr7,ffc05884 <rtems_assoc_ptr_by_name+0xe4>
ffc057d0:	3c 80 ff c2 	lis     r4,-62                                 
ffc057d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc057d8:	38 84 af 48 	addi    r4,r4,-20664                           
ffc057dc:	48 00 fe fd 	bl      ffc156d8 <strcmp>                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc057e0:	3b 80 00 00 	li      r28,0                                  
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc057e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057e8:	40 9e 00 3c 	bne-    cr7,ffc05824 <rtems_assoc_ptr_by_name+0x84>
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc057ec:	83 fe 00 0c 	lwz     r31,12(r30)                            
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc057f0:	38 1e 00 0c 	addi    r0,r30,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc057f4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc057f8:	41 9e 00 40 	beq-    cr7,ffc05838 <rtems_assoc_ptr_by_name+0x98><== NEVER TAKEN
    if (strcmp(ap->name, name) == 0)                                  
ffc057fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc05800:	7f a4 eb 78 	mr      r4,r29                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05804:	7f dc f3 78 	mr      r28,r30                                
ffc05808:	7c 1e 03 78 	mr      r30,r0                                 
    if (strcmp(ap->name, name) == 0)                                  
ffc0580c:	48 00 fe cd 	bl      ffc156d8 <strcmp>                      
ffc05810:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05814:	41 9e 00 24 	beq-    cr7,ffc05838 <rtems_assoc_ptr_by_name+0x98><== NEVER TAKEN
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05818:	87 fe 00 0c 	lwzu    r31,12(r30)                            
ffc0581c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05820:	41 9e 00 3c 	beq-    cr7,ffc0585c <rtems_assoc_ptr_by_name+0xbc>
    if (strcmp(ap->name, name) == 0)                                  
ffc05824:	7f e3 fb 78 	mr      r3,r31                                 
ffc05828:	7f a4 eb 78 	mr      r4,r29                                 
ffc0582c:	48 00 fe ad 	bl      ffc156d8 <strcmp>                      
ffc05830:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05834:	40 9e ff e4 	bne+    cr7,ffc05818 <rtems_assoc_ptr_by_name+0x78>
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05838:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0583c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05840:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05844:	7c 08 03 a6 	mtlr    r0                                     
ffc05848:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0584c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05850:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05854:	38 21 00 18 	addi    r1,r1,24                               
ffc05858:	4e 80 00 20 	blr                                            
ffc0585c:	80 01 00 1c 	lwz     r0,28(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05860:	7f 9e e3 78 	mr      r30,r28                                
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05864:	7f c3 f3 78 	mr      r3,r30                                 
ffc05868:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0586c:	7c 08 03 a6 	mtlr    r0                                     
ffc05870:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc05874:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05878:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0587c:	38 21 00 18 	addi    r1,r1,24                               
ffc05880:	4e 80 00 20 	blr                                            
ffc05884:	80 01 00 1c 	lwz     r0,28(r1)                              
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc05888:	3b c0 00 00 	li      r30,0                                  
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0588c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05890:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05894:	7c 08 03 a6 	mtlr    r0                                     
ffc05898:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0589c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc058a0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc058a4:	38 21 00 18 	addi    r1,r1,24                               
ffc058a8:	4e 80 00 20 	blr                                            
                                                                      

ffc12828 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc12828:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1282c:	7c 08 02 a6 	mflr    r0                                     
ffc12830:	90 01 00 14 	stw     r0,20(r1)                              
ffc12834:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc12838:	7c 7f 1b 78 	mr      r31,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc1283c:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
ffc12840:	93 c1 00 08 	stw     r30,8(r1)                              
ffc12844:	7c 9e 23 78 	mr      r30,r4                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc12848:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1284c:	41 9e 00 94 	beq-    cr7,ffc128e0 <rtems_assoc_ptr_by_remote+0xb8>
ffc12850:	3c 80 ff c2 	lis     r4,-62                                 
ffc12854:	38 84 a6 2c 	addi    r4,r4,-22996                           
ffc12858:	48 00 1c a1 	bl      ffc144f8 <strcmp>                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc1285c:	39 20 00 00 	li      r9,0                                   
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc12860:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12864:	40 9e 00 34 	bne-    cr7,ffc12898 <rtems_assoc_ptr_by_remote+0x70>
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc12868:	81 3f 00 0c 	lwz     r9,12(r31)                             
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc1286c:	38 1f 00 0c 	addi    r0,r31,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc12870:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12874:	41 9e 00 30 	beq-    cr7,ffc128a4 <rtems_assoc_ptr_by_remote+0x7c><== NEVER TAKEN
ffc12878:	7f e9 fb 78 	mr      r9,r31                                 
ffc1287c:	7c 1f 03 78 	mr      r31,r0                                 
    if (ap->remote_value == remote_value)                             
ffc12880:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc12884:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc12888:	41 9e 00 1c 	beq-    cr7,ffc128a4 <rtems_assoc_ptr_by_remote+0x7c><== NEVER TAKEN
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc1288c:	84 1f 00 0c 	lwzu    r0,12(r31)                             
ffc12890:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12894:	41 9e 00 2c 	beq-    cr7,ffc128c0 <rtems_assoc_ptr_by_remote+0x98>
    if (ap->remote_value == remote_value)                             
ffc12898:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc1289c:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc128a0:	40 9e ff ec 	bne+    cr7,ffc1288c <rtems_assoc_ptr_by_remote+0x64>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc128a4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc128a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc128ac:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc128b0:	7c 08 03 a6 	mtlr    r0                                     
ffc128b4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc128b8:	38 21 00 10 	addi    r1,r1,16                               
ffc128bc:	4e 80 00 20 	blr                                            
ffc128c0:	80 01 00 14 	lwz     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc128c4:	7d 3f 4b 78 	mr      r31,r9                                 
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc128c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc128cc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc128d0:	7c 08 03 a6 	mtlr    r0                                     
ffc128d4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc128d8:	38 21 00 10 	addi    r1,r1,16                               
ffc128dc:	4e 80 00 20 	blr                                            
ffc128e0:	80 01 00 14 	lwz     r0,20(r1)                              
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc128e4:	3b e0 00 00 	li      r31,0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc128e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc128ec:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc128f0:	7c 08 03 a6 	mtlr    r0                                     
ffc128f4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc128f8:	38 21 00 10 	addi    r1,r1,16                               
ffc128fc:	4e 80 00 20 	blr                                            
                                                                      

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

ffc13990 <rtems_barrier_create>: rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id ) {
ffc13990:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc13994:	7c 08 02 a6 	mflr    r0                                     
ffc13998:	93 e1 00 2c 	stw     r31,44(r1)                             
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc1399c:	7c 7f 1b 79 	mr.     r31,r3                                 
    return RTEMS_INVALID_NAME;                                        
ffc139a0:	38 60 00 03 	li      r3,3                                   
  rtems_name           name,                                          
  rtems_attribute      attribute_set,                                 
  uint32_t             maximum_waiters,                               
  rtems_id            *id                                             
)                                                                     
{                                                                     
ffc139a4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc139a8:	7c dd 33 78 	mr      r29,r6                                 
ffc139ac:	90 01 00 34 	stw     r0,52(r1)                              
ffc139b0:	93 81 00 20 	stw     r28,32(r1)                             
ffc139b4:	93 c1 00 28 	stw     r30,40(r1)                             
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc139b8:	41 82 00 90 	beq-    ffc13a48 <rtems_barrier_create+0xb8>   
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
ffc139bc:	2f 86 00 00 	cmpwi   cr7,r6,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc139c0:	38 60 00 09 	li      r3,9                                   
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
ffc139c4:	41 9e 00 84 	beq-    cr7,ffc13a48 <rtems_barrier_create+0xb8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
ffc139c8:	70 80 00 10 	andi.   r0,r4,16                               
ffc139cc:	41 82 00 9c 	beq-    ffc13a68 <rtems_barrier_create+0xd8>   
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
ffc139d0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
ffc139d4:	38 00 00 00 	li      r0,0                                   
ffc139d8:	90 01 00 08 	stw     r0,8(r1)                               
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
ffc139dc:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
ffc139e0:	41 9e 00 68 	beq-    cr7,ffc13a48 <rtems_barrier_create+0xb8>
ffc139e4:	3d 20 00 00 	lis     r9,0                                   
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
ffc139e8:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc139ec:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc139f0:	38 0b 00 01 	addi    r0,r11,1                               
ffc139f4:	90 09 27 c8 	stw     r0,10184(r9)                           
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Allocate( void )       
{                                                                     
  return (Barrier_Control *) _Objects_Allocate( &_Barrier_Information );
ffc139f8:	3f 80 00 00 	lis     r28,0                                  
ffc139fc:	90 81 00 18 	stw     r4,24(r1)                              
ffc13a00:	3b 9c 35 1c 	addi    r28,r28,13596                          
ffc13a04:	7f 83 e3 78 	mr      r3,r28                                 
ffc13a08:	4b ff 98 15 	bl      ffc0d21c <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
ffc13a0c:	80 81 00 18 	lwz     r4,24(r1)                              
ffc13a10:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc13a14:	41 82 00 90 	beq-    ffc13aa4 <rtems_barrier_create+0x114>  <== NEVER TAKEN
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_barrier->attribute_set = attribute_set;                         
ffc13a18:	90 9e 00 10 	stw     r4,16(r30)                             
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
ffc13a1c:	38 7e 00 14 	addi    r3,r30,20                              
ffc13a20:	38 81 00 08 	addi    r4,r1,8                                
ffc13a24:	48 00 0a d1 	bl      ffc144f4 <_CORE_barrier_Initialize>    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc13a28:	80 1e 00 08 	lwz     r0,8(r30)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc13a2c:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc13a30:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc13a34:	7f cb 49 2e 	stwx    r30,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc13a38:	93 fe 00 0c 	stw     r31,12(r30)                            
    &_Barrier_Information,                                            
    &the_barrier->Object,                                             
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_barrier->Object.id;                                       
ffc13a3c:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc13a40:	4b ff ad 69 	bl      ffc0e7a8 <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc13a44:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc13a48:	80 01 00 34 	lwz     r0,52(r1)                              
ffc13a4c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc13a50:	7c 08 03 a6 	mtlr    r0                                     
ffc13a54:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc13a58:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc13a5c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc13a60:	38 21 00 30 	addi    r1,r1,48                               
ffc13a64:	4e 80 00 20 	blr                                            
ffc13a68:	3d 20 00 00 	lis     r9,0                                   
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
ffc13a6c:	90 a1 00 0c 	stw     r5,12(r1)                              
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
ffc13a70:	38 00 00 01 	li      r0,1                                   
ffc13a74:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc13a78:	90 01 00 08 	stw     r0,8(r1)                               
ffc13a7c:	38 0b 00 01 	addi    r0,r11,1                               
ffc13a80:	90 09 27 c8 	stw     r0,10184(r9)                           
ffc13a84:	3f 80 00 00 	lis     r28,0                                  
ffc13a88:	90 81 00 18 	stw     r4,24(r1)                              
ffc13a8c:	3b 9c 35 1c 	addi    r28,r28,13596                          
ffc13a90:	7f 83 e3 78 	mr      r3,r28                                 
ffc13a94:	4b ff 97 89 	bl      ffc0d21c <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
ffc13a98:	80 81 00 18 	lwz     r4,24(r1)                              
ffc13a9c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc13aa0:	40 82 ff 78 	bne+    ffc13a18 <rtems_barrier_create+0x88>   
    _Thread_Enable_dispatch();                                        
ffc13aa4:	4b ff ad 05 	bl      ffc0e7a8 <_Thread_Enable_dispatch>     
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc13aa8:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
ffc13aac:	38 60 00 05 	li      r3,5                                   
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc13ab0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc13ab4:	7c 08 03 a6 	mtlr    r0                                     
ffc13ab8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc13abc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc13ac0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc13ac4:	38 21 00 30 	addi    r1,r1,48                               
ffc13ac8:	4e 80 00 20 	blr                                            
                                                                      

ffc0419c <rtems_bsp_cmdline_get_param>: size_t length ) { const char *p; if ( !name )
ffc0419c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
ffc041a0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc041a4:	7c 08 02 a6 	mflr    r0                                     
ffc041a8:	93 e1 00 14 	stw     r31,20(r1)                             
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
ffc041ac:	3b e0 00 00 	li      r31,0                                  
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
ffc041b0:	90 01 00 1c 	stw     r0,28(r1)                              
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
ffc041b4:	40 9e 00 1c 	bne-    cr7,ffc041d0 <rtems_bsp_cmdline_get_param+0x34>
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
ffc041b8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc041bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc041c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc041c4:	38 21 00 18 	addi    r1,r1,24                               
ffc041c8:	7c 08 03 a6 	mtlr    r0                                     
ffc041cc:	4e 80 00 20 	blr                                            
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
ffc041d0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc041d4:	41 9e ff e4 	beq+    cr7,ffc041b8 <rtems_bsp_cmdline_get_param+0x1c>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
ffc041d8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc041dc:	41 9e ff dc 	beq+    cr7,ffc041b8 <rtems_bsp_cmdline_get_param+0x1c>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
ffc041e0:	9b e4 00 00 	stb     r31,0(r4)                              
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
ffc041e4:	90 81 00 08 	stw     r4,8(r1)                               
ffc041e8:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc041ec:	48 00 00 8d 	bl      ffc04278 <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
ffc041f0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc041f4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc041f8:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc041fc:	41 a2 ff bc 	beq-    ffc041b8 <rtems_bsp_cmdline_get_param+0x1c>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04200:	88 03 00 00 	lbz     r0,0(r3)                               
ffc04204:	7c 9f 23 78 	mr      r31,r4                                 
ffc04208:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0420c:	41 be ff ac 	beq-    cr7,ffc041b8 <rtems_bsp_cmdline_get_param+0x1c><== NEVER TAKEN
ffc04210:	34 a5 ff ff 	addic.  r5,r5,-1                               
ffc04214:	41 a2 ff a4 	beq-    ffc041b8 <rtems_bsp_cmdline_get_param+0x1c><== NEVER TAKEN
ffc04218:	39 60 00 00 	li      r11,0                                  
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc0421c:	7c a9 03 a6 	mtctr   r5                                     
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04220:	39 20 00 00 	li      r9,0                                   
ffc04224:	39 40 00 00 	li      r10,0                                  
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc04228:	39 00 00 00 	li      r8,0                                   
ffc0422c:	48 00 00 30 	b       ffc0425c <rtems_bsp_cmdline_get_param+0xc0>
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc04230:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc04234:	40 82 00 08 	bne-    ffc0423c <rtems_bsp_cmdline_get_param+0xa0>
ffc04238:	41 9e 00 38 	beq-    cr7,ffc04270 <rtems_bsp_cmdline_get_param+0xd4>
      break;                                                          
    value[i++] = *p++;                                                
ffc0423c:	39 29 00 01 	addi    r9,r9,1                                
ffc04240:	7c 04 59 ae 	stbx    r0,r4,r11                              
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04244:	7d 2b 4b 78 	mr      r11,r9                                 
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc04248:	7d 04 49 ae 	stbx    r8,r4,r9                               
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc0424c:	7c 03 48 ae 	lbzx    r0,r3,r9                               
ffc04250:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04254:	41 9e 00 1c 	beq-    cr7,ffc04270 <rtems_bsp_cmdline_get_param+0xd4>
ffc04258:	42 40 00 18 	bdz-    ffc04270 <rtems_bsp_cmdline_get_param+0xd4>
    if ( *p == '\"' ) {                                               
ffc0425c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc04260:	71 47 00 01 	andi.   r7,r10,1                               
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
ffc04264:	40 9e ff cc 	bne+    cr7,ffc04230 <rtems_bsp_cmdline_get_param+0x94>
      quotes++;                                                       
ffc04268:	39 4a 00 01 	addi    r10,r10,1                              
ffc0426c:	4b ff ff d0 	b       ffc0423c <rtems_bsp_cmdline_get_param+0xa0>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04270:	7c 9f 23 78 	mr      r31,r4                                 
ffc04274:	4b ff ff 44 	b       ffc041b8 <rtems_bsp_cmdline_get_param+0x1c>
                                                                      

ffc09d34 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
ffc09d34:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09d38:	7c 08 02 a6 	mflr    r0                                     
ffc09d3c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc09d40:	7c de 33 78 	mr      r30,r6                                 
ffc09d44:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc09d48:	7c bf 2b 78 	mr      r31,r5                                 
ffc09d4c:	90 01 00 14 	stw     r0,20(r1)                              
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
ffc09d50:	48 00 07 b9 	bl      ffc0a508 <_Chain_Append_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
ffc09d54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  rtems_chain_node *node,                                             
  rtems_id task,                                                      
  rtems_event_set events                                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc09d58:	38 60 00 00 	li      r3,0                                   
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
ffc09d5c:	41 be 00 10 	beq+    cr7,ffc09d6c <rtems_chain_append_with_notification+0x38><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
ffc09d60:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d64:	7f c4 f3 78 	mr      r4,r30                                 
ffc09d68:	4b ff f2 01 	bl      ffc08f68 <rtems_event_send>            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09d6c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09d70:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09d74:	7c 08 03 a6 	mtlr    r0                                     
ffc09d78:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09d7c:	38 21 00 10 	addi    r1,r1,16                               
ffc09d80:	4e 80 00 20 	blr                                            
                                                                      

ffc09dd8 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc09dd8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc09ddc:	7c 08 02 a6 	mflr    r0                                     
ffc09de0:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc09de4:	90 01 00 34 	stw     r0,52(r1)                              
ffc09de8:	93 41 00 18 	stw     r26,24(r1)                             
ffc09dec:	7c da 33 78 	mr      r26,r6                                 
ffc09df0:	93 61 00 1c 	stw     r27,28(r1)                             
ffc09df4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc09df8:	93 81 00 20 	stw     r28,32(r1)                             
ffc09dfc:	7c 9c 23 78 	mr      r28,r4                                 
ffc09e00:	93 a1 00 24 	stw     r29,36(r1)                             
ffc09e04:	7c bd 2b 78 	mr      r29,r5                                 
ffc09e08:	93 c1 00 28 	stw     r30,40(r1)                             
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e0c:	3b c1 00 08 	addi    r30,r1,8                               
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc09e10:	7f 63 db 78 	mr      r3,r27                                 
ffc09e14:	48 00 07 ed 	bl      ffc0a600 <_Chain_Get>                  
ffc09e18:	38 80 00 00 	li      r4,0                                   
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc09e1c:	7c 7f 1b 79 	mr.     r31,r3                                 
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e20:	7f a5 eb 78 	mr      r5,r29                                 
ffc09e24:	7f c6 f3 78 	mr      r6,r30                                 
ffc09e28:	7f 83 e3 78 	mr      r3,r28                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc09e2c:	40 82 00 3c 	bne-    ffc09e68 <rtems_chain_get_with_wait+0x90>
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc09e30:	4b ff ef 35 	bl      ffc08d64 <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc09e34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09e38:	41 82 ff d8 	beq+    ffc09e10 <rtems_chain_get_with_wait+0x38><== NEVER TAKEN
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09e3c:	80 01 00 34 	lwz     r0,52(r1)                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc09e40:	93 fa 00 00 	stw     r31,0(r26)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc09e44:	7c 08 03 a6 	mtlr    r0                                     
ffc09e48:	83 41 00 18 	lwz     r26,24(r1)                             
ffc09e4c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09e50:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09e54:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09e58:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09e5c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09e60:	38 21 00 30 	addi    r1,r1,48                               
ffc09e64:	4e 80 00 20 	blr                                            
ffc09e68:	80 01 00 34 	lwz     r0,52(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc09e6c:	38 60 00 00 	li      r3,0                                   
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc09e70:	93 fa 00 00 	stw     r31,0(r26)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc09e74:	7c 08 03 a6 	mtlr    r0                                     
ffc09e78:	83 41 00 18 	lwz     r26,24(r1)                             
ffc09e7c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09e80:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09e84:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09e88:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09e8c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09e90:	38 21 00 30 	addi    r1,r1,48                               
ffc09e94:	4e 80 00 20 	blr                                            
                                                                      

ffc09e98 <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
ffc09e98:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09e9c:	7c 08 02 a6 	mflr    r0                                     
ffc09ea0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc09ea4:	7c de 33 78 	mr      r30,r6                                 
ffc09ea8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc09eac:	7c bf 2b 78 	mr      r31,r5                                 
ffc09eb0:	90 01 00 14 	stw     r0,20(r1)                              
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
ffc09eb4:	48 00 07 bd 	bl      ffc0a670 <_Chain_Prepend_with_empty_check>
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
ffc09eb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  rtems_chain_node *node,                                             
  rtems_id task,                                                      
  rtems_event_set events                                              
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc09ebc:	38 60 00 00 	li      r3,0                                   
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
ffc09ec0:	41 be 00 10 	beq+    cr7,ffc09ed0 <rtems_chain_prepend_with_notification+0x38><== NEVER TAKEN
    sc = rtems_event_send( task, events );                            
ffc09ec4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ec8:	7f c4 f3 78 	mr      r4,r30                                 
ffc09ecc:	4b ff f0 9d 	bl      ffc08f68 <rtems_event_send>            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09ed0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09ed4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc09ed8:	7c 08 03 a6 	mtlr    r0                                     
ffc09edc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09ee0:	38 21 00 10 	addi    r1,r1,16                               
ffc09ee4:	4e 80 00 20 	blr                                            
                                                                      

ffc04f34 <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc04f34:	94 21 ff 68 	stwu    r1,-152(r1)                            
ffc04f38:	7c 08 02 a6 	mflr    r0                                     
ffc04f3c:	90 01 00 9c 	stw     r0,156(r1)                             
    Timestamp_Control  uptime, total, ran, last_context_switch;       
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04f40:	7c 80 23 79 	mr.     r0,r4                                  
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc04f44:	93 81 00 88 	stw     r28,136(r1)                            
ffc04f48:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04f4c:	91 c1 00 50 	stw     r14,80(r1)                             
ffc04f50:	91 e1 00 54 	stw     r15,84(r1)                             
ffc04f54:	92 01 00 58 	stw     r16,88(r1)                             
ffc04f58:	92 21 00 5c 	stw     r17,92(r1)                             
ffc04f5c:	92 41 00 60 	stw     r18,96(r1)                             
ffc04f60:	92 61 00 64 	stw     r19,100(r1)                            
ffc04f64:	92 81 00 68 	stw     r20,104(r1)                            
ffc04f68:	92 a1 00 6c 	stw     r21,108(r1)                            
ffc04f6c:	92 c1 00 70 	stw     r22,112(r1)                            
ffc04f70:	92 e1 00 74 	stw     r23,116(r1)                            
ffc04f74:	93 01 00 78 	stw     r24,120(r1)                            
ffc04f78:	93 21 00 7c 	stw     r25,124(r1)                            
ffc04f7c:	93 41 00 80 	stw     r26,128(r1)                            
ffc04f80:	93 61 00 84 	stw     r27,132(r1)                            
ffc04f84:	93 a1 00 8c 	stw     r29,140(r1)                            
ffc04f88:	93 c1 00 90 	stw     r30,144(r1)                            
ffc04f8c:	93 e1 00 94 	stw     r31,148(r1)                            
    Timestamp_Control  uptime, total, ran, last_context_switch;       
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04f90:	90 01 00 48 	stw     r0,72(r1)                              
ffc04f94:	41 82 01 e0 	beq-    ffc05174 <rtems_cpu_usage_report_with_plugin+0x240><== NEVER TAKEN
   *  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__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
ffc04f98:	3d 20 00 00 	lis     r9,0                                   
ffc04f9c:	39 29 28 a4 	addi    r9,r9,10404                            
ffc04fa0:	81 49 00 04 	lwz     r10,4(r9)                              
    _TOD_Get_uptime( &uptime );                                       
ffc04fa4:	3a 41 00 10 	addi    r18,r1,16                              
   *  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__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
ffc04fa8:	81 29 00 00 	lwz     r9,0(r9)                               
    _TOD_Get_uptime( &uptime );                                       
ffc04fac:	7e 43 93 78 	mr      r3,r18                                 
   *  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__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
ffc04fb0:	91 41 00 2c 	stw     r10,44(r1)                             
    _TOD_Get_uptime( &uptime );                                       
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
ffc04fb4:	3b 61 00 18 	addi    r27,r1,24                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04fb8:	3e 80 00 01 	lis     r20,1                                  
   *  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__                          
    last_context_switch = _Thread_Time_of_last_context_switch;        
ffc04fbc:	91 21 00 28 	stw     r9,40(r1)                              
    _TOD_Get_uptime( &uptime );                                       
ffc04fc0:	48 00 71 29 	bl      ffc0c0e8 <_TOD_Get_uptime>             
    _Timestamp_Subtract( &CPU_usage_Uptime_at_last_reset, &uptime, &total );
ffc04fc4:	3c 60 00 00 	lis     r3,0                                   
ffc04fc8:	38 63 28 c0 	addi    r3,r3,10432                            
ffc04fcc:	7e 44 93 78 	mr      r4,r18                                 
ffc04fd0:	7f 65 db 78 	mr      r5,r27                                 
ffc04fd4:	48 00 a1 19 	bl      ffc0f0ec <_Timespec_Subtract>          
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04fd8:	80 01 00 48 	lwz     r0,72(r1)                              
ffc04fdc:	3c 80 ff c2 	lis     r4,-62                                 
ffc04fe0:	7f 83 e3 78 	mr      r3,r28                                 
ffc04fe4:	7c 09 03 a6 	mtctr   r0                                     
ffc04fe8:	38 84 2d e0 	addi    r4,r4,11744                            
ffc04fec:	3a 94 aa 40 	addi    r20,r20,-21952                         
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04ff0:	3e e0 ff c2 	lis     r23,-62                                
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc04ff4:	3f 20 ff c2 	lis     r25,-62                                
ffc04ff8:	3f 40 10 62 	lis     r26,4194                               
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04ffc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05000:	4e 80 04 21 	bctrl                                          
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc05004:	3b a1 00 38 	addi    r29,r1,56                              
          /*                                                          
           * 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 ) {
ffc05008:	3e a0 00 01 	lis     r21,1                                  
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc0500c:	3a c1 00 0c 	addi    r22,r1,12                              
/*PAGE                                                                
 *                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
ffc05010:	3a 34 00 0c 	addi    r17,r20,12                             
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc05014:	3a f7 2f 54 	addi    r23,r23,12116                          
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc05018:	3b 01 00 08 	addi    r24,r1,8                               
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc0501c:	3b 39 2f 68 	addi    r25,r25,12136                          
ffc05020:	63 5a 4d d3 	ori     r26,r26,19923                          
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
ffc05024:	3a 01 00 28 	addi    r16,r1,40                              
ffc05028:	3a 61 00 30 	addi    r19,r1,48                              
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0502c:	85 34 00 04 	lwzu    r9,4(r20)                              
ffc05030:	83 c9 00 04 	lwz     r30,4(r9)                              
    if ( information ) {                                              
ffc05034:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc05038:	41 9e 01 00 	beq-    cr7,ffc05138 <rtems_cpu_usage_report_with_plugin+0x204><== NEVER TAKEN
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc0503c:	a1 7e 00 10 	lhz     r11,16(r30)                            
ffc05040:	71 60 ff ff 	andi.   r0,r11,65535                           
ffc05044:	41 82 00 f4 	beq-    ffc05138 <rtems_cpu_usage_report_with_plugin+0x204>
ffc05048:	3b e0 00 01 	li      r31,1                                  
ffc0504c:	48 00 00 58 	b       ffc050a4 <rtems_cpu_usage_report_with_plugin+0x170>
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
            _Timestamp_Add_to( &ran, &used );                         
          };                                                          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc05050:	7d c3 73 78 	mr      r3,r14                                 
ffc05054:	7f 64 db 78 	mr      r4,r27                                 
ffc05058:	7f 05 c3 78 	mr      r5,r24                                 
ffc0505c:	7e c6 b3 78 	mr      r6,r22                                 
ffc05060:	48 00 9f 81 	bl      ffc0efe0 <_Timespec_Divide>            
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc05064:	80 c1 00 24 	lwz     r6,36(r1)                              
ffc05068:	80 01 00 48 	lwz     r0,72(r1)                              
ffc0506c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05070:	7c c6 d0 16 	mulhwu  r6,r6,r26                              
ffc05074:	80 a1 00 20 	lwz     r5,32(r1)                              
ffc05078:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc0507c:	7c 09 03 a6 	mtctr   r0                                     
ffc05080:	7f 24 cb 78 	mr      r4,r25                                 
ffc05084:	81 01 00 0c 	lwz     r8,12(r1)                              
ffc05088:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc0508c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05090:	4e 80 04 21 	bctrl                                          
ffc05094:	a1 7e 00 10 	lhz     r11,16(r30)                            
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc05098:	55 60 04 3e 	clrlwi  r0,r11,16                              
ffc0509c:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc050a0:	41 9c 00 98 	blt-    cr7,ffc05138 <rtems_cpu_usage_report_with_plugin+0x204>
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc050a4:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc050a8:	57 e0 10 3a 	rlwinm  r0,r31,2,0,29                          
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc050ac:	7f a5 eb 78 	mr      r5,r29                                 
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc050b0:	7d e9 00 2e 	lwzx    r15,r9,r0                              
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc050b4:	38 80 00 0d 	li      r4,13                                  
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc050b8:	3b ff 00 01 	addi    r31,r31,1                              
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
ffc050bc:	2f 8f 00 00 	cmpwi   cr7,r15,0                              
ffc050c0:	39 c1 00 20 	addi    r14,r1,32                              
ffc050c4:	41 be ff d4 	beq-    cr7,ffc05098 <rtems_cpu_usage_report_with_plugin+0x164><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc050c8:	80 6f 00 08 	lwz     r3,8(r15)                              
ffc050cc:	48 00 54 91 	bl      ffc0a55c <rtems_object_get_name>       
                                                                      
        (*print)(                                                     
ffc050d0:	80 01 00 48 	lwz     r0,72(r1)                              
ffc050d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc050d8:	80 af 00 08 	lwz     r5,8(r15)                              
ffc050dc:	7c 09 03 a6 	mtctr   r0                                     
ffc050e0:	7e e4 bb 78 	mr      r4,r23                                 
ffc050e4:	7f a6 eb 78 	mr      r6,r29                                 
ffc050e8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc050ec:	4e 80 04 21 	bctrl                                          
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc050f0:	39 35 af 84 	addi    r9,r21,-20604                          
ffc050f4:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc050f8:	80 0f 00 08 	lwz     r0,8(r15)                              
ffc050fc:	81 69 00 08 	lwz     r11,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;                            
ffc05100:	81 4f 00 88 	lwz     r10,136(r15)                           
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc05104:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
        #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;                            
ffc05108:	81 2f 00 84 	lwz     r9,132(r15)                            
ffc0510c:	91 41 00 24 	stw     r10,36(r1)                             
ffc05110:	91 21 00 20 	stw     r9,32(r1)                              
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc05114:	40 9e ff 3c 	bne+    cr7,ffc05050 <rtems_cpu_usage_report_with_plugin+0x11c>
            Timestamp_Control used;                                   
            _Timestamp_Subtract( &last_context_switch, &uptime, &used );
ffc05118:	7e 03 83 78 	mr      r3,r16                                 
ffc0511c:	7e 44 93 78 	mr      r4,r18                                 
ffc05120:	7e 65 9b 78 	mr      r5,r19                                 
ffc05124:	48 00 9f c9 	bl      ffc0f0ec <_Timespec_Subtract>          
            _Timestamp_Add_to( &ran, &used );                         
ffc05128:	7d c3 73 78 	mr      r3,r14                                 
ffc0512c:	7e 64 9b 78 	mr      r4,r19                                 
ffc05130:	48 00 9e 55 	bl      ffc0ef84 <_Timespec_Add_to>            
ffc05134:	4b ff ff 1c 	b       ffc05050 <rtems_cpu_usage_report_with_plugin+0x11c>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc05138:	7f 94 88 00 	cmpw    cr7,r20,r17                            
ffc0513c:	40 9e fe f0 	bne+    cr7,ffc0502c <rtems_cpu_usage_report_with_plugin+0xf8>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
ffc05140:	3c 00 10 62 	lis     r0,4194                                
ffc05144:	80 c1 00 1c 	lwz     r6,28(r1)                              
ffc05148:	60 00 4d d3 	ori     r0,r0,19923                            
ffc0514c:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc05150:	7c c6 00 16 	mulhwu  r6,r6,r0                               
ffc05154:	80 01 00 48 	lwz     r0,72(r1)                              
ffc05158:	3c 80 ff c2 	lis     r4,-62                                 
ffc0515c:	7c 09 03 a6 	mtctr   r0                                     
ffc05160:	7f 83 e3 78 	mr      r3,r28                                 
ffc05164:	38 84 2f 80 	addi    r4,r4,12160                            
ffc05168:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc0516c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05170:	4e 80 04 21 	bctrl                                          
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
ffc05174:	80 01 00 9c 	lwz     r0,156(r1)                             
ffc05178:	81 c1 00 50 	lwz     r14,80(r1)                             
ffc0517c:	7c 08 03 a6 	mtlr    r0                                     
ffc05180:	81 e1 00 54 	lwz     r15,84(r1)                             
ffc05184:	82 01 00 58 	lwz     r16,88(r1)                             
ffc05188:	82 21 00 5c 	lwz     r17,92(r1)                             
ffc0518c:	82 41 00 60 	lwz     r18,96(r1)                             
ffc05190:	82 61 00 64 	lwz     r19,100(r1)                            
ffc05194:	82 81 00 68 	lwz     r20,104(r1)                            
ffc05198:	82 a1 00 6c 	lwz     r21,108(r1)                            
ffc0519c:	82 c1 00 70 	lwz     r22,112(r1)                            
ffc051a0:	82 e1 00 74 	lwz     r23,116(r1)                            
ffc051a4:	83 01 00 78 	lwz     r24,120(r1)                            
ffc051a8:	83 21 00 7c 	lwz     r25,124(r1)                            
ffc051ac:	83 41 00 80 	lwz     r26,128(r1)                            
ffc051b0:	83 61 00 84 	lwz     r27,132(r1)                            
ffc051b4:	83 81 00 88 	lwz     r28,136(r1)                            
ffc051b8:	83 a1 00 8c 	lwz     r29,140(r1)                            
ffc051bc:	83 c1 00 90 	lwz     r30,144(r1)                            
ffc051c0:	83 e1 00 94 	lwz     r31,148(r1)                            
ffc051c4:	38 21 00 98 	addi    r1,r1,152                              
ffc051c8:	4e 80 00 20 	blr                                            
                                                                      

ffc13368 <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
ffc13368:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1336c:	7c 08 02 a6 	mflr    r0                                     
ffc13370:	90 01 00 14 	stw     r0,20(r1)                              
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc13374:	7c 60 1b 79 	mr.     r0,r3                                  
    return 0;                                                         
ffc13378:	38 60 00 00 	li      r3,0                                   
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc1337c:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc13380:	40 82 00 18 	bne-    ffc13398 <rtems_deviceio_errno+0x30>   
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
ffc13384:	80 01 00 14 	lwz     r0,20(r1)                              
ffc13388:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1338c:	38 21 00 10 	addi    r1,r1,16                               
ffc13390:	7c 08 03 a6 	mtlr    r0                                     
ffc13394:	4e 80 00 20 	blr                                            
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc13398:	2b 80 00 1c 	cmplwi  cr7,r0,28                              
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
ffc1339c:	3b e0 00 16 	li      r31,22                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc133a0:	41 9d 00 14 	bgt-    cr7,ffc133b4 <rtems_deviceio_errno+0x4c><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
ffc133a4:	3d 20 ff c2 	lis     r9,-62                                 
ffc133a8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc133ac:	39 29 a6 38 	addi    r9,r9,-22984                           
ffc133b0:	7f e9 00 2e 	lwzx    r31,r9,r0                              
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc133b4:	48 00 00 81 	bl      ffc13434 <__errno>                     
ffc133b8:	93 e3 00 00 	stw     r31,0(r3)                              
                                                                      
    return -1;                                                        
ffc133bc:	38 60 ff ff 	li      r3,-1                                  
ffc133c0:	4b ff ff c4 	b       ffc13384 <rtems_deviceio_errno+0x1c>   
                                                                      

ffc0ad18 <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
ffc0ad18:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0ad1c:	7c 08 02 a6 	mflr    r0                                     
ffc0ad20:	93 e1 00 74 	stw     r31,116(r1)                            
ffc0ad24:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ad28:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0ad2c:	90 a1 00 18 	stw     r5,24(r1)                              
ffc0ad30:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0ad34:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0ad38:	91 01 00 24 	stw     r8,36(r1)                              
ffc0ad3c:	91 21 00 28 	stw     r9,40(r1)                              
ffc0ad40:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0ad44:	40 86 00 24 	bne-    cr1,ffc0ad68 <rtems_error+0x50>        <== ALWAYS TAKEN
ffc0ad48:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc0ad4c:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0ad50:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0ad54:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc0ad58:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc0ad5c:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0ad60:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0ad64:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ad68:	38 00 00 02 	li      r0,2                                   
ffc0ad6c:	98 01 00 08 	stb     r0,8(r1)                               
ffc0ad70:	38 00 00 00 	li      r0,0                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc0ad74:	7f e3 fb 78 	mr      r3,r31                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ad78:	98 01 00 09 	stb     r0,9(r1)                               
ffc0ad7c:	38 01 00 80 	addi    r0,r1,128                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc0ad80:	38 a1 00 08 	addi    r5,r1,8                                
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ad84:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0ad88:	38 01 00 10 	addi    r0,r1,16                               
ffc0ad8c:	90 01 00 10 	stw     r0,16(r1)                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc0ad90:	4b ff fd d5 	bl      ffc0ab64 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc0ad94:	77 e0 20 00 	andis.  r0,r31,8192                            
ffc0ad98:	40 82 00 20 	bne-    ffc0adb8 <rtems_error+0xa0>            
    rtems_error(0, "fatal error, exiting");                           
    _exit(errno);                                                     
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
ffc0ad9c:	77 e0 10 00 	andis.  r0,r31,4096                            
ffc0ada0:	40 82 00 38 	bne-    ffc0add8 <rtems_error+0xc0>            
    rtems_error(0, "fatal error, aborting");                          
    abort();                                                          
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
ffc0ada4:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0ada8:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0adac:	38 21 00 78 	addi    r1,r1,120                              
ffc0adb0:	7c 08 03 a6 	mtlr    r0                                     
ffc0adb4:	4e 80 00 20 	blr                                            
  va_start(arglist, printf_format);                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    rtems_error(0, "fatal error, exiting");                           
ffc0adb8:	3c 80 ff c3 	lis     r4,-61                                 
ffc0adbc:	38 84 bd bc 	addi    r4,r4,-16964                           
ffc0adc0:	38 60 00 00 	li      r3,0                                   
ffc0adc4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0adc8:	4b ff ff 51 	bl      ffc0ad18 <rtems_error>                 
    _exit(errno);                                                     
ffc0adcc:	48 00 f8 b5 	bl      ffc1a680 <__errno>                     
ffc0add0:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0add4:	48 00 0e 35 	bl      ffc0bc08 <_exit>                       
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
    rtems_error(0, "fatal error, aborting");                          
ffc0add8:	3c 80 ff c3 	lis     r4,-61                                 
ffc0addc:	38 84 bd d4 	addi    r4,r4,-16940                           
ffc0ade0:	38 60 00 00 	li      r3,0                                   
ffc0ade4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ade8:	4b ff ff 31 	bl      ffc0ad18 <rtems_error>                 
    abort();                                                          
ffc0adec:	48 00 f8 79 	bl      ffc1a664 <abort>                       
                                                                      

ffc049a0 <rtems_filesystem_dirname>: int rtems_filesystem_dirname( const char *pathname ) {
ffc049a0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc049a4:	7c 08 02 a6 	mflr    r0                                     
ffc049a8:	93 c1 00 08 	stw     r30,8(r1)                              
ffc049ac:	7c 7e 1b 78 	mr      r30,r3                                 
ffc049b0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc049b4:	90 01 00 14 	stw     r0,20(r1)                              
  int len = strlen( pathname );                                       
ffc049b8:	48 00 fd 05 	bl      ffc146bc <strlen>                      
                                                                      
  while ( len ) {                                                     
ffc049bc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc049c0:	40 a2 00 0c 	bne+    ffc049cc <rtems_filesystem_dirname+0x2c><== ALWAYS TAKEN
ffc049c4:	48 00 00 20 	b       ffc049e4 <rtems_filesystem_dirname+0x44><== NOT EXECUTED
ffc049c8:	41 9a 00 1c 	beq-    cr6,ffc049e4 <rtems_filesystem_dirname+0x44>
    len--;                                                            
ffc049cc:	3b ff ff ff 	addi    r31,r31,-1                             
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
ffc049d0:	7c 7e f8 ae 	lbzx    r3,r30,r31                             
ffc049d4:	48 00 13 65 	bl      ffc05d38 <rtems_filesystem_is_separator>
  const char  *pathname                                               
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
ffc049d8:	2f 1f 00 00 	cmpwi   cr6,r31,0                              
    len--;                                                            
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
ffc049dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc049e0:	41 9e ff e8 	beq+    cr7,ffc049c8 <rtems_filesystem_dirname+0x28>
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
ffc049e4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc049e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc049ec:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc049f0:	7c 08 03 a6 	mtlr    r0                                     
ffc049f4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc049f8:	38 21 00 10 	addi    r1,r1,16                               
ffc049fc:	4e 80 00 20 	blr                                            
                                                                      

ffc0f064 <rtems_filesystem_get_mount_handler>: find_arg fa = { .type = type, .mount_h = NULL }; if ( type != NULL ) {
ffc0f064:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f068:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f06c:	7c 08 02 a6 	mflr    r0                                     
  find_arg fa = {                                                     
ffc0f070:	90 61 00 08 	stw     r3,8(r1)                               
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0f074:	38 60 00 00 	li      r3,0                                   
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f078:	90 01 00 1c 	stw     r0,28(r1)                              
  find_arg fa = {                                                     
ffc0f07c:	38 00 00 00 	li      r0,0                                   
ffc0f080:	90 01 00 0c 	stw     r0,12(r1)                              
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0f084:	41 9e 00 18 	beq-    cr7,ffc0f09c <rtems_filesystem_get_mount_handler+0x38><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
ffc0f088:	3c 60 ff c1 	lis     r3,-63                                 
ffc0f08c:	38 63 ef 08 	addi    r3,r3,-4344                            
ffc0f090:	38 81 00 08 	addi    r4,r1,8                                
ffc0f094:	4b ff fe cd 	bl      ffc0ef60 <rtems_filesystem_iterate>    
ffc0f098:	80 61 00 0c 	lwz     r3,12(r1)                              
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0f09c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f0a0:	38 21 00 18 	addi    r1,r1,24                               
ffc0f0a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f0a8:	4e 80 00 20 	blr                                            
                                                                      

ffc046a8 <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 ) {
ffc046a8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc046ac:	7c 08 02 a6 	mflr    r0                                     
  rtems_filesystem_umask = 022;                                       
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc046b0:	3d 20 00 00 	lis     r9,0                                   
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc046b4:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_filesystem_umask = 022;                                       
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc046b8:	80 09 26 d8 	lwz     r0,9944(r9)                            
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc046bc:	93 e1 00 34 	stw     r31,52(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc046c0:	3f e0 00 00 	lis     r31,0                                  
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc046c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc046c8:	81 3f 27 24 	lwz     r9,10020(r31)                          
ffc046cc:	38 00 00 12 	li      r0,18                                  
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc046d0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc046d4:	93 c1 00 30 	stw     r30,48(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc046d8:	90 09 00 2c 	stw     r0,44(r9)                              
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc046dc:	41 9e 01 00 	beq-    cr7,ffc047dc <rtems_filesystem_initialize+0x134><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
ffc046e0:	3d 20 00 00 	lis     r9,0                                   
ffc046e4:	81 29 26 d4 	lwz     r9,9940(r9)                            
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
ffc046e8:	38 e0 00 00 	li      r7,0                                   
ffc046ec:	80 69 00 08 	lwz     r3,8(r9)                               
ffc046f0:	80 89 00 0c 	lwz     r4,12(r9)                              
ffc046f4:	80 a9 00 00 	lwz     r5,0(r9)                               
ffc046f8:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc046fc:	48 00 0a e1 	bl      ffc051dc <mount>                       
  if ( status == -1 )                                                 
ffc04700:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc04704:	41 9e 00 f0 	beq-    cr7,ffc047f4 <rtems_filesystem_initialize+0x14c><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc04708:	81 3f 27 24 	lwz     r9,10020(r31)                          
ffc0470c:	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);                 
ffc04710:	3f c0 ff c2 	lis     r30,-62                                
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc04714:	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);                 
ffc04718:	3b de a0 ec 	addi    r30,r30,-24340                         
ffc0471c:	3b a1 00 08 	addi    r29,r1,8                               
ffc04720:	38 80 00 01 	li      r4,1                                   
ffc04724:	38 a0 00 00 	li      r5,0                                   
ffc04728:	7f a6 eb 78 	mr      r6,r29                                 
ffc0472c:	38 e0 00 00 	li      r7,0                                   
ffc04730:	7f c3 f3 78 	mr      r3,r30                                 
ffc04734:	48 00 01 f1 	bl      ffc04924 <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
ffc04738:	81 3f 27 24 	lwz     r9,10020(r31)                          
ffc0473c:	80 01 00 08 	lwz     r0,8(r1)                               
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04740:	38 80 00 01 	li      r4,1                                   
ffc04744:	38 a0 00 00 	li      r5,0                                   
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc04748:	90 09 00 18 	stw     r0,24(r9)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc0474c:	7f a6 eb 78 	mr      r6,r29                                 
ffc04750:	38 e0 00 00 	li      r7,0                                   
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc04754:	80 01 00 0c 	lwz     r0,12(r1)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04758:	7f c3 f3 78 	mr      r3,r30                                 
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc0475c:	90 09 00 1c 	stw     r0,28(r9)                              
ffc04760:	80 01 00 10 	lwz     r0,16(r1)                              
ffc04764:	90 09 00 20 	stw     r0,32(r9)                              
ffc04768:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0476c:	90 09 00 24 	stw     r0,36(r9)                              
ffc04770:	80 01 00 18 	lwz     r0,24(r1)                              
ffc04774:	90 09 00 28 	stw     r0,40(r9)                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc04778:	48 00 01 ad 	bl      ffc04924 <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
ffc0477c:	81 3f 27 24 	lwz     r9,10020(r31)                          
ffc04780:	80 01 00 08 	lwz     r0,8(r1)                               
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc04784:	3c 60 ff c2 	lis     r3,-62                                 
ffc04788:	38 63 a0 f0 	addi    r3,r3,-24336                           
  /* 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;                                 
ffc0478c:	90 09 00 04 	stw     r0,4(r9)                               
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc04790:	38 80 01 ff 	li      r4,511                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current     = loc;                                 
ffc04794:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04798:	90 09 00 08 	stw     r0,8(r9)                               
ffc0479c:	80 01 00 10 	lwz     r0,16(r1)                              
ffc047a0:	90 09 00 0c 	stw     r0,12(r9)                              
ffc047a4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc047a8:	90 09 00 10 	stw     r0,16(r9)                              
ffc047ac:	80 01 00 18 	lwz     r0,24(r1)                              
ffc047b0:	90 09 00 14 	stw     r0,20(r9)                              
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
ffc047b4:	48 00 08 2d 	bl      ffc04fe0 <mkdir>                       
  if ( status != 0 )                                                  
ffc047b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc047bc:	40 9e 00 2c 	bne-    cr7,ffc047e8 <rtems_filesystem_initialize+0x140><== NEVER TAKEN
   *  it will be mounted onto is created.  Moreover, if it is going to
   *  use a device, then it is REALLY unfair to attempt this          
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
}                                                                     
ffc047c0:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc047c4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc047c8:	7c 08 03 a6 	mtlr    r0                                     
ffc047cc:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc047d0:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc047d4:	38 21 00 38 	addi    r1,r1,56                               
ffc047d8:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc047dc:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc047e0:	60 63 00 01 	ori     r3,r3,1                                <== NOT EXECUTED
ffc047e4:	48 00 4e 59 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
ffc047e8:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc047ec:	60 63 00 03 	ori     r3,r3,3                                <== NOT EXECUTED
ffc047f0:	48 00 4e 4d 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
ffc047f4:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc047f8:	60 63 00 02 	ori     r3,r3,2                                <== NOT EXECUTED
ffc047fc:	48 00 4e 41 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0ef60 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
ffc0ef60:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0ef64:	7c 08 02 a6 	mflr    r0                                     
ffc0ef68:	93 c1 00 20 	stw     r30,32(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 ) {                              
ffc0ef6c:	3f c0 ff c2 	lis     r30,-62                                
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0ef70:	90 01 00 2c 	stw     r0,44(r1)                              
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ef74:	80 1e 95 74 	lwz     r0,-27276(r30)                         
ffc0ef78:	3b de 95 74 	addi    r30,r30,-27276                         
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0ef7c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0ef80:	7c 9f 23 78 	mr      r31,r4                                 
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ef84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0ef88:	93 61 00 14 	stw     r27,20(r1)                             
ffc0ef8c:	93 81 00 18 	stw     r28,24(r1)                             
ffc0ef90:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0ef94:	90 61 00 08 	stw     r3,8(r1)                               
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ef98:	40 be 00 0c 	bne+    cr7,ffc0efa4 <rtems_filesystem_iterate+0x44><== ALWAYS TAKEN
ffc0ef9c:	48 00 00 38 	b       ffc0efd4 <rtems_filesystem_iterate+0x74><== NOT EXECUTED
ffc0efa0:	40 9a 00 9c 	bne-    cr6,ffc0f03c <rtems_filesystem_iterate+0xdc>
    stop = (*routine)( table_entry, routine_arg );                    
ffc0efa4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0efa8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0efac:	7f e4 fb 78 	mr      r4,r31                                 
ffc0efb0:	7c 09 03 a6 	mtctr   r0                                     
ffc0efb4:	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 ) {                              
ffc0efb8:	84 1e 00 08 	lwzu    r0,8(r30)                              
    stop = (*routine)( table_entry, routine_arg );                    
ffc0efbc:	7c 7b 1b 78 	mr      r27,r3                                 
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0efc0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0efc4:	2f 03 00 00 	cmpwi   cr6,r3,0                               
ffc0efc8:	40 9e ff d8 	bne+    cr7,ffc0efa0 <rtems_filesystem_iterate+0x40>
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
ffc0efcc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0efd0:	40 9e 00 6c 	bne-    cr7,ffc0f03c <rtems_filesystem_iterate+0xdc>
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 );
ffc0efd4:	3f c0 00 00 	lis     r30,0                                  
ffc0efd8:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0efdc:	38 80 00 00 	li      r4,0                                   
ffc0efe0:	38 a0 00 00 	li      r5,0                                   
ffc0efe4:	4b ff 9c cd 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0efe8:	3d 20 00 00 	lis     r9,0                                   
ffc0efec:	3b 89 21 88 	addi    r28,r9,8584                            
ffc0eff0:	83 a9 21 88 	lwz     r29,8584(r9)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0eff4:	3b 9c 00 04 	addi    r28,r28,4                              
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0eff8:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0effc:	3b 60 00 00 	li      r27,0                                  
ffc0f000:	40 be 00 0c 	bne+    cr7,ffc0f00c <rtems_filesystem_iterate+0xac>
ffc0f004:	48 00 00 30 	b       ffc0f034 <rtems_filesystem_iterate+0xd4>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0f008:	40 9a 00 2c 	bne-    cr6,ffc0f034 <rtems_filesystem_iterate+0xd4><== NEVER TAKEN
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
ffc0f00c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0f010:	38 7d 00 08 	addi    r3,r29,8                               
ffc0f014:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f018:	7c 09 03 a6 	mtctr   r0                                     
ffc0f01c:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f020:	83 bd 00 00 	lwz     r29,0(r29)                             
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0f024:	2f 03 00 00 	cmpwi   cr6,r3,0                               
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0f028:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
      !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 );                  
ffc0f02c:	7c 7b 1b 78 	mr      r27,r3                                 
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0f030:	40 9e ff d8 	bne+    cr7,ffc0f008 <rtems_filesystem_iterate+0xa8>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f034:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0f038:	4b ff 9e 01 	bl      ffc08e38 <rtems_semaphore_release>     
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
ffc0f03c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0f040:	7f 63 db 78 	mr      r3,r27                                 
ffc0f044:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f048:	7c 08 03 a6 	mtlr    r0                                     
ffc0f04c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f050:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f054:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f058:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f05c:	38 21 00 28 	addi    r1,r1,40                               
ffc0f060:	4e 80 00 20 	blr                                            
                                                                      

ffc05124 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
ffc05124:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc05128:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0512c:	38 a0 00 00 	li      r5,0                                   
ffc05130:	93 c1 00 20 	stw     r30,32(r1)                             
ffc05134:	3f c0 00 00 	lis     r30,0                                  
ffc05138:	90 61 00 08 	stw     r3,8(r1)                               
ffc0513c:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc05140:	93 e1 00 24 	stw     r31,36(r1)                             
ffc05144:	7c 9f 23 78 	mr      r31,r4                                 
ffc05148:	38 80 00 00 	li      r4,0                                   
ffc0514c:	93 61 00 14 	stw     r27,20(r1)                             
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc05150:	3b 60 00 00 	li      r27,0                                  
                                                                      
bool rtems_filesystem_mount_iterate(                                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc05154:	93 81 00 18 	stw     r28,24(r1)                             
ffc05158:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0515c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc05160:	48 00 3b 51 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc05164:	3d 20 00 00 	lis     r9,0                                   
ffc05168:	3b 89 21 6c 	addi    r28,r9,8556                            
ffc0516c:	83 a9 21 6c 	lwz     r29,8556(r9)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc05170:	3b 9c 00 04 	addi    r28,r28,4                              
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc05174:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc05178:	40 be 00 0c 	bne+    cr7,ffc05184 <rtems_filesystem_mount_iterate+0x60><== ALWAYS TAKEN
ffc0517c:	48 00 00 30 	b       ffc051ac <rtems_filesystem_mount_iterate+0x88><== NOT EXECUTED
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc05180:	40 9a 00 2c 	bne-    cr6,ffc051ac <rtems_filesystem_mount_iterate+0x88><== NEVER TAKEN
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
ffc05184:	80 01 00 08 	lwz     r0,8(r1)                               
ffc05188:	7f a3 eb 78 	mr      r3,r29                                 
ffc0518c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05190:	7c 09 03 a6 	mtctr   r0                                     
ffc05194:	4e 80 04 21 	bctrl                                          
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc05198:	83 bd 00 00 	lwz     r29,0(r29)                             
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc0519c:	2f 03 00 00 	cmpwi   cr6,r3,0                               
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc051a0:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
    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 );                       
ffc051a4:	7c 7b 1b 78 	mr      r27,r3                                 
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc051a8:	40 9e ff d8 	bne+    cr7,ffc05180 <rtems_filesystem_mount_iterate+0x5c>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc051ac:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc051b0:	48 00 3c 89 	bl      ffc08e38 <rtems_semaphore_release>     
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc051b4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc051b8:	7f 63 db 78 	mr      r3,r27                                 
ffc051bc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc051c0:	7c 08 03 a6 	mtlr    r0                                     
ffc051c4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc051c8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc051cc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc051d0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc051d4:	38 21 00 28 	addi    r1,r1,40                               
ffc051d8:	4e 80 00 20 	blr                                            
                                                                      

ffc04a00 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
ffc04a00:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04a04:	7c 08 02 a6 	mflr    r0                                     
ffc04a08:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc04a0c:	7c 9d 23 78 	mr      r29,r4                                 
ffc04a10:	93 c1 00 10 	stw     r30,16(r1)                             
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
ffc04a14:	3b c0 00 00 	li      r30,0                                  
                                                                      
int rtems_filesystem_prefix_separators(                               
  const char  *pathname,                                              
  int          pathnamelen                                            
)                                                                     
{                                                                     
ffc04a18:	93 e1 00 14 	stw     r31,20(r1)                             
ffc04a1c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04a20:	90 01 00 1c 	stw     r0,28(r1)                              
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
ffc04a24:	88 63 00 00 	lbz     r3,0(r3)                               
ffc04a28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a2c:	41 9e 00 34 	beq-    cr7,ffc04a60 <rtems_filesystem_prefix_separators+0x60><== NEVER TAKEN
ffc04a30:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc04a34:	40 be 00 20 	bne+    cr7,ffc04a54 <rtems_filesystem_prefix_separators+0x54><== ALWAYS TAKEN
ffc04a38:	48 00 00 28 	b       ffc04a60 <rtems_filesystem_prefix_separators+0x60><== NOT EXECUTED
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
ffc04a3c:	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 ) )
ffc04a40:	7c 7f f0 ae 	lbzx    r3,r31,r30                             
ffc04a44:	7f 1d f0 00 	cmpw    cr6,r29,r30                            
ffc04a48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a4c:	41 9e 00 14 	beq-    cr7,ffc04a60 <rtems_filesystem_prefix_separators+0x60><== NEVER TAKEN
ffc04a50:	41 9a 00 10 	beq-    cr6,ffc04a60 <rtems_filesystem_prefix_separators+0x60><== NEVER TAKEN
ffc04a54:	48 00 12 e5 	bl      ffc05d38 <rtems_filesystem_is_separator>
ffc04a58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a5c:	40 9e ff e0 	bne+    cr7,ffc04a3c <rtems_filesystem_prefix_separators+0x3c>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
ffc04a60:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04a64:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a68:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04a6c:	7c 08 03 a6 	mtlr    r0                                     
ffc04a70:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04a74:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04a78:	38 21 00 18 	addi    r1,r1,24                               
ffc04a7c:	4e 80 00 20 	blr                                            
                                                                      

ffc0f1c8 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
ffc0f1c8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f1cc:	7c 08 02 a6 	mflr    r0                                     
ffc0f1d0:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0f1d4:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
int                                                                   
rtems_filesystem_unregister(                                          
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f1d8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f1dc:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f1e0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f1e4:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0f1e8:	41 82 00 c8 	beq-    ffc0f2b0 <rtems_filesystem_unregister+0xe8>
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f1ec:	3f c0 00 00 	lis     r30,0                                  
ffc0f1f0:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0f1f4:	38 80 00 00 	li      r4,0                                   
ffc0f1f8:	38 a0 00 00 	li      r5,0                                   
ffc0f1fc:	4b ff 9a b5 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f200:	3d 20 00 00 	lis     r9,0                                   
ffc0f204:	3b 89 21 88 	addi    r28,r9,8584                            
ffc0f208:	83 a9 21 88 	lwz     r29,8584(r9)                           
ffc0f20c:	3b 9c 00 04 	addi    r28,r28,4                              
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0f210:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0f214:	40 be 00 14 	bne+    cr7,ffc0f228 <rtems_filesystem_unregister+0x60>
ffc0f218:	48 00 00 60 	b       ffc0f278 <rtems_filesystem_unregister+0xb0>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f21c:	83 bd 00 00 	lwz     r29,0(r29)                             
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0f220:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0f224:	41 9e 00 54 	beq-    cr7,ffc0f278 <rtems_filesystem_unregister+0xb0><== ALWAYS TAKEN
    !rtems_chain_is_tail( &filesystem_chain, node );                  
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    filesystem_node *fsn = (filesystem_node *) node;                  
                                                                      
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
ffc0f228:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc0f22c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f230:	48 00 52 c9 	bl      ffc144f8 <strcmp>                      
ffc0f234:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f238:	40 9e ff e4 	bne+    cr7,ffc0f21c <rtems_filesystem_unregister+0x54>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0f23c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f240:	4b ff a8 e5 	bl      ffc09b24 <_Chain_Extract>              
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
ffc0f244:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f248:	4b ff 58 65 	bl      ffc04aac <free>                        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f24c:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0f250:	4b ff 9b e9 	bl      ffc08e38 <rtems_semaphore_release>     
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f254:	80 01 00 1c 	lwz     r0,28(r1)                              
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
ffc0f258:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f25c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f260:	7c 08 03 a6 	mtlr    r0                                     
ffc0f264:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f268:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f26c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f270:	38 21 00 18 	addi    r1,r1,24                               
ffc0f274:	4e 80 00 20 	blr                                            
ffc0f278:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0f27c:	4b ff 9b bd 	bl      ffc08e38 <rtems_semaphore_release>     
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0f280:	48 00 41 b5 	bl      ffc13434 <__errno>                     
ffc0f284:	38 00 00 02 	li      r0,2                                   
ffc0f288:	90 03 00 00 	stw     r0,0(r3)                               
ffc0f28c:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0f290:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f294:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f298:	7c 08 03 a6 	mtlr    r0                                     
ffc0f29c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f2a0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f2a4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f2a8:	38 21 00 18 	addi    r1,r1,24                               
ffc0f2ac:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0f2b0:	48 00 41 85 	bl      ffc13434 <__errno>                     
ffc0f2b4:	38 00 00 16 	li      r0,22                                  
ffc0f2b8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0f2bc:	38 60 ff ff 	li      r3,-1                                  
ffc0f2c0:	4b ff ff d0 	b       ffc0f290 <rtems_filesystem_unregister+0xc8>
                                                                      

ffc05834 <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
ffc05834:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05838:	7c 08 02 a6 	mflr    r0                                     
ffc0583c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05840:	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 ) );
ffc05844:	38 60 00 08 	li      r3,8                                   
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
ffc05848:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0584c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05850:	7c 9e 23 78 	mr      r30,r4                                 
ffc05854:	93 e1 00 14 	stw     r31,20(r1)                             
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
ffc05858:	48 00 05 9d 	bl      ffc05df4 <malloc>                      
ffc0585c:	7c 7f 1b 78 	mr      r31,r3                                 
  *key = new_key;                                                     
ffc05860:	90 7d 00 00 	stw     r3,0(r29)                              
  new_key->val  = NULL;                                               
ffc05864:	38 00 00 00 	li      r0,0                                   
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
ffc05868:	38 60 00 00 	li      r3,0                                   
ffc0586c:	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;                                               
ffc05870:	90 1f 00 00 	stw     r0,0(r31)                              
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
ffc05874:	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;                                               
ffc05878:	93 df 00 04 	stw     r30,4(r31)                             
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
ffc0587c:	48 00 4c c1 	bl      ffc0a53c <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05880:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
ffc05884:	38 60 00 00 	li      r3,0                                   
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05888:	40 9e 00 20 	bne-    cr7,ffc058a8 <rtems_gxx_key_create+0x74><== NEVER TAKEN
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
ffc0588c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05890:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc05894:	7c 08 03 a6 	mtlr    r0                                     
ffc05898:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0589c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc058a0:	38 21 00 18 	addi    r1,r1,24                               
ffc058a4:	4e 80 00 20 	blr                                            
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
ffc058a8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc058ac:	4b ff fd 45 	bl      ffc055f0 <free>                        <== NOT EXECUTED
  return -1;                                                          
ffc058b0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc058b4:	4b ff ff d8 	b       ffc0588c <rtems_gxx_key_create+0x58>   <== NOT EXECUTED
                                                                      

ffc058c8 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
ffc058c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc058cc:	7c 08 02 a6 	mflr    r0                                     
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
ffc058d0:	7c 64 1b 78 	mr      r4,r3                                  
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc058d4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc058d8:	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 );    
ffc058dc:	38 60 00 00 	li      r3,0                                   
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc058e0:	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 );    
ffc058e4:	48 00 4d 6d 	bl      ffc0a650 <rtems_task_variable_delete>  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc058e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc058ec:	40 9e 00 14 	bne-    cr7,ffc05900 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
ffc058f0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc058f4:	41 9e 00 0c 	beq-    cr7,ffc05900 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
ffc058f8:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc058fc:	4b ff fc f5 	bl      ffc055f0 <free>                        
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
ffc05900:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05904:	38 60 00 00 	li      r3,0                                   
ffc05908:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0590c:	38 21 00 10 	addi    r1,r1,16                               
ffc05910:	7c 08 03 a6 	mtlr    r0                                     
ffc05914:	4e 80 00 20 	blr                                            
                                                                      

ffc05a50 <rtems_gxx_mutex_lock>: printk( "gxx_wrappers: mutex init complete =%X\n", *mutex ); #endif } int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex) {
ffc05a50:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05a54:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: lock mutex=%X\n", *mutex );                
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain(                                    
ffc05a58:	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)                   
{                                                                     
ffc05a5c:	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(                                    
ffc05a60:	38 a0 00 00 	li      r5,0                                   
ffc05a64:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05a68:	48 00 41 75 	bl      ffc09bdc <rtems_semaphore_obtain>      
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05a6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05a70:	38 60 ff ff 	li      r3,-1                                  
  status = rtems_semaphore_obtain(                                    
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05a74:	40 9e 00 08 	bne-    cr7,ffc05a7c <rtems_gxx_mutex_lock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05a78:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05a7c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05a80:	38 21 00 08 	addi    r1,r1,8                                
ffc05a84:	7c 08 03 a6 	mtlr    r0                                     
ffc05a88:	4e 80 00 20 	blr                                            
                                                                      

ffc05ac0 <rtems_gxx_mutex_trylock>: int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex) {
ffc05ac0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05ac4:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
ffc05ac8:	38 80 00 01 	li      r4,1                                   
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)                
{                                                                     
ffc05acc:	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);
ffc05ad0:	38 a0 00 00 	li      r5,0                                   
ffc05ad4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05ad8:	48 00 41 05 	bl      ffc09bdc <rtems_semaphore_obtain>      
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05adc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05ae0:	38 60 ff ff 	li      r3,-1                                  
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05ae4:	40 9e 00 08 	bne-    cr7,ffc05aec <rtems_gxx_mutex_trylock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05ae8:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05aec:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05af0:	38 21 00 08 	addi    r1,r1,8                                
ffc05af4:	7c 08 03 a6 	mtlr    r0                                     
ffc05af8:	4e 80 00 20 	blr                                            
                                                                      

ffc05afc <rtems_gxx_mutex_unlock>: int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex) {
ffc05afc:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05b00:	7c 08 02 a6 	mflr    r0                                     
ffc05b04:	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 );             
ffc05b08:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05b0c:	48 00 42 59 	bl      ffc09d64 <rtems_semaphore_release>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return 0;                                                         
  return -1;                                                          
ffc05b14:	38 60 ff ff 	li      r3,-1                                  
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: unlock mutex=%X\n", *mutex );              
  #endif                                                              
                                                                      
  status = rtems_semaphore_release( *(rtems_id *)mutex );             
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05b18:	40 9e 00 08 	bne-    cr7,ffc05b20 <rtems_gxx_mutex_unlock+0x24><== NEVER TAKEN
    return 0;                                                         
ffc05b1c:	38 60 00 00 	li      r3,0                                   
  return -1;                                                          
}                                                                     
ffc05b20:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05b24:	38 21 00 08 	addi    r1,r1,8                                
ffc05b28:	7c 08 03 a6 	mtlr    r0                                     
ffc05b2c:	4e 80 00 20 	blr                                            
                                                                      

ffc05758 <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)) {
ffc05758:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0575c:	7c 08 02 a6 	mflr    r0                                     
ffc05760:	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 ) {                    
ffc05764:	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))       
{                                                                     
ffc05768:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0576c:	7c 9e 23 78 	mr      r30,r4                                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc05770:	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))       
{                                                                     
ffc05774:	93 e1 00 24 	stw     r31,36(r1)                             
ffc05778:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0577c:	93 a1 00 1c 	stw     r29,28(r1)                             
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc05780:	41 9e 00 24 	beq-    cr7,ffc057a4 <rtems_gxx_once+0x4c>     
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05784:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc05788:	38 60 00 00 	li      r3,0                                   
ffc0578c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc05790:	7c 08 03 a6 	mtlr    r0                                     
ffc05794:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc05798:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0579c:	38 21 00 28 	addi    r1,r1,40                               
ffc057a0:	4e 80 00 20 	blr                                            
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc057a4:	3b a1 00 08 	addi    r29,r1,8                               
ffc057a8:	38 60 01 00 	li      r3,256                                 
ffc057ac:	38 80 01 00 	li      r4,256                                 
ffc057b0:	7f a5 eb 78 	mr      r5,r29                                 
ffc057b4:	48 00 4a 4d 	bl      ffc0a200 <rtems_task_mode>             
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
ffc057b8:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc057bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc057c0:	40 9e 00 44 	bne-    cr7,ffc05804 <rtems_gxx_once+0xac>     <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
ffc057c4:	38 00 00 01 	li      r0,1                                   
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc057c8:	80 61 00 08 	lwz     r3,8(r1)                               
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
ffc057cc:	90 1f 00 00 	stw     r0,0(r31)                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc057d0:	7f a5 eb 78 	mr      r5,r29                                 
ffc057d4:	38 80 01 00 	li      r4,256                                 
ffc057d8:	48 00 4a 29 	bl      ffc0a200 <rtems_task_mode>             
    if ( o == 0 )                                                     
      (*func)();                                                      
ffc057dc:	7f c9 03 a6 	mtctr   r30                                    
ffc057e0:	4e 80 04 21 	bctrl                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc057e4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc057e8:	38 60 00 00 	li      r3,0                                   
ffc057ec:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc057f0:	7c 08 03 a6 	mtlr    r0                                     
ffc057f4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc057f8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc057fc:	38 21 00 28 	addi    r1,r1,40                               
ffc05800:	4e 80 00 20 	blr                                            
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc05804:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc05808:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc0580c:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc05810:	48 00 49 f1 	bl      ffc0a200 <rtems_task_mode>             <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05814:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc05818:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0581c:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc05820:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05824:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc05828:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc0582c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc05830:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

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

ffc09a38 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
ffc09a38:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09a3c:	7c 08 02 a6 	mflr    r0                                     
  if (                                                                
ffc09a40:	3d 20 00 00 	lis     r9,0                                   
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09a44:	90 01 00 1c 	stw     r0,28(r1)                              
  if (                                                                
ffc09a48:	80 09 28 8c 	lwz     r0,10380(r9)                           
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09a4c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09a50:	7c 7d 1b 78 	mr      r29,r3                                 
  if (                                                                
ffc09a54:	2f 80 00 03 	cmpwi   cr7,r0,3                               
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09a58:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09a5c:	7c 9e 23 78 	mr      r30,r4                                 
ffc09a60:	93 e1 00 14 	stw     r31,20(r1)                             
ffc09a64:	7c bf 2b 78 	mr      r31,r5                                 
  if (                                                                
ffc09a68:	41 9e 00 3c 	beq-    cr7,ffc09aa4 <rtems_heap_allocate_aligned_with_boundary+0x6c><== ALWAYS TAKEN
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
ffc09a6c:	4b ff ea 29 	bl      ffc08494 <malloc_deferred_frees_process>
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc09a70:	3d 20 00 00 	lis     r9,0                                   
ffc09a74:	80 69 27 64 	lwz     r3,10084(r9)                           
ffc09a78:	7f a4 eb 78 	mr      r4,r29                                 
ffc09a7c:	7f c5 f3 78 	mr      r5,r30                                 
ffc09a80:	7f e6 fb 78 	mr      r6,r31                                 
ffc09a84:	48 00 66 4d 	bl      ffc100d0 <_Protected_heap_Allocate_aligned_with_boundary>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc09a88:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09a8c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09a90:	7c 08 03 a6 	mtlr    r0                                     
ffc09a94:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc09a98:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09a9c:	38 21 00 18 	addi    r1,r1,24                               
ffc09aa0:	4e 80 00 20 	blr                                            
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc09aa4:	4b ff e9 a9 	bl      ffc0844c <malloc_is_system_state_OK>   
ffc09aa8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  ) {                                                                 
    return NULL;                                                      
ffc09aac:	38 60 00 00 	li      r3,0                                   
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc09ab0:	40 9e ff bc 	bne+    cr7,ffc09a6c <rtems_heap_allocate_aligned_with_boundary+0x34>
ffc09ab4:	4b ff ff d4 	b       ffc09a88 <rtems_heap_allocate_aligned_with_boundary+0x50>
                                                                      

ffc04580 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
ffc04580:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc04584:	7c 08 02 a6 	mflr    r0                                     
ffc04588:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0458c:	90 01 00 44 	stw     r0,68(r1)                              
ffc04590:	93 81 00 30 	stw     r28,48(r1)                             
ffc04594:	93 a1 00 34 	stw     r29,52(r1)                             
ffc04598:	7c 9d 23 78 	mr      r29,r4                                 
ffc0459c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc045a0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc045a4:	93 e1 00 3c 	stw     r31,60(r1)                             
  IMFS_jnode_t                      *the_jnode;                       
  rtems_filesystem_location_info_t   loc;                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
ffc045a8:	48 01 01 15 	bl      ffc146bc <strlen>                      
ffc045ac:	3b e1 00 08 	addi    r31,r1,8                               
ffc045b0:	7c 64 1b 78 	mr      r4,r3                                  
ffc045b4:	38 a0 00 00 	li      r5,0                                   
ffc045b8:	7f e6 fb 78 	mr      r6,r31                                 
ffc045bc:	38 e0 00 01 	li      r7,1                                   
ffc045c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc045c4:	48 00 03 61 	bl      ffc04924 <rtems_filesystem_evaluate_path>
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc045c8:	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(                            
ffc045cc:	7c 7c 1b 78 	mr      r28,r3                                 
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
ffc045d0:	83 61 00 08 	lwz     r27,8(r1)                              
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc045d4:	80 09 00 10 	lwz     r0,16(r9)                              
ffc045d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc045dc:	7c 09 03 a6 	mtctr   r0                                     
ffc045e0:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
ffc045e4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc045e8:	40 9e 00 0c 	bne-    cr7,ffc045f4 <rtems_io_lookup_name+0x74><== NEVER TAKEN
ffc045ec:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc045f0:	41 9e 00 34 	beq-    cr7,ffc04624 <rtems_io_lookup_name+0xa4>
    rtems_filesystem_freenode( &loc );                                
ffc045f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc045f8:	48 00 04 89 	bl      ffc04a80 <rtems_filesystem_freenode>   
    return RTEMS_UNSATISFIED;                                         
ffc045fc:	38 60 00 0d 	li      r3,13                                  
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04600:	80 01 00 44 	lwz     r0,68(r1)                              
ffc04604:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc04608:	7c 08 03 a6 	mtlr    r0                                     
ffc0460c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc04610:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04614:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04618:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0461c:	38 21 00 40 	addi    r1,r1,64                               
ffc04620:	4e 80 00 20 	blr                                            
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
ffc04624:	93 dd 00 00 	stw     r30,0(r29)                             
  device_info->device_name_length = strlen( name );                   
ffc04628:	7f c3 f3 78 	mr      r3,r30                                 
ffc0462c:	48 01 00 91 	bl      ffc146bc <strlen>                      
ffc04630:	90 7d 00 04 	stw     r3,4(r29)                              
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc04634:	7f e3 fb 78 	mr      r3,r31                                 
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
ffc04638:	80 1b 00 50 	lwz     r0,80(r27)                             
ffc0463c:	90 1d 00 08 	stw     r0,8(r29)                              
  device_info->minor              = the_jnode->info.device.minor;     
ffc04640:	80 1b 00 54 	lwz     r0,84(r27)                             
ffc04644:	90 1d 00 0c 	stw     r0,12(r29)                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc04648:	48 00 04 39 	bl      ffc04a80 <rtems_filesystem_freenode>   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0464c:	38 60 00 00 	li      r3,0                                   
ffc04650:	4b ff ff b0 	b       ffc04600 <rtems_io_lookup_name+0x80>   
                                                                      

ffc0ac9c <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 ) {
ffc0ac9c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0aca0:	7c 08 02 a6 	mflr    r0                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0aca4:	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                  
)                                                                     
{                                                                     
ffc0aca8:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0acac:	80 09 31 cc 	lwz     r0,12748(r9)                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc0acb0:	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                  
)                                                                     
{                                                                     
ffc0acb4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0acb8:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0acbc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return RTEMS_CALLED_FROM_ISR;                                     
ffc0acc0:	38 60 00 12 	li      r3,18                                  
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc0acc4:	80 09 28 18 	lwz     r0,10264(r9)                           
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0acc8:	40 9e 00 ec 	bne-    cr7,ffc0adb4 <rtems_io_register_driver+0x118>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc0accc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc0acd0:	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 )                                     
ffc0acd4:	41 9e 00 e0 	beq-    cr7,ffc0adb4 <rtems_io_register_driver+0x118>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
ffc0acd8:	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;                                    
ffc0acdc:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( driver_table == NULL )                                         
ffc0ace0:	41 9e 00 d4 	beq-    cr7,ffc0adb4 <rtems_io_register_driver+0x118>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ace4:	81 64 00 00 	lwz     r11,0(r4)                              
ffc0ace8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0acec:	41 9e 01 14 	beq-    cr7,ffc0ae00 <rtems_io_register_driver+0x164>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc0acf0:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
    return RTEMS_INVALID_NUMBER;                                      
ffc0acf4:	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 )                                         
ffc0acf8:	40 9d 00 bc 	ble-    cr7,ffc0adb4 <rtems_io_register_driver+0x118>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0acfc:	3d 60 00 00 	lis     r11,0                                  
ffc0ad00:	81 4b 27 c4 	lwz     r10,10180(r11)                         
ffc0ad04:	38 0a 00 01 	addi    r0,r10,1                               
ffc0ad08:	90 0b 27 c4 	stw     r0,10180(r11)                          
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
ffc0ad0c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ad10:	40 9e 00 b8 	bne-    cr7,ffc0adc8 <rtems_io_register_driver+0x12c>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
ffc0ad14:	81 49 28 18 	lwz     r10,10264(r9)                          
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc0ad18:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ad1c:	41 9e 00 f4 	beq-    cr7,ffc0ae10 <rtems_io_register_driver+0x174><== NEVER TAKEN
ffc0ad20:	3d 60 00 00 	lis     r11,0                                  
ffc0ad24:	7d 49 03 a6 	mtctr   r10                                    
ffc0ad28:	81 2b 28 1c 	lwz     r9,10268(r11)                          
ffc0ad2c:	40 be 00 14 	bne+    cr7,ffc0ad40 <rtems_io_register_driver+0xa4><== ALWAYS TAKEN
ffc0ad30:	48 00 01 04 	b       ffc0ae34 <rtems_io_register_driver+0x198><== NOT EXECUTED
ffc0ad34:	3b ff 00 01 	addi    r31,r31,1                              
ffc0ad38:	39 29 00 18 	addi    r9,r9,24                               
ffc0ad3c:	42 40 00 1c 	bdz-    ffc0ad58 <rtems_io_register_driver+0xbc>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ad40:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0ad44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ad48:	40 9e ff ec 	bne+    cr7,ffc0ad34 <rtems_io_register_driver+0x98>
ffc0ad4c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0ad50:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ad54:	40 9e ff e0 	bne+    cr7,ffc0ad34 <rtems_io_register_driver+0x98>
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
ffc0ad58:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0ad5c:	93 e5 00 00 	stw     r31,0(r5)                              
                                                                      
  if ( m != n )                                                       
ffc0ad60:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc0ad64:	41 9e 00 b0 	beq-    cr7,ffc0ae14 <rtems_io_register_driver+0x178>
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
ffc0ad68:	81 6b 28 1c 	lwz     r11,10268(r11)                         
ffc0ad6c:	80 c4 00 00 	lwz     r6,0(r4)                               
ffc0ad70:	80 e4 00 04 	lwz     r7,4(r4)                               
ffc0ad74:	7d 2b 02 14 	add     r9,r11,r0                              
ffc0ad78:	81 04 00 08 	lwz     r8,8(r4)                               
ffc0ad7c:	81 44 00 0c 	lwz     r10,12(r4)                             
ffc0ad80:	7c cb 01 2e 	stwx    r6,r11,r0                              
ffc0ad84:	90 e9 00 04 	stw     r7,4(r9)                               
ffc0ad88:	91 09 00 08 	stw     r8,8(r9)                               
ffc0ad8c:	91 49 00 0c 	stw     r10,12(r9)                             
ffc0ad90:	81 64 00 10 	lwz     r11,16(r4)                             
ffc0ad94:	80 04 00 14 	lwz     r0,20(r4)                              
ffc0ad98:	91 69 00 10 	stw     r11,16(r9)                             
ffc0ad9c:	90 09 00 14 	stw     r0,20(r9)                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0ada0:	48 00 25 cd 	bl      ffc0d36c <_Thread_Enable_dispatch>     
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc0ada4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ada8:	38 80 00 00 	li      r4,0                                   
ffc0adac:	38 a0 00 00 	li      r5,0                                   
ffc0adb0:	48 00 a6 69 	bl      ffc15418 <rtems_io_initialize>         
}                                                                     
ffc0adb4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0adb8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0adbc:	38 21 00 10 	addi    r1,r1,16                               
ffc0adc0:	7c 08 03 a6 	mtlr    r0                                     
ffc0adc4:	4e 80 00 20 	blr                                            
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0adc8:	3d 60 00 00 	lis     r11,0                                  
ffc0adcc:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc0add0:	81 2b 28 1c 	lwz     r9,10268(r11)                          
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0add4:	7d 49 00 2e 	lwzx    r10,r9,r0                              
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0add8:	7d 29 02 14 	add     r9,r9,r0                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0addc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ade0:	41 9e 00 40 	beq-    cr7,ffc0ae20 <rtems_io_register_driver+0x184>
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
ffc0ade4:	48 00 25 89 	bl      ffc0d36c <_Thread_Enable_dispatch>     
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0ade8:	80 01 00 14 	lwz     r0,20(r1)                              
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
ffc0adec:	38 60 00 0c 	li      r3,12                                  
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0adf0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0adf4:	7c 08 03 a6 	mtlr    r0                                     
ffc0adf8:	38 21 00 10 	addi    r1,r1,16                               
ffc0adfc:	4e 80 00 20 	blr                                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ae00:	81 64 00 04 	lwz     r11,4(r4)                              
ffc0ae04:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0ae08:	40 9e fe e8 	bne+    cr7,ffc0acf0 <rtems_io_register_driver+0x54>
ffc0ae0c:	4b ff ff a8 	b       ffc0adb4 <rtems_io_register_driver+0x118>
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0ae10:	93 e5 00 00 	stw     r31,0(r5)                              <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
ffc0ae14:	48 00 25 59 	bl      ffc0d36c <_Thread_Enable_dispatch>     
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
ffc0ae18:	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;                                                      
ffc0ae1c:	4b ff ff 98 	b       ffc0adb4 <rtems_io_register_driver+0x118>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ae20:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0ae24:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ae28:	40 9e ff bc 	bne+    cr7,ffc0ade4 <rtems_io_register_driver+0x148>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
ffc0ae2c:	93 e5 00 00 	stw     r31,0(r5)                              
ffc0ae30:	4b ff ff 38 	b       ffc0ad68 <rtems_io_register_driver+0xcc>
ffc0ae34:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0ae38:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0ae3c:	4b ff ff 04 	b       ffc0ad40 <rtems_io_register_driver+0xa4><== NOT EXECUTED
                                                                      

ffc0c810 <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) {
ffc0c810:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c814:	7c 08 02 a6 	mflr    r0                                     
ffc0c818:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0c81c:	7c 60 1b 79 	mr.     r0,r3                                  
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
{                                                                     
ffc0c820:	93 81 00 10 	stw     r28,16(r1)                             
ffc0c824:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0c828:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0c82c:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0c830:	90 01 00 08 	stw     r0,8(r1)                               
ffc0c834:	41 82 00 6c 	beq-    ffc0c8a0 <rtems_iterate_over_all_threads+0x90><== NEVER TAKEN
ffc0c838:	3f a0 00 01 	lis     r29,1                                  
ffc0c83c:	3b bd aa 40 	addi    r29,r29,-21952                         
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
ffc0c840:	3b 9d 00 0c 	addi    r28,r29,12                             
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0c844:	85 3d 00 04 	lwzu    r9,4(r29)                              
ffc0c848:	83 c9 00 04 	lwz     r30,4(r9)                              
    if ( !information )                                               
ffc0c84c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0c850:	41 9e 00 48 	beq-    cr7,ffc0c898 <rtems_iterate_over_all_threads+0x88>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c854:	a0 1e 00 10 	lhz     r0,16(r30)                             
ffc0c858:	70 09 ff ff 	andi.   r9,r0,65535                            
ffc0c85c:	41 82 00 3c 	beq-    ffc0c898 <rtems_iterate_over_all_threads+0x88>
ffc0c860:	3b e0 00 01 	li      r31,1                                  
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0c864:	81 7e 00 1c 	lwz     r11,28(r30)                            
ffc0c868:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c86c:	3b ff 00 01 	addi    r31,r31,1                              
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0c870:	7c 6b 48 2e 	lwzx    r3,r11,r9                              
                                                                      
      if ( !the_thread )                                              
ffc0c874:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c878:	41 9e 00 14 	beq-    cr7,ffc0c88c <rtems_iterate_over_all_threads+0x7c>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0c87c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c880:	7c 09 03 a6 	mtctr   r0                                     
ffc0c884:	4e 80 04 21 	bctrl                                          
ffc0c888:	a0 1e 00 10 	lhz     r0,16(r30)                             
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0c88c:	54 09 04 3e 	clrlwi  r9,r0,16                               
ffc0c890:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc0c894:	40 9c ff d0 	bge+    cr7,ffc0c864 <rtems_iterate_over_all_threads+0x54>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0c898:	7f 9d e0 00 	cmpw    cr7,r29,r28                            
ffc0c89c:	40 9e ff a8 	bne+    cr7,ffc0c844 <rtems_iterate_over_all_threads+0x34>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0c8a0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c8a4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0c8a8:	7c 08 03 a6 	mtlr    r0                                     
ffc0c8ac:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0c8b0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0c8b4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c8b8:	38 21 00 20 	addi    r1,r1,32                               
ffc0c8bc:	4e 80 00 20 	blr                                            
                                                                      

ffc0ecf8 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
ffc0ecf8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ecfc:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0ed00:	38 80 00 00 	li      r4,0                                   
ffc0ed04:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0ed08:	3f c0 00 00 	lis     r30,0                                  
ffc0ed0c:	38 a0 00 00 	li      r5,0                                   
ffc0ed10:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0ed14:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ed18:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0ed1c:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ed20:	4b ff 9f 91 	bl      ffc08cb0 <rtems_semaphore_obtain>      
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
ffc0ed24:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ed28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ed2c:	41 be 00 08 	beq+    cr7,ffc0ed34 <rtems_libio_free+0x3c>   <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
ffc0ed30:	4b ff 9e a5 	bl      ffc08bd4 <rtems_semaphore_delete>      
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0ed34:	81 7f 00 18 	lwz     r11,24(r31)                            
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0ed38:	3d 20 00 00 	lis     r9,0                                   
ffc0ed3c:	80 09 27 90 	lwz     r0,10128(r9)                           
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0ed40:	55 6b 06 2c 	rlwinm  r11,r11,0,24,22                        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0ed44:	80 7e 27 94 	lwz     r3,10132(r30)                          
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0ed48:	90 1f 00 38 	stw     r0,56(r31)                             
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0ed4c:	91 7f 00 18 	stw     r11,24(r31)                            
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
ffc0ed50:	93 e9 27 90 	stw     r31,10128(r9)                          
ffc0ed54:	4b ff a0 e5 	bl      ffc08e38 <rtems_semaphore_release>     
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
ffc0ed58:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ed5c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ed60:	7c 08 03 a6 	mtlr    r0                                     
ffc0ed64:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ed68:	38 21 00 10 	addi    r1,r1,16                               
ffc0ed6c:	4e 80 00 20 	blr                                            
                                                                      

ffc04c14 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
ffc04c14:	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)                                  
ffc04c18:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04c1c:	7c 08 02 a6 	mflr    r0                                     
ffc04c20:	93 e1 00 0c 	stw     r31,12(r1)                             
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04c24:	83 e9 26 cc 	lwz     r31,9932(r9)                           
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04c28:	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)                                  
ffc04c2c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04c30:	41 9e 00 68 	beq-    cr7,ffc04c98 <rtems_libio_init+0x84>   <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc04c34:	7f e3 fb 78 	mr      r3,r31                                 
ffc04c38:	38 80 00 40 	li      r4,64                                  
ffc04c3c:	4b ff fb c5 	bl      ffc04800 <calloc>                      
ffc04c40:	3d 20 00 00 	lis     r9,0                                   
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04c44:	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,
ffc04c48:	90 69 27 8c 	stw     r3,10124(r9)                           
ffc04c4c:	7c 6b 1b 78 	mr      r11,r3                                 
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04c50:	41 9e 00 a0 	beq-    cr7,ffc04cf0 <rtems_libio_init+0xdc>   
            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++)  
ffc04c54:	2b 9f 00 01 	cmplwi  cr7,r31,1                              
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
ffc04c58:	3d 20 00 00 	lis     r9,0                                   
ffc04c5c:	90 69 27 90 	stw     r3,10128(r9)                           
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04c60:	40 9d 00 30 	ble-    cr7,ffc04c90 <rtems_libio_init+0x7c>   <== NEVER TAKEN
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
ffc04c64:	3b ff ff ff 	addi    r31,r31,-1                             
ffc04c68:	7f e9 03 a6 	mtctr   r31                                    
ffc04c6c:	39 23 00 40 	addi    r9,r3,64                               
ffc04c70:	39 60 00 01 	li      r11,1                                  
        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++)  
          iop->data1 = iop + 1;                                       
ffc04c74:	91 29 ff f8 	stw     r9,-8(r9)                              
ffc04c78:	39 6b 00 01 	addi    r11,r11,1                              
ffc04c7c:	39 29 00 40 	addi    r9,r9,64                               
                                                    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++)  
ffc04c80:	42 00 ff f4 	bdnz+   ffc04c74 <rtems_libio_init+0x60>       
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
ffc04c84:	39 6b ff ff 	addi    r11,r11,-1                             
ffc04c88:	55 6b 30 32 	rlwinm  r11,r11,6,0,25                         
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04c8c:	7d 63 5a 14 	add     r11,r3,r11                             
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
ffc04c90:	38 00 00 00 	li      r0,0                                   
ffc04c94:	90 0b 00 38 	stw     r0,56(r11)                             
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
ffc04c98:	3c 60 4c 42 	lis     r3,19522                               
ffc04c9c:	3c e0 00 00 	lis     r7,0                                   
ffc04ca0:	60 63 49 4f 	ori     r3,r3,18767                            
ffc04ca4:	38 80 00 01 	li      r4,1                                   
ffc04ca8:	38 a0 00 54 	li      r5,84                                  
ffc04cac:	38 c0 00 00 	li      r6,0                                   
ffc04cb0:	38 e7 27 94 	addi    r7,r7,10132                            
ffc04cb4:	48 00 3c fd 	bl      ffc089b0 <rtems_semaphore_create>      
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
ffc04cb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04cbc:	40 9e 00 30 	bne-    cr7,ffc04cec <rtems_libio_init+0xd8>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
ffc04cc0:	3d 20 00 00 	lis     r9,0                                   
ffc04cc4:	80 09 26 c8 	lwz     r0,9928(r9)                            
ffc04cc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04ccc:	41 9e 00 0c 	beq-    cr7,ffc04cd8 <rtems_libio_init+0xc4>   <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
ffc04cd0:	7c 09 03 a6 	mtctr   r0                                     
ffc04cd4:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc04cd8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04cdc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04ce0:	38 21 00 10 	addi    r1,r1,16                               
ffc04ce4:	7c 08 03 a6 	mtlr    r0                                     
ffc04ce8:	4e 80 00 20 	blr                                            
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
ffc04cec:	48 00 49 51 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
ffc04cf0:	38 60 00 1a 	li      r3,26                                  
ffc04cf4:	48 00 49 49 	bl      ffc0963c <rtems_fatal_error_occurred>  
                                                                      

ffc0ee3c <rtems_libio_is_file_open>: */ int rtems_libio_is_file_open( void *node_access ) {
ffc0ee3c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ee40:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0ee44:	38 80 00 00 	li      r4,0                                   
ffc0ee48:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0ee4c:	3f c0 00 00 	lis     r30,0                                  
ffc0ee50:	38 a0 00 00 	li      r5,0                                   
ffc0ee54:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0ee58:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ee5c:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0ee60:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0ee64:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0ee68:	4b ff 9e 49 	bl      ffc08cb0 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0ee6c:	3d 20 00 00 	lis     r9,0                                   
ffc0ee70:	80 09 26 cc 	lwz     r0,9932(r9)                            
ffc0ee74:	3d 20 00 00 	lis     r9,0                                   
ffc0ee78:	81 29 27 8c 	lwz     r9,10124(r9)                           
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
ffc0ee7c:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0ee80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ee84:	41 9e 00 30 	beq-    cr7,ffc0eeb4 <rtems_libio_is_file_open+0x78><== NEVER TAKEN
ffc0ee88:	7c 09 03 a6 	mtctr   r0                                     
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0ee8c:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0ee90:	70 0b 01 00 	andi.   r11,r0,256                             
ffc0ee94:	41 82 00 10 	beq-    ffc0eea4 <rtems_libio_is_file_open+0x68>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
ffc0ee98:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc0ee9c:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0eea0:	41 9e 00 3c 	beq-    cr7,ffc0eedc <rtems_libio_is_file_open+0xa0>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0eea4:	42 40 00 0c 	bdz-    ffc0eeb0 <rtems_libio_is_file_open+0x74>
ffc0eea8:	39 29 00 40 	addi    r9,r9,64                               
ffc0eeac:	4b ff ff e0 	b       ffc0ee8c <rtems_libio_is_file_open+0x50>
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
ffc0eeb0:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0eeb4:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0eeb8:	4b ff 9f 81 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0eebc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0eec0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0eec4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0eec8:	7c 08 03 a6 	mtlr    r0                                     
ffc0eecc:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0eed0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0eed4:	38 21 00 18 	addi    r1,r1,24                               
ffc0eed8:	4e 80 00 20 	blr                                            
ffc0eedc:	80 7e 27 94 	lwz     r3,10132(r30)                          
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
          result = 1;                                                 
ffc0eee0:	3b a0 00 01 	li      r29,1                                  
ffc0eee4:	4b ff 9f 55 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0eee8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0eeec:	7f a3 eb 78 	mr      r3,r29                                 
ffc0eef0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0eef4:	7c 08 03 a6 	mtlr    r0                                     
ffc0eef8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0eefc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ef00:	38 21 00 18 	addi    r1,r1,24                               
ffc0ef04:	4e 80 00 20 	blr                                            
                                                                      

ffc0ed70 <rtems_libio_is_open_files_in_fs>: */ int rtems_libio_is_open_files_in_fs( rtems_filesystem_mount_table_entry_t * fs_mt_entry ) {
ffc0ed70:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ed74:	7c 08 02 a6 	mflr    r0                                     
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0ed78:	38 80 00 00 	li      r4,0                                   
ffc0ed7c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0ed80:	3f c0 00 00 	lis     r30,0                                  
ffc0ed84:	38 a0 00 00 	li      r5,0                                   
ffc0ed88:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0ed8c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ed90:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0ed94:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0ed98:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0ed9c:	4b ff 9f 15 	bl      ffc08cb0 <rtems_semaphore_obtain>      
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0eda0:	3d 20 00 00 	lis     r9,0                                   
ffc0eda4:	80 09 26 cc 	lwz     r0,9932(r9)                            
ffc0eda8:	3d 20 00 00 	lis     r9,0                                   
ffc0edac:	81 29 27 8c 	lwz     r9,10124(r9)                           
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
ffc0edb0:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0edb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0edb8:	41 9e 00 30 	beq-    cr7,ffc0ede8 <rtems_libio_is_open_files_in_fs+0x78><== NEVER TAKEN
ffc0edbc:	7c 09 03 a6 	mtctr   r0                                     
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0edc0:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0edc4:	70 0b 01 00 	andi.   r11,r0,256                             
ffc0edc8:	41 82 00 10 	beq-    ffc0edd8 <rtems_libio_is_open_files_in_fs+0x68>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
ffc0edcc:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0edd0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0edd4:	41 9e 00 3c 	beq-    cr7,ffc0ee10 <rtems_libio_is_open_files_in_fs+0xa0>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0edd8:	42 40 00 0c 	bdz-    ffc0ede4 <rtems_libio_is_open_files_in_fs+0x74>
ffc0eddc:	39 29 00 40 	addi    r9,r9,64                               
ffc0ede0:	4b ff ff e0 	b       ffc0edc0 <rtems_libio_is_open_files_in_fs+0x50>
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
ffc0ede4:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0ede8:	80 7e 27 94 	lwz     r3,10132(r30)                          
ffc0edec:	4b ff a0 4d 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0edf0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0edf4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0edf8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0edfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ee00:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ee04:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ee08:	38 21 00 18 	addi    r1,r1,24                               
ffc0ee0c:	4e 80 00 20 	blr                                            
ffc0ee10:	80 7e 27 94 	lwz     r3,10132(r30)                          
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
          result = 1;                                                 
ffc0ee14:	3b a0 00 01 	li      r29,1                                  
ffc0ee18:	4b ff a0 21 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
ffc0ee1c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ee20:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ee24:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ee28:	7c 08 03 a6 	mtlr    r0                                     
ffc0ee2c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ee30:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ee34:	38 21 00 18 	addi    r1,r1,24                               
ffc0ee38:	4e 80 00 20 	blr                                            
                                                                      

ffc062ec <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
ffc062ec:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc062f0:	7c 08 02 a6 	mflr    r0                                     
ffc062f4:	93 e1 00 54 	stw     r31,84(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);       
ffc062f8:	3f e0 ff c2 	lis     r31,-62                                
ffc062fc:	3b ff a7 98 	addi    r31,r31,-22632                         
    free(env);                                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc06300:	90 01 00 5c 	stw     r0,92(r1)                              
ffc06304:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc06308:	93 c1 00 50 	stw     r30,80(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);       
ffc0630c:	3b c1 00 08 	addi    r30,r1,8                               
    free(env);                                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc06310:	93 21 00 3c 	stw     r25,60(r1)                             
ffc06314:	93 41 00 40 	stw     r26,64(r1)                             
ffc06318:	93 61 00 44 	stw     r27,68(r1)                             
ffc0631c:	93 81 00 48 	stw     r28,72(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
ffc06320:	48 00 39 05 	bl      ffc09c24 <rtems_task_self>             
ffc06324:	7c 7d 1b 78 	mr      r29,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);       
ffc06328:	38 80 00 01 	li      r4,1                                   
ffc0632c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06330:	38 a0 00 00 	li      r5,0                                   
ffc06334:	7f c6 f3 78 	mr      r6,r30                                 
ffc06338:	38 e0 00 00 	li      r7,0                                   
ffc0633c:	4b ff e8 51 	bl      ffc04b8c <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc06340:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc06344:	38 60 00 1a 	li      r3,26                                  
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
ffc06348:	41 9e 00 30 	beq-    cr7,ffc06378 <rtems_libio_set_private_env+0x8c><== ALWAYS TAKEN
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc0634c:	80 01 00 5c 	lwz     r0,92(r1)                              <== NOT EXECUTED
ffc06350:	83 21 00 3c 	lwz     r25,60(r1)                             <== NOT EXECUTED
ffc06354:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06358:	83 41 00 40 	lwz     r26,64(r1)                             <== NOT EXECUTED
ffc0635c:	83 61 00 44 	lwz     r27,68(r1)                             <== NOT EXECUTED
ffc06360:	83 81 00 48 	lwz     r28,72(r1)                             <== NOT EXECUTED
ffc06364:	83 a1 00 4c 	lwz     r29,76(r1)                             <== NOT EXECUTED
ffc06368:	83 c1 00 50 	lwz     r30,80(r1)                             <== NOT EXECUTED
ffc0636c:	83 e1 00 54 	lwz     r31,84(r1)                             <== NOT EXECUTED
ffc06370:	38 21 00 58 	addi    r1,r1,88                               <== NOT EXECUTED
ffc06374:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
ffc06378:	3b 81 00 1c 	addi    r28,r1,28                              
ffc0637c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06380:	38 80 00 01 	li      r4,1                                   
ffc06384:	38 a0 00 00 	li      r5,0                                   
ffc06388:	7f 86 e3 78 	mr      r6,r28                                 
ffc0638c:	38 e0 00 00 	li      r7,0                                   
ffc06390:	4b ff e7 fd 	bl      ffc04b8c <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc06394:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06398:	40 9e 01 04 	bne-    cr7,ffc0649c <rtems_libio_set_private_env+0x1b0><== 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                  
ffc0639c:	3f 20 00 00 	lis     r25,0                                  
ffc063a0:	83 f9 26 fc 	lwz     r31,9980(r25)                          
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
ffc063a4:	3f 60 00 00 	lis     r27,0                                  
ffc063a8:	3b 7b 2b 10 	addi    r27,r27,11024                          
ffc063ac:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
ffc063b0:	41 9e 00 10 	beq-    cr7,ffc063c0 <rtems_libio_set_private_env+0xd4>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
ffc063b4:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc063b8:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc063bc:	41 9e 00 3c 	beq-    cr7,ffc063f8 <rtems_libio_set_private_env+0x10c>
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
ffc063c0:	38 60 00 48 	li      r3,72                                  
ffc063c4:	4b ff f1 31 	bl      ffc054f4 <malloc>                      
    if (new_env == NULL)                                              
ffc063c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
ffc063cc:	7c 7f 1b 78 	mr      r31,r3                                 
    if (new_env == NULL)                                              
ffc063d0:	41 9e 00 c4 	beq-    cr7,ffc06494 <rtems_libio_set_private_env+0x1a8>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
ffc063d4:	3c a0 ff c0 	lis     r5,-64                                 
ffc063d8:	38 60 00 00 	li      r3,0                                   
ffc063dc:	38 99 26 fc 	addi    r4,r25,9980                            
ffc063e0:	38 a5 62 9c 	addi    r5,r5,25244                            
ffc063e4:	48 00 39 81 	bl      ffc09d64 <rtems_task_variable_add>     
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc063e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc063ec:	40 9e 00 a0 	bne-    cr7,ffc0648c <rtems_libio_set_private_env+0x1a0>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
ffc063f0:	3d 20 00 00 	lis     r9,0                                   
ffc063f4:	93 e9 26 fc 	stw     r31,9980(r9)                           
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
ffc063f8:	7f e3 fb 78 	mr      r3,r31                                 
ffc063fc:	7f 64 db 78 	mr      r4,r27                                 
ffc06400:	38 a0 00 48 	li      r5,72                                  
ffc06404:	48 00 e3 4d 	bl      ffc14750 <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;                                   
ffc06408:	80 01 00 08 	lwz     r0,8(r1)                               
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
ffc0640c:	93 bf 00 00 	stw     r29,0(r31)                             
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc06410:	38 60 00 00 	li      r3,0                                   
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
ffc06414:	90 1f 00 18 	stw     r0,24(r31)                             
ffc06418:	80 01 00 0c 	lwz     r0,12(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc0641c:	83 21 00 3c 	lwz     r25,60(r1)                             
   * 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;                                   
ffc06420:	90 1f 00 1c 	stw     r0,28(r31)                             
ffc06424:	80 01 00 10 	lwz     r0,16(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc06428:	83 41 00 40 	lwz     r26,64(r1)                             
   * 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;                                   
ffc0642c:	90 1f 00 20 	stw     r0,32(r31)                             
ffc06430:	80 01 00 14 	lwz     r0,20(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc06434:	83 61 00 44 	lwz     r27,68(r1)                             
   * 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;                                   
ffc06438:	90 1f 00 24 	stw     r0,36(r31)                             
ffc0643c:	80 01 00 18 	lwz     r0,24(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc06440:	83 81 00 48 	lwz     r28,72(r1)                             
   * 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;                                   
ffc06444:	90 1f 00 28 	stw     r0,40(r31)                             
  rtems_filesystem_current = current_loc;                             
ffc06448:	80 01 00 1c 	lwz     r0,28(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc0644c:	83 a1 00 4c 	lwz     r29,76(r1)                             
   * 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;                             
ffc06450:	90 1f 00 04 	stw     r0,4(r31)                              
ffc06454:	80 01 00 20 	lwz     r0,32(r1)                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc06458:	83 c1 00 50 	lwz     r30,80(r1)                             
   * 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;                             
ffc0645c:	90 1f 00 08 	stw     r0,8(r31)                              
ffc06460:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06464:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc06468:	80 01 00 28 	lwz     r0,40(r1)                              
ffc0646c:	90 1f 00 10 	stw     r0,16(r31)                             
ffc06470:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06474:	90 1f 00 14 	stw     r0,20(r31)                             
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc06478:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc0647c:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc06480:	38 21 00 58 	addi    r1,r1,88                               
ffc06484:	7c 08 03 a6 	mtlr    r0                                     
ffc06488:	4e 80 00 20 	blr                                            
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error_3:                                                              
  free(new_env);                                                      
ffc0648c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06490:	4b ff e8 85 	bl      ffc04d14 <free>                        
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
ffc06494:	7f 83 e3 78 	mr      r3,r28                                 
ffc06498:	4b ff e8 51 	bl      ffc04ce8 <rtems_filesystem_freenode>   
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
ffc0649c:	7f c3 f3 78 	mr      r3,r30                                 
ffc064a0:	4b ff e8 49 	bl      ffc04ce8 <rtems_filesystem_freenode>   
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
ffc064a4:	80 01 00 5c 	lwz     r0,92(r1)                              
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc064a8:	38 60 00 1a 	li      r3,26                                  
}                                                                     
ffc064ac:	83 21 00 3c 	lwz     r25,60(r1)                             
ffc064b0:	7c 08 03 a6 	mtlr    r0                                     
ffc064b4:	83 41 00 40 	lwz     r26,64(r1)                             
ffc064b8:	83 61 00 44 	lwz     r27,68(r1)                             
ffc064bc:	83 81 00 48 	lwz     r28,72(r1)                             
ffc064c0:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc064c4:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc064c8:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc064cc:	38 21 00 58 	addi    r1,r1,88                               
ffc064d0:	4e 80 00 20 	blr                                            
                                                                      

ffc064d4 <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) {
ffc064d4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc064d8:	7c 08 02 a6 	mflr    r0                                     
ffc064dc:	93 81 00 18 	stw     r28,24(r1)                             
ffc064e0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc064e4:	93 a1 00 1c 	stw     r29,28(r1)                             
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
ffc064e8:	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)     
{                                                                     
ffc064ec:	93 e1 00 24 	stw     r31,36(r1)                             
ffc064f0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc064f4:	93 c1 00 20 	stw     r30,32(r1)                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc064f8:	48 00 37 2d 	bl      ffc09c24 <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 )                                    
ffc064fc:	7f 9c 18 00 	cmpw    cr7,r28,r3                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc06500:	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 )                                    
ffc06504:	41 9e 00 38 	beq-    cr7,ffc0653c <rtems_libio_share_private_env+0x68><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
ffc06508:	3f c0 00 00 	lis     r30,0                                  
ffc0650c:	7f 83 e3 78 	mr      r3,r28                                 
ffc06510:	38 9e 26 fc 	addi    r4,r30,9980                            
ffc06514:	38 a1 00 08 	addi    r5,r1,8                                
ffc06518:	48 00 39 61 	bl      ffc09e78 <rtems_task_variable_get>     
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0651c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc06520:	40 82 00 1c 	bne-    ffc0653c <rtems_libio_share_private_env+0x68>
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
ffc06524:	80 7e 26 fc 	lwz     r3,9980(r30)                           
ffc06528:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0652c:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc06530:	41 9e 00 30 	beq-    cr7,ffc06560 <rtems_libio_share_private_env+0x8c>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
ffc06534:	80 01 00 08 	lwz     r0,8(r1)                               
ffc06538:	90 1e 26 fc 	stw     r0,9980(r30)                           
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0653c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06540:	7f a3 eb 78 	mr      r3,r29                                 
ffc06544:	83 81 00 18 	lwz     r28,24(r1)                             
ffc06548:	7c 08 03 a6 	mtlr    r0                                     
ffc0654c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06550:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06554:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06558:	38 21 00 28 	addi    r1,r1,40                               
ffc0655c:	4e 80 00 20 	blr                                            
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
ffc06560:	4b ff fd 3d 	bl      ffc0629c <free_user_env>               
ffc06564:	4b ff ff d0 	b       ffc06534 <rtems_libio_share_private_env+0x60>
                                                                      

ffc0ebd4 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
ffc0ebd4:	54 60 07 7c 	rlwinm  r0,r3,0,29,30                          
ffc0ebd8:	2f 80 00 06 	cmpwi   cr7,r0,6                               
    fcntl_flags |= O_RDWR;                                            
ffc0ebdc:	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 ) { 
ffc0ebe0:	41 9e 00 10 	beq-    cr7,ffc0ebf0 <rtems_libio_to_fcntl_flags+0x1c>
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0ebe4:	70 60 00 02 	andi.   r0,r3,2                                
    fcntl_flags |= O_RDONLY;                                          
ffc0ebe8:	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) {       
ffc0ebec:	41 82 00 30 	beq-    ffc0ec1c <rtems_libio_to_fcntl_flags+0x48><== NEVER TAKEN
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
ffc0ebf0:	70 69 00 01 	andi.   r9,r3,1                                
ffc0ebf4:	41 82 00 08 	beq-    ffc0ebfc <rtems_libio_to_fcntl_flags+0x28>
    fcntl_flags |= O_NONBLOCK;                                        
ffc0ebf8:	60 00 40 00 	ori     r0,r0,16384                            
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
ffc0ebfc:	70 69 02 00 	andi.   r9,r3,512                              
ffc0ec00:	41 82 00 08 	beq-    ffc0ec08 <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_APPEND;                                          
ffc0ec04:	60 00 00 08 	ori     r0,r0,8                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
ffc0ec08:	70 69 04 00 	andi.   r9,r3,1024                             
ffc0ec0c:	41 82 00 08 	beq-    ffc0ec14 <rtems_libio_to_fcntl_flags+0x40>
    fcntl_flags |= O_CREAT;                                           
ffc0ec10:	60 00 02 00 	ori     r0,r0,512                              
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
ffc0ec14:	7c 03 03 78 	mr      r3,r0                                  
ffc0ec18:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
ffc0ec1c:	54 60 f7 fe 	rlwinm  r0,r3,30,31,31                         <== NOT EXECUTED
ffc0ec20:	4b ff ff d0 	b       ffc0ebf0 <rtems_libio_to_fcntl_flags+0x1c><== NOT EXECUTED
                                                                      

ffc08930 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
ffc08930:	94 21 ff e8 	stwu    r1,-24(r1)                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08934:	3d 20 00 00 	lis     r9,0                                   
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08938:	7c 08 02 a6 	mflr    r0                                     
ffc0893c:	7c 64 1b 78 	mr      r4,r3                                  
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08940:	80 69 27 64 	lwz     r3,10084(r9)                           
ffc08944:	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                                                       
)                                                                     
{                                                                     
ffc08948:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc0894c:	48 00 78 b5 	bl      ffc10200 <_Protected_heap_Get_block_size>
ffc08950:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08954:	41 9e 00 2c 	beq-    cr7,ffc08980 <rtems_malloc_statistics_at_free+0x50><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
ffc08958:	3d 00 00 00 	lis     r8,0                                   
ffc0895c:	81 41 00 08 	lwz     r10,8(r1)                              
ffc08960:	39 08 34 28 	addi    r8,r8,13352                            
ffc08964:	81 68 00 28 	lwz     r11,40(r8)                             
ffc08968:	39 20 00 00 	li      r9,0                                   
ffc0896c:	81 88 00 2c 	lwz     r12,44(r8)                             
ffc08970:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc08974:	7d 29 59 14 	adde    r9,r9,r11                              
ffc08978:	91 28 00 28 	stw     r9,40(r8)                              
ffc0897c:	91 48 00 2c 	stw     r10,44(r8)                             
  }                                                                   
}                                                                     
ffc08980:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08984:	38 21 00 18 	addi    r1,r1,24                               
ffc08988:	7c 08 03 a6 	mtlr    r0                                     
ffc0898c:	4e 80 00 20 	blr                                            
                                                                      

ffc08990 <rtems_malloc_statistics_at_malloc>: { uintptr_t actual_size = 0; uint32_t current_depth; rtems_malloc_statistics_t *s = &rtems_malloc_statistics; if ( !pointer )
ffc08990:	7c 64 1b 79 	mr.     r4,r3                                  
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08994:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc08998:	7c 08 02 a6 	mflr    r0                                     
ffc0899c:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t actual_size = 0;                                          
ffc089a0:	38 00 00 00 	li      r0,0                                   
ffc089a4:	90 01 00 08 	stw     r0,8(r1)                               
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
ffc089a8:	41 82 00 54 	beq-    ffc089fc <rtems_malloc_statistics_at_malloc+0x6c><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
ffc089ac:	3d 20 00 00 	lis     r9,0                                   
ffc089b0:	80 69 27 64 	lwz     r3,10084(r9)                           
ffc089b4:	38 a1 00 08 	addi    r5,r1,8                                
ffc089b8:	48 00 78 49 	bl      ffc10200 <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc089bc:	3d 00 00 00 	lis     r8,0                                   
ffc089c0:	39 08 34 28 	addi    r8,r8,13352                            
ffc089c4:	81 41 00 08 	lwz     r10,8(r1)                              
ffc089c8:	81 68 00 20 	lwz     r11,32(r8)                             
ffc089cc:	39 20 00 00 	li      r9,0                                   
ffc089d0:	81 88 00 24 	lwz     r12,36(r8)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc089d4:	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);                            
ffc089d8:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc089dc:	7d 29 59 14 	adde    r9,r9,r11                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc089e0:	81 68 00 18 	lwz     r11,24(r8)                             
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc089e4:	91 28 00 20 	stw     r9,32(r8)                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc089e8:	7c 00 50 50 	subf    r0,r0,r10                              
  if (current_depth > s->max_depth)                                   
ffc089ec:	7f 80 58 40 	cmplw   cr7,r0,r11                             
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc089f0:	91 48 00 24 	stw     r10,36(r8)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc089f4:	40 9d 00 08 	ble-    cr7,ffc089fc <rtems_malloc_statistics_at_malloc+0x6c>
      s->max_depth = current_depth;                                   
ffc089f8:	90 08 00 18 	stw     r0,24(r8)                              
}                                                                     
ffc089fc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08a00:	38 21 00 18 	addi    r1,r1,24                               
ffc08a04:	7c 08 03 a6 	mtlr    r0                                     
ffc08a08:	4e 80 00 20 	blr                                            
                                                                      

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

ffc122cc <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
ffc122cc:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc122d0:	7d 80 00 26 	mfcr    r12                                    
ffc122d4:	7c 08 02 a6 	mflr    r0                                     
ffc122d8:	93 61 00 6c 	stw     r27,108(r1)                            
ffc122dc:	7c 9b 23 78 	mr      r27,r4                                 
ffc122e0:	93 c1 00 78 	stw     r30,120(r1)                            
ffc122e4:	90 01 00 84 	stw     r0,132(r1)                             
ffc122e8:	93 01 00 60 	stw     r24,96(r1)                             
ffc122ec:	93 21 00 64 	stw     r25,100(r1)                            
ffc122f0:	93 41 00 68 	stw     r26,104(r1)                            
ffc122f4:	93 81 00 70 	stw     r28,112(r1)                            
ffc122f8:	93 a1 00 74 	stw     r29,116(r1)                            
ffc122fc:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc12300:	91 81 00 5c 	stw     r12,92(r1)                             
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
ffc12304:	48 00 48 41 	bl      ffc16b44 <strdup>                      
                                                                      
  if (dup_path != NULL) {                                             
ffc12308:	7c 7e 1b 79 	mr.     r30,r3                                 
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc1230c:	38 60 ff ff 	li      r3,-1                                  
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
ffc12310:	41 82 01 2c 	beq-    ffc1243c <rtems_mkdir+0x170>           <== NEVER TAKEN
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc12314:	88 1e 00 00 	lbz     r0,0(r30)                              
ffc12318:	7f df f3 78 	mr      r31,r30                                
ffc1231c:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc12320:	41 9e 01 64 	beq-    cr7,ffc12484 <rtems_mkdir+0x1b8>       
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc12324:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc12328:	3b a0 00 00 	li      r29,0                                  
ffc1232c:	39 20 00 01 	li      r9,1                                   
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc12330:	3b 80 00 2f 	li      r28,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) {                                    
ffc12334:	3b 21 00 08 	addi    r25,r1,8                               
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc12338:	3b 40 00 00 	li      r26,0                                  
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc1233c:	41 9e 00 18 	beq-    cr7,ffc12354 <rtems_mkdir+0x88>        <== NEVER TAKEN
      last = 1;                                                       
    else if (p[0] != '/')                                             
ffc12340:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc12344:	41 9e 00 a8 	beq-    cr7,ffc123ec <rtems_mkdir+0x120>       
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc12348:	8c 1f 00 01 	lbzu    r0,1(r31)                              
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc1234c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12350:	40 be ff f0 	bne-    cr7,ffc12340 <rtems_mkdir+0x74>        
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc12354:	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';                                                        
ffc12358:	98 1f 00 00 	stb     r0,0(r31)                              
ffc1235c:	3b 00 00 01 	li      r24,1                                  
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc12360:	41 be 00 a4 	beq+    cr7,ffc12404 <rtems_mkdir+0x138>       
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc12364:	2e 18 00 00 	cmpwi   cr4,r24,0                              
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
ffc12368:	38 60 00 00 	li      r3,0                                   
ffc1236c:	48 00 02 51 	bl      ffc125bc <umask>                       
ffc12370:	7c 7d 1b 78 	mr      r29,r3                                 
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
ffc12374:	54 63 06 ae 	rlwinm  r3,r3,0,26,23                          
ffc12378:	48 00 02 45 	bl      ffc125bc <umask>                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc1237c:	41 b2 00 90 	beq+    cr4,ffc1240c <rtems_mkdir+0x140>       
      (void)umask(oumask);                                            
ffc12380:	7f a3 eb 78 	mr      r3,r29                                 
ffc12384:	48 00 02 39 	bl      ffc125bc <umask>                       
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc12388:	7f 64 db 78 	mr      r4,r27                                 
ffc1238c:	7f c3 f3 78 	mr      r3,r30                                 
ffc12390:	4b ff 47 d1 	bl      ffc06b60 <mkdir>                       
ffc12394:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12398:	40 bc 00 88 	bge+    cr7,ffc12420 <rtems_mkdir+0x154>       
      if (errno == EEXIST || errno == EISDIR) {                       
ffc1239c:	48 00 35 19 	bl      ffc158b4 <__errno>                     
ffc123a0:	80 03 00 00 	lwz     r0,0(r3)                               
ffc123a4:	2f 80 00 11 	cmpwi   cr7,r0,17                              
ffc123a8:	41 9e 00 14 	beq-    cr7,ffc123bc <rtems_mkdir+0xf0>        
ffc123ac:	48 00 35 09 	bl      ffc158b4 <__errno>                     
ffc123b0:	80 03 00 00 	lwz     r0,0(r3)                               
ffc123b4:	2f 80 00 15 	cmpwi   cr7,r0,21                              
ffc123b8:	40 9e 01 1c 	bne-    cr7,ffc124d4 <rtems_mkdir+0x208>       <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
ffc123bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc123c0:	7f 24 cb 78 	mr      r4,r25                                 
ffc123c4:	48 00 01 19 	bl      ffc124dc <stat>                        
ffc123c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc123cc:	41 9c 01 08 	blt-    cr7,ffc124d4 <rtems_mkdir+0x208>       <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
ffc123d0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc123d4:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc123d8:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc123dc:	40 9e 00 b4 	bne-    cr7,ffc12490 <rtems_mkdir+0x1c4>       
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
ffc123e0:	41 92 00 94 	beq-    cr4,ffc12474 <rtems_mkdir+0x1a8>       
          retval = 2;                                                 
ffc123e4:	3b e0 00 02 	li      r31,2                                  
ffc123e8:	48 00 00 40 	b       ffc12428 <rtems_mkdir+0x15c>           
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc123ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
ffc123f0:	8b 1f 00 01 	lbz     r24,1(r31)                             
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc123f4:	9b 5f 00 00 	stb     r26,0(r31)                             
    if (!last && p[1] == '\0')                                        
ffc123f8:	7f 18 00 34 	cntlzw  r24,r24                                
ffc123fc:	57 18 d9 7e 	rlwinm  r24,r24,27,5,31                        
      last = 1;                                                       
    if (first) {                                                      
ffc12400:	40 be ff 64 	bne-    cr7,ffc12364 <rtems_mkdir+0x98>        
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc12404:	2e 18 00 00 	cmpwi   cr4,r24,0                              
ffc12408:	40 b2 ff 78 	bne-    cr4,ffc12380 <rtems_mkdir+0xb4>        
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc1240c:	38 80 01 ff 	li      r4,511                                 
ffc12410:	7f c3 f3 78 	mr      r3,r30                                 
ffc12414:	4b ff 47 4d 	bl      ffc06b60 <mkdir>                       
ffc12418:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1241c:	41 bc ff 80 	blt-    cr7,ffc1239c <rtems_mkdir+0xd0>        
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
ffc12420:	41 92 00 54 	beq-    cr4,ffc12474 <rtems_mkdir+0x1a8>       
ffc12424:	3b e0 00 01 	li      r31,1                                  
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc12428:	7f c3 f3 78 	mr      r3,r30                                 
ffc1242c:	4b ff 3e 1d 	bl      ffc06248 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc12430:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc12434:	38 60 00 00 	li      r3,0                                   
ffc12438:	41 9e 00 94 	beq-    cr7,ffc124cc <rtems_mkdir+0x200>       <== NEVER TAKEN
}                                                                     
ffc1243c:	80 01 00 84 	lwz     r0,132(r1)                             
ffc12440:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc12444:	7c 08 03 a6 	mtlr    r0                                     
ffc12448:	83 01 00 60 	lwz     r24,96(r1)                             
ffc1244c:	83 21 00 64 	lwz     r25,100(r1)                            
ffc12450:	7d 80 81 20 	mtcrf   8,r12                                  
ffc12454:	83 41 00 68 	lwz     r26,104(r1)                            
ffc12458:	83 61 00 6c 	lwz     r27,108(r1)                            
ffc1245c:	83 81 00 70 	lwz     r28,112(r1)                            
ffc12460:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc12464:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc12468:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc1246c:	38 21 00 80 	addi    r1,r1,128                              
ffc12470:	4e 80 00 20 	blr                                            
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc12474:	9b 9f 00 00 	stb     r28,0(r31)                             
ffc12478:	39 20 00 00 	li      r9,0                                   
ffc1247c:	8c 1f 00 01 	lbzu    r0,1(r31)                              
ffc12480:	4b ff fe cc 	b       ffc1234c <rtems_mkdir+0x80>            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
ffc12484:	88 1e 00 01 	lbz     r0,1(r30)                              
ffc12488:	3b fe 00 01 	addi    r31,r30,1                              
ffc1248c:	4b ff fe 98 	b       ffc12324 <rtems_mkdir+0x58>            
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
ffc12490:	41 92 00 20 	beq-    cr4,ffc124b0 <rtems_mkdir+0x1e4>       
            errno = EEXIST;                                           
ffc12494:	48 00 34 21 	bl      ffc158b4 <__errno>                     
ffc12498:	38 00 00 11 	li      r0,17                                  
ffc1249c:	90 03 00 00 	stw     r0,0(r3)                               
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc124a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc124a4:	4b ff 3d a5 	bl      ffc06248 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc124a8:	38 60 ff ff 	li      r3,-1                                  
ffc124ac:	4b ff ff 90 	b       ffc1243c <rtems_mkdir+0x170>           
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
ffc124b0:	48 00 34 05 	bl      ffc158b4 <__errno>                     
ffc124b4:	38 00 00 14 	li      r0,20                                  
ffc124b8:	90 03 00 00 	stw     r0,0(r3)                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
    (void)umask(oumask);                                              
ffc124bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc124c0:	48 00 00 fd 	bl      ffc125bc <umask>                       
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc124c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc124c8:	4b ff 3d 81 	bl      ffc06248 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc124cc:	38 60 ff ff 	li      r3,-1                                  
ffc124d0:	4b ff ff 6c 	b       ffc1243c <rtems_mkdir+0x170>           
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
ffc124d4:	41 92 ff e8 	beq+    cr4,ffc124bc <rtems_mkdir+0x1f0>       <== NEVER TAKEN
ffc124d8:	4b ff ff ec 	b       ffc124c4 <rtems_mkdir+0x1f8>           
                                                                      

ffc0ada0 <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
ffc0ada0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ada4:	7c 08 02 a6 	mflr    r0                                     
ffc0ada8:	93 e1 00 0c 	stw     r31,12(r1)                             
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0adac:	7c bf 2b 79 	mr.     r31,r5                                 
rtems_status_code rtems_object_get_class_information(                 
  int                                 the_api,                        
  int                                 the_class,                      
  rtems_object_api_class_information *info                            
)                                                                     
{                                                                     
ffc0adb0:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
ffc0adb4:	38 00 00 09 	li      r0,9                                   
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0adb8:	41 82 00 7c 	beq-    ffc0ae34 <rtems_object_get_class_information+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
ffc0adbc:	54 84 04 3e 	clrlwi  r4,r4,16                               
ffc0adc0:	48 00 25 45 	bl      ffc0d304 <_Objects_Get_information>    
  if ( !obj_info )                                                    
    return RTEMS_INVALID_NUMBER;                                      
ffc0adc4:	38 00 00 0a 	li      r0,10                                  
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
ffc0adc8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0adcc:	41 82 00 68 	beq-    ffc0ae34 <rtems_object_get_class_information+0x94>
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
ffc0add0:	a1 03 00 10 	lhz     r8,16(r3)                              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0add4:	80 03 00 08 	lwz     r0,8(r3)                               
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0add8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
ffc0addc:	81 63 00 0c 	lwz     r11,12(r3)                             
  info->auto_extend = obj_info->auto_extend;                          
ffc0ade0:	89 23 00 12 	lbz     r9,18(r3)                              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0ade4:	90 1f 00 00 	stw     r0,0(r31)                              
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0ade8:	38 00 00 00 	li      r0,0                                   
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
ffc0adec:	91 7f 00 04 	stw     r11,4(r31)                             
  info->auto_extend = obj_info->auto_extend;                          
ffc0adf0:	99 3f 00 0c 	stb     r9,12(r31)                             
  info->maximum     = obj_info->maximum;                              
ffc0adf4:	91 1f 00 08 	stw     r8,8(r31)                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0adf8:	41 9e 00 34 	beq-    cr7,ffc0ae2c <rtems_object_get_class_information+0x8c><== NEVER TAKEN
ffc0adfc:	80 e3 00 1c 	lwz     r7,28(r3)                              
ffc0ae00:	39 60 00 01 	li      r11,1                                  
ffc0ae04:	39 20 00 01 	li      r9,1                                   
ffc0ae08:	39 29 00 01 	addi    r9,r9,1                                
ffc0ae0c:	7f 88 48 40 	cmplw   cr7,r8,r9                              
    if ( !obj_info->local_table[i] )                                  
ffc0ae10:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
ffc0ae14:	7d 47 58 2e 	lwzx    r10,r7,r11                             
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0ae18:	7d 2b 4b 78 	mr      r11,r9                                 
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
ffc0ae1c:	20 ca 00 00 	subfic  r6,r10,0                               
ffc0ae20:	7c c0 01 94 	addze   r6,r0                                  
ffc0ae24:	7c c0 33 78 	mr      r0,r6                                  
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0ae28:	40 9c ff e0 	bge+    cr7,ffc0ae08 <rtems_object_get_class_information+0x68>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
ffc0ae2c:	90 1f 00 10 	stw     r0,16(r31)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0ae30:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0ae34:	7c 03 03 78 	mr      r3,r0                                  
ffc0ae38:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ae3c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ae40:	38 21 00 10 	addi    r1,r1,16                               
ffc0ae44:	7c 08 03 a6 	mtlr    r0                                     
ffc0ae48:	4e 80 00 20 	blr                                            
                                                                      

ffc0adf0 <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
ffc0adf0:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0adf4:	7c 08 02 a6 	mflr    r0                                     
ffc0adf8:	90 81 00 1c 	stw     r4,28(r1)                              
ffc0adfc:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0ae00:	90 a1 00 20 	stw     r5,32(r1)                              
ffc0ae04:	90 c1 00 24 	stw     r6,36(r1)                              
ffc0ae08:	90 e1 00 28 	stw     r7,40(r1)                              
ffc0ae0c:	91 01 00 2c 	stw     r8,44(r1)                              
ffc0ae10:	91 21 00 30 	stw     r9,48(r1)                              
ffc0ae14:	91 41 00 34 	stw     r10,52(r1)                             
ffc0ae18:	40 86 00 24 	bne-    cr1,ffc0ae3c <rtems_panic+0x4c>        <== ALWAYS TAKEN
ffc0ae1c:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc0ae20:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc0ae24:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc0ae28:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc0ae2c:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc0ae30:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc0ae34:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc0ae38:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ae3c:	38 00 00 01 	li      r0,1                                   
ffc0ae40:	98 01 00 08 	stb     r0,8(r1)                               
ffc0ae44:	38 00 00 00 	li      r0,0                                   
                                                                      
void rtems_panic(                                                     
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
ffc0ae48:	7c 64 1b 78 	mr      r4,r3                                  
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ae4c:	98 01 00 09 	stb     r0,9(r1)                               
ffc0ae50:	38 01 00 80 	addi    r0,r1,128                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc0ae54:	38 a1 00 08 	addi    r5,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ae58:	90 01 00 0c 	stw     r0,12(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc0ae5c:	3c 60 20 00 	lis     r3,8192                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc0ae60:	38 01 00 18 	addi    r0,r1,24                               
ffc0ae64:	90 01 00 10 	stw     r0,16(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc0ae68:	4b ff fc fd 	bl      ffc0ab64 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
ffc0ae6c:	3c 80 ff c3 	lis     r4,-61                                 
ffc0ae70:	38 84 bd bc 	addi    r4,r4,-16964                           
ffc0ae74:	38 60 00 00 	li      r3,0                                   
ffc0ae78:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ae7c:	4b ff fe 9d 	bl      ffc0ad18 <rtems_error>                 
  _exit(errno);                                                       
ffc0ae80:	48 00 f8 01 	bl      ffc1a680 <__errno>                     
ffc0ae84:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0ae88:	48 00 0d 81 	bl      ffc0bc08 <_exit>                       
                                                                      

ffc18484 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc18484:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc18488:	7c 08 02 a6 	mflr    r0                                     
ffc1848c:	93 e1 00 2c 	stw     r31,44(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc18490:	7c 7f 1b 79 	mr.     r31,r3                                 
    return RTEMS_INVALID_NAME;                                        
ffc18494:	38 60 00 03 	li      r3,3                                   
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc18498:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1849c:	7c be 2b 78 	mr      r30,r5                                 
ffc184a0:	90 01 00 34 	stw     r0,52(r1)                              
ffc184a4:	93 61 00 1c 	stw     r27,28(r1)                             
ffc184a8:	93 81 00 20 	stw     r28,32(r1)                             
ffc184ac:	93 a1 00 24 	stw     r29,36(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc184b0:	41 82 00 48 	beq-    ffc184f8 <rtems_partition_create+0x74> 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc184b4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc184b8:	38 60 00 09 	li      r3,9                                   
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc184bc:	41 9e 00 3c 	beq-    cr7,ffc184f8 <rtems_partition_create+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc184c0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc184c4:	41 9e 00 34 	beq-    cr7,ffc184f8 <rtems_partition_create+0x74><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc184c8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc184cc:	38 60 00 08 	li      r3,8                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc184d0:	41 9e 00 28 	beq-    cr7,ffc184f8 <rtems_partition_create+0x74>
ffc184d4:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc184d8:	41 9e 00 20 	beq-    cr7,ffc184f8 <rtems_partition_create+0x74>
ffc184dc:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc184e0:	41 9c 00 18 	blt-    cr7,ffc184f8 <rtems_partition_create+0x74>
ffc184e4:	70 c0 00 07 	andi.   r0,r6,7                                
ffc184e8:	40 82 00 10 	bne-    ffc184f8 <rtems_partition_create+0x74> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc184ec:	70 9b 00 07 	andi.   r27,r4,7                               
     return RTEMS_INVALID_ADDRESS;                                    
ffc184f0:	38 60 00 09 	li      r3,9                                   
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc184f4:	41 82 00 28 	beq-    ffc1851c <rtems_partition_create+0x98> 
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc184f8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc184fc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc18500:	7c 08 03 a6 	mtlr    r0                                     
ffc18504:	83 81 00 20 	lwz     r28,32(r1)                             
ffc18508:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1850c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc18510:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc18514:	38 21 00 30 	addi    r1,r1,48                               
ffc18518:	4e 80 00 20 	blr                                            
ffc1851c:	3d 20 00 00 	lis     r9,0                                   
ffc18520:	81 69 28 a0 	lwz     r11,10400(r9)                          
ffc18524:	38 0b 00 01 	addi    r0,r11,1                               
ffc18528:	90 09 28 a0 	stw     r0,10400(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 );
ffc1852c:	3f 80 00 00 	lis     r28,0                                  
ffc18530:	90 81 00 08 	stw     r4,8(r1)                               
ffc18534:	3b 9c 6e e0 	addi    r28,r28,28384                          
ffc18538:	7f 83 e3 78 	mr      r3,r28                                 
ffc1853c:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc18540:	90 e1 00 10 	stw     r7,16(r1)                              
ffc18544:	91 01 00 14 	stw     r8,20(r1)                              
ffc18548:	48 00 60 4d 	bl      ffc1e594 <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc1854c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc18550:	80 81 00 08 	lwz     r4,8(r1)                               
ffc18554:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc18558:	80 e1 00 10 	lwz     r7,16(r1)                              
ffc1855c:	81 01 00 14 	lwz     r8,20(r1)                              
ffc18560:	41 82 00 50 	beq-    ffc185b0 <rtems_partition_create+0x12c>
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc18564:	7c be 33 96 	divwu   r5,r30,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc18568:	90 9d 00 10 	stw     r4,16(r29)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc1856c:	90 dd 00 18 	stw     r6,24(r29)                             
  the_partition->attribute_set         = attribute_set;               
ffc18570:	90 fd 00 1c 	stw     r7,28(r29)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc18574:	93 dd 00 14 	stw     r30,20(r29)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
ffc18578:	93 7d 00 20 	stw     r27,32(r29)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc1857c:	91 01 00 14 	stw     r8,20(r1)                              
ffc18580:	38 7d 00 24 	addi    r3,r29,36                              
ffc18584:	48 00 42 51 	bl      ffc1c7d4 <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc18588:	80 1d 00 08 	lwz     r0,8(r29)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc1858c:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc18590:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc18594:	7f ab 49 2e 	stwx    r29,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc18598:	93 fd 00 0c 	stw     r31,12(r29)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc1859c:	81 01 00 14 	lwz     r8,20(r1)                              
ffc185a0:	90 08 00 00 	stw     r0,0(r8)                               
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc185a4:	48 00 75 6d 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc185a8:	38 60 00 00 	li      r3,0                                   
ffc185ac:	4b ff ff 4c 	b       ffc184f8 <rtems_partition_create+0x74> 
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
ffc185b0:	48 00 75 61 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc185b4:	38 60 00 05 	li      r3,5                                   
ffc185b8:	4b ff ff 40 	b       ffc184f8 <rtems_partition_create+0x74> 
                                                                      

ffc18748 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc18748:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1874c:	7c 08 02 a6 	mflr    r0                                     
ffc18750:	90 01 00 24 	stw     r0,36(r1)                              
ffc18754:	7c 60 1b 78 	mr      r0,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
ffc18758:	3c 60 00 00 	lis     r3,0                                   
ffc1875c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc18760:	38 63 6e e0 	addi    r3,r3,28384                            
ffc18764:	7c 9f 23 78 	mr      r31,r4                                 
ffc18768:	38 a1 00 08 	addi    r5,r1,8                                
ffc1876c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc18770:	7c 04 03 78 	mr      r4,r0                                  
ffc18774:	48 00 64 85 	bl      ffc1ebf8 <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc18778:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1877c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc18780:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc18784:	38 60 00 04 	li      r3,4                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc18788:	40 9e 00 58 	bne-    cr7,ffc187e0 <rtems_partition_return_buffer+0x98>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc1878c:	80 1e 00 10 	lwz     r0,16(r30)                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc18790:	81 3e 00 14 	lwz     r9,20(r30)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc18794:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc18798:	41 9c 00 60 	blt-    cr7,ffc187f8 <rtems_partition_return_buffer+0xb0>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc1879c:	7d 20 4a 14 	add     r9,r0,r9                               
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc187a0:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc187a4:	41 9d 00 54 	bgt-    cr7,ffc187f8 <rtems_partition_return_buffer+0xb0><== NEVER TAKEN
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
ffc187a8:	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);      
ffc187ac:	7c 00 f8 50 	subf    r0,r0,r31                              
ffc187b0:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc187b4:	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 ) &&         
ffc187b8:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc187bc:	40 9e 00 3c 	bne-    cr7,ffc187f8 <rtems_partition_return_buffer+0xb0>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
ffc187c0:	38 7e 00 24 	addi    r3,r30,36                              
ffc187c4:	7f e4 fb 78 	mr      r4,r31                                 
ffc187c8:	48 00 3f 71 	bl      ffc1c738 <_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;                    
ffc187cc:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc187d0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc187d4:	90 1e 00 20 	stw     r0,32(r30)                             
        _Thread_Enable_dispatch();                                    
ffc187d8:	48 00 73 39 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc187dc:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc187e0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc187e4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc187e8:	7c 08 03 a6 	mtlr    r0                                     
ffc187ec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc187f0:	38 21 00 20 	addi    r1,r1,32                               
ffc187f4:	4e 80 00 20 	blr                                            
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc187f8:	48 00 73 19 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc187fc:	80 01 00 24 	lwz     r0,36(r1)                              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
ffc18800:	38 60 00 09 	li      r3,9                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc18804:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc18808:	7c 08 03 a6 	mtlr    r0                                     
ffc1880c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc18810:	38 21 00 20 	addi    r1,r1,32                               
ffc18814:	4e 80 00 20 	blr                                            
                                                                      

ffc03e58 <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
ffc03e58:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
ffc03e5c:	2c 04 00 00 	cmpwi   r4,0                                   
                                                                      
void rtems_print_buffer(                                              
  const unsigned char *buffer,                                        
  int                  length                                         
)                                                                     
{                                                                     
ffc03e60:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc03e64:	7c 08 02 a6 	mflr    r0                                     
ffc03e68:	92 c1 00 98 	stw     r22,152(r1)                            
ffc03e6c:	7c 76 1b 78 	mr      r22,r3                                 
ffc03e70:	90 01 00 c4 	stw     r0,196(r1)                             
ffc03e74:	92 61 00 8c 	stw     r19,140(r1)                            
ffc03e78:	92 81 00 90 	stw     r20,144(r1)                            
ffc03e7c:	92 a1 00 94 	stw     r21,148(r1)                            
ffc03e80:	92 e1 00 9c 	stw     r23,156(r1)                            
ffc03e84:	93 01 00 a0 	stw     r24,160(r1)                            
ffc03e88:	93 21 00 a4 	stw     r25,164(r1)                            
ffc03e8c:	93 41 00 a8 	stw     r26,168(r1)                            
ffc03e90:	93 61 00 ac 	stw     r27,172(r1)                            
ffc03e94:	93 81 00 b0 	stw     r28,176(r1)                            
ffc03e98:	93 a1 00 b4 	stw     r29,180(r1)                            
ffc03e9c:	93 c1 00 b8 	stw     r30,184(r1)                            
ffc03ea0:	93 e1 00 bc 	stw     r31,188(r1)                            
ffc03ea4:	91 81 00 88 	stw     r12,136(r1)                            
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
ffc03ea8:	41 82 01 0c 	beq-    ffc03fb4 <rtems_print_buffer+0x15c>    
                                                                      
  mod = length % 16;                                                  
ffc03eac:	7c 98 26 70 	srawi   r24,r4,4                               
ffc03eb0:	7f 18 01 94 	addze   r24,r24                                
ffc03eb4:	57 18 20 36 	rlwinm  r24,r24,4,0,27                         
ffc03eb8:	7f 18 20 50 	subf    r24,r24,r4                             
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
ffc03ebc:	7e b8 20 51 	subf.   r21,r24,r4                             
ffc03ec0:	40 81 00 ec 	ble-    ffc03fac <rtems_print_buffer+0x154>    
ffc03ec4:	3f 40 ff c2 	lis     r26,-62                                
ffc03ec8:	3f 60 00 00 	lis     r27,0                                  
ffc03ecc:	3f 80 ff c2 	lis     r28,-62                                
ffc03ed0:	3e e0 ff c2 	lis     r23,-62                                
ffc03ed4:	3b 20 00 00 	li      r25,0                                  
ffc03ed8:	3b 5a 0e b8 	addi    r26,r26,3768                           
ffc03edc:	3b e1 00 08 	addi    r31,r1,8                               
ffc03ee0:	3b 7b 27 6c 	addi    r27,r27,10092                          
ffc03ee4:	3b 9c 0e c0 	addi    r28,r28,3776                           
ffc03ee8:	3a f7 0e c8 	addi    r23,r23,3784                           
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
ffc03eec:	3a 60 00 00 	li      r19,0                                  
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
ffc03ef0:	3a 80 7c 00 	li      r20,31744                              
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
ffc03ef4:	9a 61 00 08 	stb     r19,8(r1)                              
static inline void Dump_Line(                                         
  const unsigned char *buffer,                                        
  int                  length                                         
);                                                                    
                                                                      
void rtems_print_buffer(                                              
ffc03ef8:	7f b6 ca 14 	add     r29,r22,r25                            
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc03efc:	3b c0 00 00 	li      r30,0                                  
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
ffc03f00:	7c dd f0 ae 	lbzx    r6,r29,r30                             
ffc03f04:	7f e3 fb 78 	mr      r3,r31                                 
ffc03f08:	7f 44 d3 78 	mr      r4,r26                                 
ffc03f0c:	7f e5 fb 78 	mr      r5,r31                                 
ffc03f10:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03f14:	48 01 07 4d 	bl      ffc14660 <sprintf>                     
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc03f18:	2f 9e 00 0f 	cmpwi   cr7,r30,15                             
ffc03f1c:	3b de 00 01 	addi    r30,r30,1                              
ffc03f20:	40 9e ff e0 	bne+    cr7,ffc03f00 <rtems_print_buffer+0xa8> 
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
ffc03f24:	7f e3 fb 78 	mr      r3,r31                                 
ffc03f28:	48 01 0b 59 	bl      ffc14a80 <strlen>                      
  for( i=0 ; i<length ; i++ )                                         
ffc03f2c:	3b c0 00 00 	li      r30,0                                  
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
ffc03f30:	7e 9f 1b 2e 	sthx    r20,r31,r3                             
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc03f34:	7c 1d f0 ae 	lbzx    r0,r29,r30                             
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc03f38:	7f e3 fb 78 	mr      r3,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc03f3c:	81 3b 00 00 	lwz     r9,0(r27)                              
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc03f40:	7f 84 e3 78 	mr      r4,r28                                 
ffc03f44:	7f e5 fb 78 	mr      r5,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc03f48:	7d 29 02 14 	add     r9,r9,r0                               
ffc03f4c:	89 29 00 01 	lbz     r9,1(r9)                               
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc03f50:	38 c0 00 2e 	li      r6,46                                  
ffc03f54:	71 2b 00 97 	andi.   r11,r9,151                             
ffc03f58:	41 82 00 08 	beq-    ffc03f60 <rtems_print_buffer+0x108>    
ffc03f5c:	7c 06 03 78 	mr      r6,r0                                  
ffc03f60:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03f64:	48 01 06 fd 	bl      ffc14660 <sprintf>                     
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
ffc03f68:	2f 9e 00 0f 	cmpwi   cr7,r30,15                             
ffc03f6c:	3b de 00 01 	addi    r30,r30,1                              
ffc03f70:	40 9e ff c4 	bne+    cr7,ffc03f34 <rtems_print_buffer+0xdc> 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
ffc03f74:	7f e3 fb 78 	mr      r3,r31                                 
ffc03f78:	48 01 0b 09 	bl      ffc14a80 <strlen>                      
ffc03f7c:	a1 57 00 00 	lhz     r10,0(r23)                             
ffc03f80:	89 77 00 02 	lbz     r11,2(r23)                             
ffc03f84:	7c 60 1b 78 	mr      r0,r3                                  
ffc03f88:	7d 3f 1a 14 	add     r9,r31,r3                              
ffc03f8c:	7d 5f 03 2e 	sthx    r10,r31,r0                             
                                                                      
  printk( line_buffer );                                              
ffc03f90:	7f e3 fb 78 	mr      r3,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
ffc03f94:	99 69 00 02 	stb     r11,2(r9)                              
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
ffc03f98:	3b 39 00 10 	addi    r25,r25,16                             
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
                                                                      
  printk( line_buffer );                                              
ffc03f9c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03fa0:	48 00 1f 71 	bl      ffc05f10 <printk>                      
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
ffc03fa4:	7f 95 c8 00 	cmpw    cr7,r21,r25                            
ffc03fa8:	41 9d ff 4c 	bgt+    cr7,ffc03ef4 <rtems_print_buffer+0x9c> 
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
ffc03fac:	2e 18 00 00 	cmpwi   cr4,r24,0                              
ffc03fb0:	40 92 00 50 	bne-    cr4,ffc04000 <rtems_print_buffer+0x1a8>
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
ffc03fb4:	80 01 00 c4 	lwz     r0,196(r1)                             
ffc03fb8:	81 81 00 88 	lwz     r12,136(r1)                            
ffc03fbc:	7c 08 03 a6 	mtlr    r0                                     
ffc03fc0:	82 61 00 8c 	lwz     r19,140(r1)                            
ffc03fc4:	82 81 00 90 	lwz     r20,144(r1)                            
ffc03fc8:	7d 81 81 20 	mtcrf   24,r12                                 
ffc03fcc:	82 a1 00 94 	lwz     r21,148(r1)                            
ffc03fd0:	82 c1 00 98 	lwz     r22,152(r1)                            
ffc03fd4:	82 e1 00 9c 	lwz     r23,156(r1)                            
ffc03fd8:	83 01 00 a0 	lwz     r24,160(r1)                            
ffc03fdc:	83 21 00 a4 	lwz     r25,164(r1)                            
ffc03fe0:	83 41 00 a8 	lwz     r26,168(r1)                            
ffc03fe4:	83 61 00 ac 	lwz     r27,172(r1)                            
ffc03fe8:	83 81 00 b0 	lwz     r28,176(r1)                            
ffc03fec:	83 a1 00 b4 	lwz     r29,180(r1)                            
ffc03ff0:	83 c1 00 b8 	lwz     r30,184(r1)                            
ffc03ff4:	83 e1 00 bc 	lwz     r31,188(r1)                            
ffc03ff8:	38 21 00 c0 	addi    r1,r1,192                              
ffc03ffc:	4e 80 00 20 	blr                                            
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
ffc04000:	38 00 00 00 	li      r0,0                                   
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
ffc04004:	7e d6 aa 14 	add     r22,r22,r21                            
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
ffc04008:	98 01 00 08 	stb     r0,8(r1)                               
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc0400c:	40 91 01 28 	ble-    cr4,ffc04134 <rtems_print_buffer+0x2dc>
ffc04010:	3f 40 ff c2 	lis     r26,-62                                
ffc04014:	3b c0 00 00 	li      r30,0                                  
ffc04018:	3b 5a 0e b8 	addi    r26,r26,3768                           
ffc0401c:	3b e1 00 08 	addi    r31,r1,8                               
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
ffc04020:	7c d6 f0 ae 	lbzx    r6,r22,r30                             
ffc04024:	7f e3 fb 78 	mr      r3,r31                                 
ffc04028:	7f 44 d3 78 	mr      r4,r26                                 
ffc0402c:	7f e5 fb 78 	mr      r5,r31                                 
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc04030:	3b de 00 01 	addi    r30,r30,1                              
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
ffc04034:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04038:	48 01 06 29 	bl      ffc14660 <sprintf>                     
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc0403c:	7f 98 f0 00 	cmpw    cr7,r24,r30                            
ffc04040:	41 9d ff e0 	bgt+    cr7,ffc04020 <rtems_print_buffer+0x1c8>
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc04044:	2d 98 00 0f 	cmpwi   cr3,r24,15                             
ffc04048:	7f 1e c3 78 	mr      r30,r24                                
ffc0404c:	41 8d 00 f4 	bgt-    cr3,ffc04140 <rtems_print_buffer+0x2e8><== NEVER TAKEN
    strcat( line_buffer, "   " );                                     
ffc04050:	3f a0 20 20 	lis     r29,8224                               
ffc04054:	63 bd 20 00 	ori     r29,r29,8192                           
ffc04058:	7f e3 fb 78 	mr      r3,r31                                 
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc0405c:	3b de 00 01 	addi    r30,r30,1                              
    strcat( line_buffer, "   " );                                     
ffc04060:	48 01 0a 21 	bl      ffc14a80 <strlen>                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc04064:	2f 9e 00 0f 	cmpwi   cr7,r30,15                             
    strcat( line_buffer, "   " );                                     
ffc04068:	7f bf 19 2e 	stwx    r29,r31,r3                             
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc0406c:	40 9d ff ec 	ble+    cr7,ffc04058 <rtems_print_buffer+0x200>
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
ffc04070:	7f e3 fb 78 	mr      r3,r31                                 
ffc04074:	48 01 0a 0d 	bl      ffc14a80 <strlen>                      
ffc04078:	38 00 7c 00 	li      r0,31744                               
ffc0407c:	7c 1f 1b 2e 	sthx    r0,r31,r3                              
  for( i=0 ; i<length ; i++ )                                         
ffc04080:	40 91 00 d4 	ble-    cr4,ffc04154 <rtems_print_buffer+0x2fc>
ffc04084:	2d 98 00 0f 	cmpwi   cr3,r24,15                             
ffc04088:	3f 60 00 00 	lis     r27,0                                  
ffc0408c:	3f 80 ff c2 	lis     r28,-62                                
ffc04090:	3b c0 00 00 	li      r30,0                                  
ffc04094:	3b 7b 27 6c 	addi    r27,r27,10092                          
ffc04098:	3b 9c 0e c0 	addi    r28,r28,3776                           
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc0409c:	7c 16 f0 ae 	lbzx    r0,r22,r30                             
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc040a0:	7f e3 fb 78 	mr      r3,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc040a4:	81 3b 00 00 	lwz     r9,0(r27)                              
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc040a8:	7f 84 e3 78 	mr      r4,r28                                 
ffc040ac:	7f e5 fb 78 	mr      r5,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
ffc040b0:	7d 29 02 14 	add     r9,r9,r0                               
ffc040b4:	89 29 00 01 	lbz     r9,1(r9)                               
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
ffc040b8:	3b de 00 01 	addi    r30,r30,1                              
    sprintf( line_buffer, "%s%c", line_buffer,                        
ffc040bc:	38 c0 00 2e 	li      r6,46                                  
ffc040c0:	71 2b 00 97 	andi.   r11,r9,151                             
ffc040c4:	41 82 00 08 	beq-    ffc040cc <rtems_print_buffer+0x274>    
ffc040c8:	7c 06 03 78 	mr      r6,r0                                  
ffc040cc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc040d0:	48 01 05 91 	bl      ffc14660 <sprintf>                     
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
ffc040d4:	7f 98 f0 00 	cmpw    cr7,r24,r30                            
ffc040d8:	41 9d ff c4 	bgt+    cr7,ffc0409c <rtems_print_buffer+0x244>
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc040dc:	41 8d 00 20 	bgt-    cr3,ffc040fc <rtems_print_buffer+0x2a4><== NEVER TAKEN
    strcat( line_buffer, " " );                                       
ffc040e0:	3b c0 20 00 	li      r30,8192                               
ffc040e4:	7f e3 fb 78 	mr      r3,r31                                 
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc040e8:	3b 18 00 01 	addi    r24,r24,1                              
    strcat( line_buffer, " " );                                       
ffc040ec:	48 01 09 95 	bl      ffc14a80 <strlen>                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc040f0:	2f 98 00 0f 	cmpwi   cr7,r24,15                             
    strcat( line_buffer, " " );                                       
ffc040f4:	7f df 1b 2e 	sthx    r30,r31,r3                             
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
ffc040f8:	40 9d ff ec 	ble+    cr7,ffc040e4 <rtems_print_buffer+0x28c>
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
ffc040fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc04100:	48 01 09 81 	bl      ffc14a80 <strlen>                      
ffc04104:	3d 20 ff c2 	lis     r9,-62                                 
ffc04108:	39 69 0e c8 	addi    r11,r9,3784                            
ffc0410c:	a1 49 0e c8 	lhz     r10,3784(r9)                           
ffc04110:	89 6b 00 02 	lbz     r11,2(r11)                             
ffc04114:	7c 60 1b 78 	mr      r0,r3                                  
ffc04118:	7d 3f 1a 14 	add     r9,r31,r3                              
ffc0411c:	7d 5f 03 2e 	sthx    r10,r31,r0                             
                                                                      
  printk( line_buffer );                                              
ffc04120:	7f e3 fb 78 	mr      r3,r31                                 
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
ffc04124:	99 69 00 02 	stb     r11,2(r9)                              
                                                                      
  printk( line_buffer );                                              
ffc04128:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0412c:	48 00 1d e5 	bl      ffc05f10 <printk>                      
ffc04130:	4b ff fe 84 	b       ffc03fb4 <rtems_print_buffer+0x15c>    
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
ffc04134:	3b c0 00 00 	li      r30,0                                  
ffc04138:	3b e1 00 08 	addi    r31,r1,8                               
ffc0413c:	4b ff ff 14 	b       ffc04050 <rtems_print_buffer+0x1f8>    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
ffc04140:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04144:	48 01 09 3d 	bl      ffc14a80 <strlen>                      <== NOT EXECUTED
ffc04148:	38 00 7c 00 	li      r0,31744                               <== NOT EXECUTED
ffc0414c:	7c 1f 1b 2e 	sthx    r0,r31,r3                              <== NOT EXECUTED
ffc04150:	4b ff ff 38 	b       ffc04088 <rtems_print_buffer+0x230>    <== NOT EXECUTED
  for( i=0 ; i<length ; i++ )                                         
ffc04154:	3b 00 00 00 	li      r24,0                                  
ffc04158:	4b ff ff 88 	b       ffc040e0 <rtems_print_buffer+0x288>    
                                                                      

ffc0a1d8 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc0a1d8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0a1dc:	7c 08 02 a6 	mflr    r0                                     
ffc0a1e0:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0a1e4:	7c 7f 1b 78 	mr      r31,r3                                 
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
ffc0a1e8:	3c 60 00 00 	lis     r3,0                                   
ffc0a1ec:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0a1f0:	38 63 2c 58 	addi    r3,r3,11352                            
ffc0a1f4:	7c 9e 23 78 	mr      r30,r4                                 
ffc0a1f8:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a1fc:	90 01 00 34 	stw     r0,52(r1)                              
ffc0a200:	7f e4 fb 78 	mr      r4,r31                                 
ffc0a204:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0a208:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0a20c:	93 81 00 20 	stw     r28,32(r1)                             
ffc0a210:	48 00 2e 59 	bl      ffc0d068 <_Objects_Get>                
ffc0a214:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc0a218:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a21c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a220:	41 9e 00 30 	beq-    cr7,ffc0a250 <rtems_rate_monotonic_period+0x78>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a224:	3b e0 00 04 	li      r31,4                                  
}                                                                     
ffc0a228:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0a22c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a230:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a234:	7c 08 03 a6 	mtlr    r0                                     
ffc0a238:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a23c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a240:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a244:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a248:	38 21 00 30 	addi    r1,r1,48                               
ffc0a24c:	4e 80 00 20 	blr                                            
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0a250:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc0a254:	81 23 00 40 	lwz     r9,64(r3)                              
ffc0a258:	3b 9c 32 24 	addi    r28,r28,12836                          
ffc0a25c:	80 1c 00 0c 	lwz     r0,12(r28)                             
ffc0a260:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0a264:	41 9e 00 34 	beq-    cr7,ffc0a298 <rtems_rate_monotonic_period+0xc0>
        _Thread_Enable_dispatch();                                    
ffc0a268:	48 00 3d 19 	bl      ffc0df80 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a26c:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
ffc0a270:	3b e0 00 17 	li      r31,23                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a274:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a278:	7c 08 03 a6 	mtlr    r0                                     
ffc0a27c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a280:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a284:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a288:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a28c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a290:	38 21 00 30 	addi    r1,r1,48                               
ffc0a294:	4e 80 00 20 	blr                                            
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
ffc0a298:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0a29c:	40 9e 00 1c 	bne-    cr7,ffc0a2b8 <rtems_rate_monotonic_period+0xe0>
        switch ( the_period->state ) {                                
ffc0a2a0:	80 03 00 38 	lwz     r0,56(r3)                              
ffc0a2a4:	3b e0 00 00 	li      r31,0                                  
ffc0a2a8:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc0a2ac:	40 9d 00 70 	ble-    cr7,ffc0a31c <rtems_rate_monotonic_period+0x144><== ALWAYS TAKEN
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc0a2b0:	48 00 3c d1 	bl      ffc0df80 <_Thread_Enable_dispatch>     <== NOT EXECUTED
        return( return_value );                                       
ffc0a2b4:	4b ff ff 74 	b       ffc0a228 <rtems_rate_monotonic_period+0x50><== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0a2b8:	7f 60 00 a6 	mfmsr   r27                                    
ffc0a2bc:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0a2c0:	7f 60 00 78 	andc    r0,r27,r0                              
ffc0a2c4:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc0a2c8:	80 03 00 38 	lwz     r0,56(r3)                              
ffc0a2cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a2d0:	41 9e 00 64 	beq-    cr7,ffc0a334 <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 ) {             
ffc0a2d4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0a2d8:	41 9e 00 ac 	beq-    cr7,ffc0a384 <rtems_rate_monotonic_period+0x1ac>
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc0a2dc:	2f 80 00 04 	cmpwi   cr7,r0,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a2e0:	3b e0 00 04 	li      r31,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc0a2e4:	40 9e ff 44 	bne+    cr7,ffc0a228 <rtems_rate_monotonic_period+0x50><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc0a2e8:	4b ff fd a9 	bl      ffc0a090 <_Rate_monotonic_Update_statistics>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0a2ec:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a2f0:	38 00 00 02 	li      r0,2                                   
        the_period->next_length = length;                             
ffc0a2f4:	93 dd 00 3c 	stw     r30,60(r29)                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a2f8:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a2fc:	90 1d 00 38 	stw     r0,56(r29)                             
ffc0a300:	38 63 2e 48 	addi    r3,r3,11848                            
ffc0a304:	38 9d 00 10 	addi    r4,r29,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a308:	93 dd 00 1c 	stw     r30,28(r29)                            
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
ffc0a30c:	3b e0 00 06 	li      r31,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a310:	48 00 52 c5 	bl      ffc0f5d4 <_Watchdog_Insert>            
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc0a314:	48 00 3c 6d 	bl      ffc0df80 <_Thread_Enable_dispatch>     
        return RTEMS_TIMEOUT;                                         
ffc0a318:	4b ff ff 10 	b       ffc0a228 <rtems_rate_monotonic_period+0x50>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
ffc0a31c:	3d 20 ff c2 	lis     r9,-62                                 
ffc0a320:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0a324:	39 29 2c 28 	addi    r9,r9,11304                            
ffc0a328:	7f e9 00 2e 	lwzx    r31,r9,r0                              
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc0a32c:	48 00 3c 55 	bl      ffc0df80 <_Thread_Enable_dispatch>     
ffc0a330:	4b ff fe f8 	b       ffc0a228 <rtems_rate_monotonic_period+0x50>
ffc0a334:	7f 60 01 24 	mtmsr   r27                                    
        _ISR_Enable( level );                                         
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc0a338:	4b ff fc a1 	bl      ffc09fd8 <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc0a33c:	39 20 00 02 	li      r9,2                                   
ffc0a340:	91 3d 00 38 	stw     r9,56(r29)                             
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc0a344:	3d 20 ff c1 	lis     r9,-63                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0a348:	38 00 00 00 	li      r0,0                                   
  the_watchdog->routine   = routine;                                  
ffc0a34c:	39 29 a7 ec 	addi    r9,r9,-22548                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0a350:	90 1d 00 18 	stw     r0,24(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a354:	3c 60 00 00 	lis     r3,0                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc0a358:	91 3d 00 2c 	stw     r9,44(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a35c:	38 63 2e 48 	addi    r3,r3,11848                            
ffc0a360:	38 9d 00 10 	addi    r4,r29,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc0a364:	93 fd 00 30 	stw     r31,48(r29)                            
                                                                      
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
ffc0a368:	3b e0 00 00 	li      r31,0                                  
  the_watchdog->user_data = user_data;                                
ffc0a36c:	90 1d 00 34 	stw     r0,52(r29)                             
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
ffc0a370:	93 dd 00 3c 	stw     r30,60(r29)                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc0a374:	93 dd 00 1c 	stw     r30,28(r29)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc0a378:	48 00 52 5d 	bl      ffc0f5d4 <_Watchdog_Insert>            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc0a37c:	48 00 3c 05 	bl      ffc0df80 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc0a380:	4b ff fe a8 	b       ffc0a228 <rtems_rate_monotonic_period+0x50>
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc0a384:	4b ff fd 0d 	bl      ffc0a090 <_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;         
ffc0a388:	38 00 00 01 	li      r0,1                                   
ffc0a38c:	90 1d 00 38 	stw     r0,56(r29)                             
        the_period->next_length = length;                             
ffc0a390:	93 dd 00 3c 	stw     r30,60(r29)                            
ffc0a394:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc0a398:	81 3c 00 0c 	lwz     r9,12(r28)                             
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a39c:	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;           
ffc0a3a0:	80 1d 00 08 	lwz     r0,8(r29)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a3a4:	7d 23 4b 78 	mr      r3,r9                                  
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc0a3a8:	90 09 00 20 	stw     r0,32(r9)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a3ac:	48 00 47 49 	bl      ffc0eaf4 <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0a3b0:	7d 20 00 a6 	mfmsr   r9                                     
ffc0a3b4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0a3b8:	7d 20 00 78 	andc    r0,r9,r0                               
ffc0a3bc:	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;                  
ffc0a3c0:	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;                            
ffc0a3c4:	80 1d 00 38 	lwz     r0,56(r29)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc0a3c8:	91 7d 00 38 	stw     r11,56(r29)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc0a3cc:	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 )   
ffc0a3d0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0a3d4:	41 9e 00 10 	beq-    cr7,ffc0a3e4 <rtems_rate_monotonic_period+0x20c><== NEVER TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
ffc0a3d8:	48 00 3b a9 	bl      ffc0df80 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc0a3dc:	3b e0 00 00 	li      r31,0                                  
ffc0a3e0:	4b ff fe 48 	b       ffc0a228 <rtems_rate_monotonic_period+0x50>
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc0a3e4:	80 7c 00 0c 	lwz     r3,12(r28)                             <== NOT EXECUTED
ffc0a3e8:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc0a3ec:	48 00 36 c9 	bl      ffc0dab4 <_Thread_Clear_state>         <== NOT EXECUTED
ffc0a3f0:	4b ff ff e8 	b       ffc0a3d8 <rtems_rate_monotonic_period+0x200><== NOT EXECUTED
                                                                      

ffc0a3f4 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc0a3f4:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc0a3f8:	7c 08 02 a6 	mflr    r0                                     
ffc0a3fc:	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 )                                                       
ffc0a400:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc0a404:	93 a1 00 9c 	stw     r29,156(r1)                            
ffc0a408:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0a40c:	92 41 00 70 	stw     r18,112(r1)                            
ffc0a410:	92 61 00 74 	stw     r19,116(r1)                            
ffc0a414:	92 81 00 78 	stw     r20,120(r1)                            
ffc0a418:	92 a1 00 7c 	stw     r21,124(r1)                            
ffc0a41c:	92 c1 00 80 	stw     r22,128(r1)                            
ffc0a420:	92 e1 00 84 	stw     r23,132(r1)                            
ffc0a424:	93 01 00 88 	stw     r24,136(r1)                            
ffc0a428:	93 21 00 8c 	stw     r25,140(r1)                            
ffc0a42c:	93 41 00 90 	stw     r26,144(r1)                            
ffc0a430:	93 61 00 94 	stw     r27,148(r1)                            
ffc0a434:	93 81 00 98 	stw     r28,152(r1)                            
ffc0a438:	93 c1 00 a0 	stw     r30,160(r1)                            
ffc0a43c:	93 e1 00 a4 	stw     r31,164(r1)                            
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc0a440:	90 01 00 68 	stw     r0,104(r1)                             
ffc0a444:	41 82 01 88 	beq-    ffc0a5cc <rtems_rate_monotonic_report_statistics_with_plugin+0x1d8><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc0a448:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a44c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a450:	38 84 2c 3c 	addi    r4,r4,11324                            
                                                                      
  /*                                                                  
   * 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 ;                   
ffc0a454:	3f c0 00 00 	lis     r30,0                                  
ffc0a458:	3b de 2c 58 	addi    r30,r30,11352                          
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc0a45c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a460:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc0a464:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a468:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a46c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a470:	38 84 2c 5c 	addi    r4,r4,11356                            
ffc0a474:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a478:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a47c:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc0a480:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a484:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a488:	7c 09 03 a6 	mtctr   r0                                     
ffc0a48c:	38 84 2c 80 	addi    r4,r4,11392                            
ffc0a490:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a494:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a498:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc0a49c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a4a0:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a4a4:	7c 09 03 a6 	mtctr   r0                                     
ffc0a4a8:	38 84 2c a4 	addi    r4,r4,11428                            
ffc0a4ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a4b0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a4b4:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc0a4b8:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a4bc:	3c 80 ff c2 	lis     r4,-62                                 
ffc0a4c0:	7c 09 03 a6 	mtctr   r0                                     
ffc0a4c4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a4c8:	38 84 2c f0 	addi    r4,r4,11504                            
ffc0a4cc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a4d0:	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 ;                   
ffc0a4d4:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0a4d8:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a4dc:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0a4e0:	41 9d 00 ec 	bgt-    cr7,ffc0a5cc <rtems_rate_monotonic_report_statistics_with_plugin+0x1d8><== NEVER TAKEN
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0a4e4:	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,                                              
ffc0a4e8:	3e 60 ff c2 	lis     r19,-62                                
ffc0a4ec:	3f 60 10 62 	lis     r27,4194                               
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
ffc0a4f0:	3e 40 ff c2 	lis     r18,-62                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a4f4:	3f 00 ff c2 	lis     r24,-62                                
ffc0a4f8:	3b 81 00 30 	addi    r28,r1,48                              
    #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 );      
ffc0a4fc:	3a a1 00 18 	addi    r21,r1,24                              
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc0a500:	3b 41 00 08 	addi    r26,r1,8                               
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0a504:	3a d6 2d 3c 	addi    r22,r22,11580                          
    {                                                                 
    #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;         
ffc0a508:	3a e1 00 48 	addi    r23,r1,72                              
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc0a50c:	3b 21 00 10 	addi    r25,r1,16                              
      (*print)( context,                                              
ffc0a510:	3a 73 2d 54 	addi    r19,r19,11604                          
ffc0a514:	63 7b 4d d3 	ori     r27,r27,19923                          
    {                                                                 
    #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;       
ffc0a518:	3a 81 00 60 	addi    r20,r1,96                              
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
ffc0a51c:	3a 52 2d 74 	addi    r18,r18,11636                          
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a520:	3b 18 19 20 	addi    r24,r24,6432                           
ffc0a524:	48 00 00 14 	b       ffc0a538 <rtems_rate_monotonic_report_statistics_with_plugin+0x144>
                                                                      
  /*                                                                  
   * 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 ;                   
ffc0a528:	80 1e 00 0c 	lwz     r0,12(r30)                             
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc0a52c:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
ffc0a530:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a534:	41 9c 00 98 	blt-    cr7,ffc0a5cc <rtems_rate_monotonic_report_statistics_with_plugin+0x1d8>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc0a538:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a53c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0a540:	48 00 80 15 	bl      ffc12554 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc0a544:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a548:	40 9e ff e0 	bne+    cr7,ffc0a528 <rtems_rate_monotonic_report_statistics_with_plugin+0x134>
    #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 );      
ffc0a54c:	7e a4 ab 78 	mr      r4,r21                                 
ffc0a550:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a554:	48 00 81 11 	bl      ffc12664 <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc0a558:	80 61 00 18 	lwz     r3,24(r1)                              
ffc0a55c:	7f 45 d3 78 	mr      r5,r26                                 
ffc0a560:	38 80 00 05 	li      r4,5                                   
ffc0a564:	48 00 03 51 	bl      ffc0a8b4 <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0a568:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a56c:	7e c4 b3 78 	mr      r4,r22                                 
ffc0a570:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc0a574:	7f e5 fb 78 	mr      r5,r31                                 
ffc0a578:	7c 09 03 a6 	mtctr   r0                                     
ffc0a57c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a580:	81 01 00 34 	lwz     r8,52(r1)                              
ffc0a584:	7f 46 d3 78 	mr      r6,r26                                 
ffc0a588:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a58c:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a590:	80 01 00 30 	lwz     r0,48(r1)                              
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc0a594:	7e e3 bb 78 	mr      r3,r23                                 
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a598:	2f 80 00 00 	cmpwi   cr7,r0,0                               
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc0a59c:	7f 25 cb 78 	mr      r5,r25                                 
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a5a0:	7f 04 c3 78 	mr      r4,r24                                 
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc0a5a4:	40 9e 00 70 	bne-    cr7,ffc0a614 <rtems_rate_monotonic_report_statistics_with_plugin+0x220>
      (*print)( context, "\n" );                                      
ffc0a5a8:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a5ac:	7f a3 eb 78 	mr      r3,r29                                 
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc0a5b0:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc0a5b4:	7c 09 03 a6 	mtctr   r0                                     
ffc0a5b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a5bc:	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 ;                   
ffc0a5c0:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a5c4:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a5c8:	40 9c ff 70 	bge+    cr7,ffc0a538 <rtems_rate_monotonic_report_statistics_with_plugin+0x144><== ALWAYS TAKEN
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0a5cc:	80 01 00 ac 	lwz     r0,172(r1)                             
ffc0a5d0:	82 41 00 70 	lwz     r18,112(r1)                            
ffc0a5d4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a5d8:	82 61 00 74 	lwz     r19,116(r1)                            
ffc0a5dc:	82 81 00 78 	lwz     r20,120(r1)                            
ffc0a5e0:	82 a1 00 7c 	lwz     r21,124(r1)                            
ffc0a5e4:	82 c1 00 80 	lwz     r22,128(r1)                            
ffc0a5e8:	82 e1 00 84 	lwz     r23,132(r1)                            
ffc0a5ec:	83 01 00 88 	lwz     r24,136(r1)                            
ffc0a5f0:	83 21 00 8c 	lwz     r25,140(r1)                            
ffc0a5f4:	83 41 00 90 	lwz     r26,144(r1)                            
ffc0a5f8:	83 61 00 94 	lwz     r27,148(r1)                            
ffc0a5fc:	83 81 00 98 	lwz     r28,152(r1)                            
ffc0a600:	83 a1 00 9c 	lwz     r29,156(r1)                            
ffc0a604:	83 c1 00 a0 	lwz     r30,160(r1)                            
ffc0a608:	83 e1 00 a4 	lwz     r31,164(r1)                            
ffc0a60c:	38 21 00 a8 	addi    r1,r1,168                              
ffc0a610:	4e 80 00 20 	blr                                            
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc0a614:	7c 04 03 78 	mr      r4,r0                                  
ffc0a618:	48 00 49 7d 	bl      ffc0ef94 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc0a61c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a620:	80 81 00 3c 	lwz     r4,60(r1)                              
ffc0a624:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a628:	81 61 00 44 	lwz     r11,68(r1)                             
ffc0a62c:	7d 40 d8 96 	mulhw   r10,r0,r27                             
ffc0a630:	80 e1 00 40 	lwz     r7,64(r1)                              
ffc0a634:	7c c4 d8 96 	mulhw   r6,r4,r27                              
ffc0a638:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0a63c:	80 a1 00 38 	lwz     r5,56(r1)                              
ffc0a640:	7d 0b d8 96 	mulhw   r8,r11,r27                             
ffc0a644:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc0a648:	7d 4a 36 70 	srawi   r10,r10,6                              
ffc0a64c:	7d 40 50 50 	subf    r10,r0,r10                             
ffc0a650:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a654:	7d 6b fe 70 	srawi   r11,r11,31                             
ffc0a658:	7c 84 fe 70 	srawi   r4,r4,31                               
ffc0a65c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a660:	7c c6 36 70 	srawi   r6,r6,6                                
ffc0a664:	7d 08 36 70 	srawi   r8,r8,6                                
ffc0a668:	7c c4 30 50 	subf    r6,r4,r6                               
ffc0a66c:	7d 0b 40 50 	subf    r8,r11,r8                              
ffc0a670:	7e 64 9b 78 	mr      r4,r19                                 
ffc0a674:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a678:	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);
ffc0a67c:	80 81 00 30 	lwz     r4,48(r1)                              
ffc0a680:	7e 83 a3 78 	mr      r3,r20                                 
ffc0a684:	7f 25 cb 78 	mr      r5,r25                                 
ffc0a688:	48 00 49 0d 	bl      ffc0ef94 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc0a68c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a690:	80 c1 00 54 	lwz     r6,84(r1)                              
ffc0a694:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a698:	81 61 00 5c 	lwz     r11,92(r1)                             
ffc0a69c:	7d 40 d8 96 	mulhw   r10,r0,r27                             
ffc0a6a0:	80 a1 00 50 	lwz     r5,80(r1)                              
ffc0a6a4:	7d 86 d8 96 	mulhw   r12,r6,r27                             
ffc0a6a8:	80 e1 00 58 	lwz     r7,88(r1)                              
ffc0a6ac:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0a6b0:	7d 0b d8 96 	mulhw   r8,r11,r27                             
ffc0a6b4:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc0a6b8:	7d 4a 36 70 	srawi   r10,r10,6                              
ffc0a6bc:	7d 40 50 50 	subf    r10,r0,r10                             
ffc0a6c0:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0a6c4:	7d 8c 36 70 	srawi   r12,r12,6                              
ffc0a6c8:	7d 6b fe 70 	srawi   r11,r11,31                             
ffc0a6cc:	7c 09 03 a6 	mtctr   r0                                     
ffc0a6d0:	7c c6 fe 70 	srawi   r6,r6,31                               
ffc0a6d4:	7d 08 36 70 	srawi   r8,r8,6                                
ffc0a6d8:	7e 44 93 78 	mr      r4,r18                                 
ffc0a6dc:	7c c6 60 50 	subf    r6,r6,r12                              
ffc0a6e0:	7d 0b 40 50 	subf    r8,r11,r8                              
ffc0a6e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a6e8:	4e 80 04 21 	bctrl                                          
ffc0a6ec:	4b ff fe 3c 	b       ffc0a528 <rtems_rate_monotonic_report_statistics_with_plugin+0x134>
                                                                      

ffc0a700 <rtems_rate_monotonic_reset_all_statistics>: rtems_fatal_error_occurred( 99 ); } } #endif _Thread_Dispatch_disable_level += 1;
ffc0a700:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
ffc0a704:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a708:	7c 08 02 a6 	mflr    r0                                     
ffc0a70c:	81 69 28 2c 	lwz     r11,10284(r9)                          
ffc0a710:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a714:	38 0b 00 01 	addi    r0,r11,1                               
ffc0a718:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0a71c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a720:	90 09 28 2c 	stw     r0,10284(r9)                           
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
ffc0a724:	3f c0 00 00 	lis     r30,0                                  
ffc0a728:	3b de 2c 58 	addi    r30,r30,11352                          
ffc0a72c:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc0a730:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a734:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0a738:	41 9d 00 1c 	bgt-    cr7,ffc0a754 <rtems_rate_monotonic_reset_all_statistics+0x54><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
ffc0a73c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a740:	48 00 00 31 	bl      ffc0a770 <rtems_rate_monotonic_reset_statistics>
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
ffc0a744:	80 1e 00 0c 	lwz     r0,12(r30)                             
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
ffc0a748:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
ffc0a74c:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0a750:	40 9c ff ec 	bge+    cr7,ffc0a73c <rtems_rate_monotonic_reset_all_statistics+0x3c>
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc0a754:	48 00 38 2d 	bl      ffc0df80 <_Thread_Enable_dispatch>     
}                                                                     
ffc0a758:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a75c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a760:	7c 08 03 a6 	mtlr    r0                                     
ffc0a764:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a768:	38 21 00 10 	addi    r1,r1,16                               
ffc0a76c:	4e 80 00 20 	blr                                            
                                                                      

ffc1a1a4 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc1a1a4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1a1a8:	7c 08 02 a6 	mflr    r0                                     
ffc1a1ac:	93 e1 00 1c 	stw     r31,28(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc1a1b0:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc1a1b4:	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;                                      
ffc1a1b8:	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 )                                                  
ffc1a1bc:	40 82 00 1c 	bne-    ffc1a1d8 <rtems_signal_send+0x34>      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1a1c0:	7c 03 03 78 	mr      r3,r0                                  
ffc1a1c4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1a1c8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1a1cc:	38 21 00 20 	addi    r1,r1,32                               
ffc1a1d0:	7c 08 03 a6 	mtlr    r0                                     
ffc1a1d4:	4e 80 00 20 	blr                                            
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc1a1d8:	38 81 00 08 	addi    r4,r1,8                                
ffc1a1dc:	48 00 59 55 	bl      ffc1fb30 <_Thread_Get>                 
  switch ( location ) {                                               
ffc1a1e0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1a1e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a1e8:	41 9e 00 20 	beq-    cr7,ffc1a208 <rtems_signal_send+0x64>  
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1a1ec:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc1a1f0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1a1f4:	7c 03 03 78 	mr      r3,r0                                  
ffc1a1f8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1a1fc:	38 21 00 20 	addi    r1,r1,32                               
ffc1a200:	7c 08 03 a6 	mtlr    r0                                     
ffc1a204:	4e 80 00 20 	blr                                            
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc1a208:	81 23 01 30 	lwz     r9,304(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc1a20c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1a210:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a214:	41 9e 00 9c 	beq-    cr7,ffc1a2b0 <rtems_signal_send+0x10c> 
        if ( asr->is_enabled ) {                                      
ffc1a218:	88 09 00 08 	lbz     r0,8(r9)                               
ffc1a21c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a220:	41 9e 00 50 	beq-    cr7,ffc1a270 <rtems_signal_send+0xcc>  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1a224:	7c 00 00 a6 	mfmsr   r0                                     
ffc1a228:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc1a22c:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc1a230:	7d 60 01 24 	mtmsr   r11                                    
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc1a234:	81 69 00 14 	lwz     r11,20(r9)                             
ffc1a238:	7d 7f fb 78 	or      r31,r11,r31                            
ffc1a23c:	93 e9 00 14 	stw     r31,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1a240:	7c 00 01 24 	mtmsr   r0                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc1a244:	3d 20 00 00 	lis     r9,0                                   
ffc1a248:	39 29 75 24 	addi    r9,r9,29988                            
ffc1a24c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1a250:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a254:	41 9e 00 3c 	beq-    cr7,ffc1a290 <rtems_signal_send+0xec>  
ffc1a258:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1a25c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc1a260:	40 be 00 30 	bne+    cr7,ffc1a290 <rtems_signal_send+0xec>  <== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
ffc1a264:	38 00 00 01 	li      r0,1                                   
ffc1a268:	98 09 00 18 	stb     r0,24(r9)                              
ffc1a26c:	48 00 00 24 	b       ffc1a290 <rtems_signal_send+0xec>      
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc1a270:	7c 00 00 a6 	mfmsr   r0                                     
ffc1a274:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc1a278:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc1a27c:	7d 60 01 24 	mtmsr   r11                                    
ffc1a280:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1a284:	7d 7f fb 78 	or      r31,r11,r31                            
ffc1a288:	93 e9 00 18 	stw     r31,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc1a28c:	7c 00 01 24 	mtmsr   r0                                     
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc1a290:	48 00 58 81 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc1a294:	38 00 00 00 	li      r0,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1a298:	7c 03 03 78 	mr      r3,r0                                  
ffc1a29c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1a2a0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1a2a4:	38 21 00 20 	addi    r1,r1,32                               
ffc1a2a8:	7c 08 03 a6 	mtlr    r0                                     
ffc1a2ac:	4e 80 00 20 	blr                                            
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc1a2b0:	48 00 58 61 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc1a2b4:	38 00 00 0b 	li      r0,11                                  
ffc1a2b8:	4b ff ff 08 	b       ffc1a1c0 <rtems_signal_send+0x1c>      
                                                                      

ffc04920 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
ffc04920:	7c 08 02 a6 	mflr    r0                                     
ffc04924:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04928:	90 01 00 0c 	stw     r0,12(r1)                              
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
ffc0492c:	80 03 00 08 	lwz     r0,8(r3)                               
ffc04930:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04934:	41 9e 00 1c 	beq-    cr7,ffc04950 <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;                                 
ffc04938:	80 63 00 bc 	lwz     r3,188(r3)                             
ffc0493c:	3c 80 00 00 	lis     r4,0                                   
ffc04940:	38 84 2b 48 	addi    r4,r4,11080                            
ffc04944:	38 63 00 08 	addi    r3,r3,8                                
ffc04948:	38 a0 00 80 	li      r5,128                                 
ffc0494c:	48 01 2f b1 	bl      ffc178fc <memcpy>                      
}                                                                     
ffc04950:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04954:	38 21 00 08 	addi    r1,r1,8                                
ffc04958:	7c 08 03 a6 	mtlr    r0                                     
ffc0495c:	4e 80 00 20 	blr                                            
                                                                      

ffc048d8 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
ffc048d8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc048dc:	7c 08 02 a6 	mflr    r0                                     
ffc048e0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc048e4:	7c 9f 23 78 	mr      r31,r4                                 
ffc048e8:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_check_Initialize();                                           
ffc048ec:	4b ff ff 9d 	bl      ffc04888 <Stack_check_Initialize>      
                                                                      
  if (the_thread)                                                     
ffc048f0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc048f4:	41 9e 00 14 	beq-    cr7,ffc04908 <rtems_stack_checker_create_extension+0x30><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
ffc048f8:	80 7f 00 bc 	lwz     r3,188(r31)                            
ffc048fc:	38 80 00 a5 	li      r4,165                                 
ffc04900:	80 bf 00 b8 	lwz     r5,184(r31)                            
ffc04904:	48 01 30 d9 	bl      ffc179dc <memset>                      
                                                                      
  return true;                                                        
}                                                                     
ffc04908:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0490c:	38 60 00 01 	li      r3,1                                   
ffc04910:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04914:	38 21 00 10 	addi    r1,r1,16                               
ffc04918:	7c 08 03 a6 	mtlr    r0                                     
ffc0491c:	4e 80 00 20 	blr                                            
                                                                      

ffc04ad8 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
ffc04ad8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04adc:	7c 08 02 a6 	mflr    r0                                     
ffc04ae0:	93 a1 00 0c 	stw     r29,12(r1)                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc04ae4:	3f a0 00 00 	lis     r29,0                                  
ffc04ae8:	3b bd 32 44 	addi    r29,r29,12868                          
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc04aec:	90 01 00 1c 	stw     r0,28(r1)                              
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc04af0:	81 3d 00 0c 	lwz     r9,12(r29)                             
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc04af4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc04af8:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc04afc:	80 69 00 bc 	lwz     r3,188(r9)                             
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc04b00:	93 c1 00 10 	stw     r30,16(r1)                             
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc04b04:	3b c0 00 00 	li      r30,0                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc04b08:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc04b0c:	41 9c 00 18 	blt-    cr7,ffc04b24 <rtems_stack_checker_is_blown+0x4c><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc04b10:	83 c9 00 b8 	lwz     r30,184(r9)                            
ffc04b14:	7f c3 f2 14 	add     r30,r3,r30                             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
ffc04b18:	7f df f0 10 	subfc   r30,r31,r30                            
ffc04b1c:	3b c0 00 00 	li      r30,0                                  
ffc04b20:	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 ) {                                    
ffc04b24:	3d 20 00 00 	lis     r9,0                                   
ffc04b28:	80 09 28 dc 	lwz     r0,10460(r9)                           
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
ffc04b2c:	38 80 00 01 	li      r4,1                                   
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc04b30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04b34:	41 9e 00 20 	beq-    cr7,ffc04b54 <rtems_stack_checker_is_blown+0x7c><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
ffc04b38:	3c 80 00 00 	lis     r4,0                                   
ffc04b3c:	38 84 2b 48 	addi    r4,r4,11080                            
ffc04b40:	38 63 00 08 	addi    r3,r3,8                                
ffc04b44:	38 a0 00 80 	li      r5,128                                 
ffc04b48:	48 01 2d 1d 	bl      ffc17864 <memcmp>                      
ffc04b4c:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc04b50:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc04b54:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04b58:	41 9e 00 30 	beq-    cr7,ffc04b88 <rtems_stack_checker_is_blown+0xb0><== NEVER TAKEN
ffc04b5c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc04b60:	41 9e 00 28 	beq-    cr7,ffc04b88 <rtems_stack_checker_is_blown+0xb0><== NEVER TAKEN
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
ffc04b64:	39 7f 00 18 	addi    r11,r31,24                             
ffc04b68:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc04b6c:	38 60 00 00 	li      r3,0                                   
ffc04b70:	83 ab ff f4 	lwz     r29,-12(r11)                           
ffc04b74:	7c 08 03 a6 	mtlr    r0                                     
ffc04b78:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc04b7c:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc04b80:	7d 61 5b 78 	mr      r1,r11                                 
ffc04b84:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
ffc04b88:	80 7d 00 0c 	lwz     r3,12(r29)                             <== NOT EXECUTED
ffc04b8c:	4b ff fd d5 	bl      ffc04960 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      

ffc04b90 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc04b90:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04b94:	7c 08 02 a6 	mflr    r0                                     
ffc04b98:	93 e1 00 14 	stw     r31,20(r1)                             
  if ( !print )                                                       
ffc04b9c:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc04ba0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc04ba4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04ba8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc04bac:	93 81 00 08 	stw     r28,8(r1)                              
ffc04bb0:	93 c1 00 10 	stw     r30,16(r1)                             
  if ( !print )                                                       
ffc04bb4:	41 82 00 58 	beq-    ffc04c0c <rtems_stack_checker_report_usage_with_plugin+0x7c><== NEVER TAKEN
    return;                                                           
                                                                      
  print_context = context;                                            
ffc04bb8:	3f c0 00 00 	lis     r30,0                                  
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc04bbc:	7f e9 03 a6 	mtctr   r31                                    
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc04bc0:	3b 9e 28 d4 	addi    r28,r30,10452                          
  print_handler = print;                                              
ffc04bc4:	93 fe 28 d4 	stw     r31,10452(r30)                         
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc04bc8:	3c 80 ff c2 	lis     r4,-62                                 
ffc04bcc:	38 84 dc 30 	addi    r4,r4,-9168                            
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc04bd0:	90 7c 00 04 	stw     r3,4(r28)                              
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc04bd4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04bd8:	4e 80 04 21 	bctrl                                          
  (*print)( context,                                                  
ffc04bdc:	3c 80 ff c2 	lis     r4,-62                                 
ffc04be0:	38 84 dc 48 	addi    r4,r4,-9144                            
ffc04be4:	7f e9 03 a6 	mtctr   r31                                    
ffc04be8:	7f a3 eb 78 	mr      r3,r29                                 
ffc04bec:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04bf0:	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 );   
ffc04bf4:	3c 60 ff c0 	lis     r3,-64                                 
ffc04bf8:	38 63 46 b8 	addi    r3,r3,18104                            
ffc04bfc:	48 00 92 c5 	bl      ffc0dec0 <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;                                               
ffc04c00:	38 00 00 00 	li      r0,0                                   
ffc04c04:	90 1c 00 04 	stw     r0,4(r28)                              
  print_handler = NULL;                                               
ffc04c08:	90 1e 28 d4 	stw     r0,10452(r30)                          
}                                                                     
ffc04c0c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04c10:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04c14:	7c 08 03 a6 	mtlr    r0                                     
ffc04c18:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04c1c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04c20:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04c24:	38 21 00 18 	addi    r1,r1,24                               
ffc04c28:	4e 80 00 20 	blr                                            
                                                                      

ffc04a40 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
ffc04a40:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04a44:	7c 08 02 a6 	mflr    r0                                     
ffc04a48:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
ffc04a4c:	81 23 00 bc 	lwz     r9,188(r3)                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc04a50:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc04a54:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc04a58:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc04a5c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc04a60:	7c 7e 1b 78 	mr      r30,r3                                 
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
ffc04a64:	38 69 00 08 	addi    r3,r9,8                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc04a68:	41 9c 00 14 	blt-    cr7,ffc04a7c <rtems_stack_checker_switch_extension+0x3c><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc04a6c:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc04a70:	7d 29 02 14 	add     r9,r9,r0                               
ffc04a74:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc04a78:	40 9d 00 24 	ble-    cr7,ffc04a9c <rtems_stack_checker_switch_extension+0x5c><== ALWAYS TAKEN
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
ffc04a7c:	3c 80 00 00 	lis     r4,0                                   <== NOT EXECUTED
ffc04a80:	38 84 2b 48 	addi    r4,r4,11080                            <== NOT EXECUTED
ffc04a84:	38 a0 00 80 	li      r5,128                                 <== NOT EXECUTED
ffc04a88:	48 01 2d dd 	bl      ffc17864 <memcmp>                      <== NOT EXECUTED
ffc04a8c:	7c 64 00 34 	cntlzw  r4,r3                                  <== NOT EXECUTED
ffc04a90:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
ffc04a94:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a98:	4b ff fe c9 	bl      ffc04960 <Stack_check_report_blown_task>
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
ffc04a9c:	3c 80 00 00 	lis     r4,0                                   
ffc04aa0:	38 84 2b 48 	addi    r4,r4,11080                            
ffc04aa4:	38 a0 00 80 	li      r5,128                                 
ffc04aa8:	48 01 2d bd 	bl      ffc17864 <memcmp>                      
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc04aac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04ab0:	40 9e 00 20 	bne-    cr7,ffc04ad0 <rtems_stack_checker_switch_extension+0x90>
    Stack_check_report_blown_task( running, pattern_ok );             
  }                                                                   
}                                                                     
ffc04ab4:	39 7f 00 10 	addi    r11,r31,16                             
ffc04ab8:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc04abc:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc04ac0:	7c 08 03 a6 	mtlr    r0                                     
ffc04ac4:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc04ac8:	7d 61 5b 78 	mr      r1,r11                                 
ffc04acc:	4e 80 00 20 	blr                                            
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc04ad0:	38 80 00 00 	li      r4,0                                   
ffc04ad4:	4b ff ff c0 	b       ffc04a94 <rtems_stack_checker_switch_extension+0x54>
                                                                      

ffc100e0 <rtems_string_to_double>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc100e0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc100e4:	7c 08 02 a6 	mflr    r0                                     
ffc100e8:	93 c1 00 28 	stw     r30,40(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc100ec:	7c 9e 23 79 	mr.     r30,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc100f0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc100f4:	7c bd 2b 78 	mr      r29,r5                                 
ffc100f8:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc100fc:	7c 7f 1b 78 	mr      r31,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10100:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10104:	90 01 00 34 	stw     r0,52(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10108:	41 82 00 5c 	beq-    ffc10164 <rtems_string_to_double+0x84> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc1010c:	48 00 3f 91 	bl      ffc1409c <__errno>                     
  *n    = 0;                                                          
ffc10110:	3d 20 ff c2 	lis     r9,-62                                 
ffc10114:	c8 09 21 c8 	lfd     f0,8648(r9)                            
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10118:	38 00 00 00 	li      r0,0                                   
ffc1011c:	90 03 00 00 	stw     r0,0(r3)                               
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
ffc10120:	38 81 00 08 	addi    r4,r1,8                                
ffc10124:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc10128:	d8 1e 00 00 	stfd    f0,0(r30)                              
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
ffc1012c:	48 00 6c c1 	bl      ffc16dec <strtod>                      
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10130:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc10134:	41 9e 00 6c 	beq-    cr7,ffc101a0 <rtems_string_to_double+0xc0>
    *endptr = end;                                                    
ffc10138:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1013c:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc10140:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc10144:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc10148:	41 9e 00 1c 	beq-    cr7,ffc10164 <rtems_string_to_double+0x84>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc1014c:	3d 20 ff c2 	lis     r9,-62                                 
ffc10150:	c8 09 47 b0 	lfd     f0,18352(r9)                           
ffc10154:	ff 81 00 00 	fcmpu   cr7,f1,f0                              
ffc10158:	41 9d 00 28 	bgt-    cr7,ffc10180 <rtems_string_to_double+0xa0>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc1015c:	d8 3e 00 00 	stfd    f1,0(r30)                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc10160:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10164:	80 01 00 34 	lwz     r0,52(r1)                              
ffc10168:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1016c:	7c 08 03 a6 	mtlr    r0                                     
ffc10170:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10174:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc10178:	38 21 00 30 	addi    r1,r1,48                               
ffc1017c:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10180:	d8 21 00 18 	stfd    f1,24(r1)                              
ffc10184:	48 00 3f 19 	bl      ffc1409c <__errno>                     
ffc10188:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc1018c:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10190:	c8 21 00 18 	lfd     f1,24(r1)                              
ffc10194:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10198:	40 9e ff c4 	bne+    cr7,ffc1015c <rtems_string_to_double+0x7c><== NEVER TAKEN
ffc1019c:	4b ff ff c8 	b       ffc10164 <rtems_string_to_double+0x84> 
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc101a0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc101a4:	4b ff ff 9c 	b       ffc10140 <rtems_string_to_double+0x60> 
                                                                      

ffc101a8 <rtems_string_to_float>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc101a8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc101ac:	7c 08 02 a6 	mflr    r0                                     
ffc101b0:	93 c1 00 28 	stw     r30,40(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc101b4:	7c 9e 23 79 	mr.     r30,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc101b8:	93 a1 00 24 	stw     r29,36(r1)                             
ffc101bc:	7c bd 2b 78 	mr      r29,r5                                 
ffc101c0:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc101c4:	7c 7f 1b 78 	mr      r31,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc101c8:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc101cc:	90 01 00 34 	stw     r0,52(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc101d0:	41 82 00 58 	beq-    ffc10228 <rtems_string_to_float+0x80>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc101d4:	48 00 3e c9 	bl      ffc1409c <__errno>                     
ffc101d8:	38 00 00 00 	li      r0,0                                   
ffc101dc:	90 03 00 00 	stw     r0,0(r3)                               
  *n    = 0;                                                          
ffc101e0:	38 00 00 00 	li      r0,0                                   
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
ffc101e4:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc101e8:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
ffc101ec:	38 81 00 08 	addi    r4,r1,8                                
ffc101f0:	48 00 6c 15 	bl      ffc16e04 <strtof>                      
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc101f4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc101f8:	41 9e 00 6c 	beq-    cr7,ffc10264 <rtems_string_to_float+0xbc>
    *endptr = end;                                                    
ffc101fc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10200:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc10204:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc10208:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc1020c:	41 9e 00 1c 	beq-    cr7,ffc10228 <rtems_string_to_float+0x80>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10210:	3d 20 ff c2 	lis     r9,-62                                 
ffc10214:	c0 09 47 b8 	lfs     f0,18360(r9)                           
ffc10218:	ff 81 00 00 	fcmpu   cr7,f1,f0                              
ffc1021c:	41 9d 00 28 	bgt-    cr7,ffc10244 <rtems_string_to_float+0x9c>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc10220:	d0 3e 00 00 	stfs    f1,0(r30)                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc10224:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10228:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1022c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc10230:	7c 08 03 a6 	mtlr    r0                                     
ffc10234:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10238:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1023c:	38 21 00 30 	addi    r1,r1,48                               
ffc10240:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10244:	d8 21 00 18 	stfd    f1,24(r1)                              
ffc10248:	48 00 3e 55 	bl      ffc1409c <__errno>                     
ffc1024c:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc10250:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10254:	c8 21 00 18 	lfd     f1,24(r1)                              
ffc10258:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc1025c:	40 9e ff c4 	bne+    cr7,ffc10220 <rtems_string_to_float+0x78><== NEVER TAKEN
ffc10260:	4b ff ff c8 	b       ffc10228 <rtems_string_to_float+0x80>  
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10264:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10268:	4b ff ff 9c 	b       ffc10204 <rtems_string_to_float+0x5c>  
                                                                      

ffc10334 <rtems_string_to_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc10334:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10338:	7c 08 02 a6 	mflr    r0                                     
ffc1033c:	93 e1 00 2c 	stw     r31,44(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10340:	7c 9f 23 79 	mr.     r31,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10344:	93 81 00 20 	stw     r28,32(r1)                             
ffc10348:	7c dc 33 78 	mr      r28,r6                                 
ffc1034c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc10350:	7c bd 2b 78 	mr      r29,r5                                 
ffc10354:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10358:	7c 7e 1b 78 	mr      r30,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc1035c:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10360:	90 01 00 34 	stw     r0,52(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10364:	41 82 00 74 	beq-    ffc103d8 <rtems_string_to_long_long+0xa4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10368:	48 00 3d 35 	bl      ffc1409c <__errno>                     
ffc1036c:	38 00 00 00 	li      r0,0                                   
  *n    = 0;                                                          
ffc10370:	39 20 00 00 	li      r9,0                                   
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10374:	90 03 00 00 	stw     r0,0(r3)                               
  *n    = 0;                                                          
ffc10378:	39 40 00 00 	li      r10,0                                  
ffc1037c:	91 3f 00 00 	stw     r9,0(r31)                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10380:	7f 85 e3 78 	mr      r5,r28                                 
ffc10384:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc10388:	91 5f 00 04 	stw     r10,4(r31)                             
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc1038c:	38 81 00 08 	addi    r4,r1,8                                
ffc10390:	48 00 6d 0d 	bl      ffc1709c <strtoll>                     
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10394:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10398:	7c 7c 1b 78 	mr      r28,r3                                 
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc1039c:	41 9e 00 90 	beq-    cr7,ffc1042c <rtems_string_to_long_long+0xf8>
    *endptr = end;                                                    
ffc103a0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc103a4:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc103a8:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc103ac:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc103b0:	41 9e 00 28 	beq-    cr7,ffc103d8 <rtems_string_to_long_long+0xa4>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc103b4:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc103b8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc103bc:	41 9e 00 64 	beq-    cr7,ffc10420 <rtems_string_to_long_long+0xec>
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
ffc103c0:	3c 00 80 00 	lis     r0,-32768                              
ffc103c4:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc103c8:	41 9e 00 30 	beq-    cr7,ffc103f8 <rtems_string_to_long_long+0xc4>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc103cc:	93 9f 00 00 	stw     r28,0(r31)                             
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc103d0:	38 60 00 00 	li      r3,0                                   
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc103d4:	90 9f 00 04 	stw     r4,4(r31)                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc103d8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc103dc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc103e0:	7c 08 03 a6 	mtlr    r0                                     
ffc103e4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc103e8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc103ec:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc103f0:	38 21 00 30 	addi    r1,r1,48                               
ffc103f4:	4e 80 00 20 	blr                                            
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
ffc103f8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc103fc:	40 9e ff d0 	bne+    cr7,ffc103cc <rtems_string_to_long_long+0x98><== NEVER TAKEN
ffc10400:	90 81 00 18 	stw     r4,24(r1)                              
ffc10404:	48 00 3c 99 	bl      ffc1409c <__errno>                     
ffc10408:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc1040c:	38 60 00 0a 	li      r3,10                                  
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MIN                                                
    /* there was an underflow */                                      
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
ffc10410:	80 81 00 18 	lwz     r4,24(r1)                              
ffc10414:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10418:	40 9e ff b4 	bne+    cr7,ffc103cc <rtems_string_to_long_long+0x98>
ffc1041c:	4b ff ff bc 	b       ffc103d8 <rtems_string_to_long_long+0xa4>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10420:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc10424:	40 9e ff 9c 	bne+    cr7,ffc103c0 <rtems_string_to_long_long+0x8c><== NEVER TAKEN
ffc10428:	4b ff ff d8 	b       ffc10400 <rtems_string_to_long_long+0xcc>
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc1042c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10430:	4b ff ff 78 	b       ffc103a8 <rtems_string_to_long_long+0x74>
                                                                      

ffc10508 <rtems_string_to_pointer>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc10508:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1050c:	7c 08 02 a6 	mflr    r0                                     
ffc10510:	93 c1 00 20 	stw     r30,32(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10514:	7c 9e 23 79 	mr.     r30,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10518:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1051c:	7c bd 2b 78 	mr      r29,r5                                 
ffc10520:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10524:	7c 7f 1b 78 	mr      r31,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10528:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc1052c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc10530:	93 81 00 18 	stw     r28,24(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10534:	41 82 00 54 	beq-    ffc10588 <rtems_string_to_pointer+0x80>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10538:	48 00 3b 65 	bl      ffc1409c <__errno>                     
ffc1053c:	38 00 00 00 	li      r0,0                                   
ffc10540:	90 03 00 00 	stw     r0,0(r3)                               
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
ffc10544:	38 81 00 08 	addi    r4,r1,8                                
ffc10548:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc1054c:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
ffc10550:	38 a0 00 10 	li      r5,16                                  
ffc10554:	48 00 70 a9 	bl      ffc175fc <strtoul>                     
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10558:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  *n    = 0;                                                          
                                                                      
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
ffc1055c:	7c 7c 1b 78 	mr      r28,r3                                 
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10560:	41 9e 00 60 	beq-    cr7,ffc105c0 <rtems_string_to_pointer+0xb8>
    *endptr = end;                                                    
ffc10564:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10568:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc1056c:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc10570:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc10574:	41 9e 00 14 	beq-    cr7,ffc10588 <rtems_string_to_pointer+0x80>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10578:	2f 9c ff ff 	cmpwi   cr7,r28,-1                             
ffc1057c:	41 9e 00 2c 	beq-    cr7,ffc105a8 <rtems_string_to_pointer+0xa0><== NEVER TAKEN
    if ( (result == STRING_TO_MIN) && (errno == ERANGE))              
      return RTEMS_INVALID_NUMBER;                                    
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
ffc10580:	93 9e 00 00 	stw     r28,0(r30)                             
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc10584:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10588:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1058c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10590:	7c 08 03 a6 	mtlr    r0                                     
ffc10594:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10598:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1059c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc105a0:	38 21 00 28 	addi    r1,r1,40                               
ffc105a4:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc105a8:	48 00 3a f5 	bl      ffc1409c <__errno>                     <== NOT EXECUTED
ffc105ac:	80 03 00 00 	lwz     r0,0(r3)                               <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
ffc105b0:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc105b4:	2f 80 00 22 	cmpwi   cr7,r0,34                              <== NOT EXECUTED
ffc105b8:	40 9e ff c8 	bne+    cr7,ffc10580 <rtems_string_to_pointer+0x78><== NOT EXECUTED
ffc105bc:	4b ff ff cc 	b       ffc10588 <rtems_string_to_pointer+0x80><== NOT EXECUTED
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc105c0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc105c4:	4b ff ff a8 	b       ffc1056c <rtems_string_to_pointer+0x64>
                                                                      

ffc1066c <rtems_string_to_unsigned_int>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc1066c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10670:	7c 08 02 a6 	mflr    r0                                     
ffc10674:	93 c1 00 20 	stw     r30,32(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10678:	7c 9e 23 79 	mr.     r30,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc1067c:	93 81 00 18 	stw     r28,24(r1)                             
ffc10680:	7c dc 33 78 	mr      r28,r6                                 
ffc10684:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc10688:	7c bd 2b 78 	mr      r29,r5                                 
ffc1068c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10690:	7c 7f 1b 78 	mr      r31,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10694:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10698:	90 01 00 2c 	stw     r0,44(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc1069c:	41 82 00 54 	beq-    ffc106f0 <rtems_string_to_unsigned_int+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc106a0:	48 00 39 fd 	bl      ffc1409c <__errno>                     
ffc106a4:	38 00 00 00 	li      r0,0                                   
ffc106a8:	90 03 00 00 	stw     r0,0(r3)                               
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc106ac:	7f 85 e3 78 	mr      r5,r28                                 
ffc106b0:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc106b4:	90 1e 00 00 	stw     r0,0(r30)                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc106b8:	38 81 00 08 	addi    r4,r1,8                                
ffc106bc:	48 00 6f 41 	bl      ffc175fc <strtoul>                     
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc106c0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc106c4:	7c 7c 1b 78 	mr      r28,r3                                 
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc106c8:	41 9e 00 60 	beq-    cr7,ffc10728 <rtems_string_to_unsigned_int+0xbc>
    *endptr = end;                                                    
ffc106cc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc106d0:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc106d4:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc106d8:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc106dc:	41 9e 00 14 	beq-    cr7,ffc106f0 <rtems_string_to_unsigned_int+0x84>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc106e0:	2f 9c ff ff 	cmpwi   cr7,r28,-1                             
ffc106e4:	41 9e 00 2c 	beq-    cr7,ffc10710 <rtems_string_to_unsigned_int+0xa4>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc106e8:	93 9e 00 00 	stw     r28,0(r30)                             
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc106ec:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc106f0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc106f4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc106f8:	7c 08 03 a6 	mtlr    r0                                     
ffc106fc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10700:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10704:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10708:	38 21 00 28 	addi    r1,r1,40                               
ffc1070c:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10710:	48 00 39 8d 	bl      ffc1409c <__errno>                     
ffc10714:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc10718:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc1071c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10720:	40 9e ff c8 	bne+    cr7,ffc106e8 <rtems_string_to_unsigned_int+0x7c><== NEVER TAKEN
ffc10724:	4b ff ff cc 	b       ffc106f0 <rtems_string_to_unsigned_int+0x84>
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10728:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1072c:	4b ff ff a8 	b       ffc106d4 <rtems_string_to_unsigned_int+0x68>
                                                                      

ffc10814 <rtems_string_to_unsigned_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc10814:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10818:	7c 08 02 a6 	mflr    r0                                     
ffc1081c:	93 c1 00 20 	stw     r30,32(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10820:	7c 9e 23 79 	mr.     r30,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10824:	93 81 00 18 	stw     r28,24(r1)                             
ffc10828:	7c dc 33 78 	mr      r28,r6                                 
ffc1082c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc10830:	7c bd 2b 78 	mr      r29,r5                                 
ffc10834:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10838:	7c 7f 1b 78 	mr      r31,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc1083c:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10840:	90 01 00 2c 	stw     r0,44(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10844:	41 82 00 54 	beq-    ffc10898 <rtems_string_to_unsigned_long+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10848:	48 00 38 55 	bl      ffc1409c <__errno>                     
ffc1084c:	38 00 00 00 	li      r0,0                                   
ffc10850:	90 03 00 00 	stw     r0,0(r3)                               
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10854:	7f 85 e3 78 	mr      r5,r28                                 
ffc10858:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc1085c:	90 1e 00 00 	stw     r0,0(r30)                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10860:	38 81 00 08 	addi    r4,r1,8                                
ffc10864:	48 00 6d 99 	bl      ffc175fc <strtoul>                     
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10868:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc1086c:	7c 7c 1b 78 	mr      r28,r3                                 
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10870:	41 9e 00 60 	beq-    cr7,ffc108d0 <rtems_string_to_unsigned_long+0xbc>
    *endptr = end;                                                    
ffc10874:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10878:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc1087c:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc10880:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc10884:	41 9e 00 14 	beq-    cr7,ffc10898 <rtems_string_to_unsigned_long+0x84>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc10888:	2f 9c ff ff 	cmpwi   cr7,r28,-1                             
ffc1088c:	41 9e 00 2c 	beq-    cr7,ffc108b8 <rtems_string_to_unsigned_long+0xa4>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc10890:	93 9e 00 00 	stw     r28,0(r30)                             
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc10894:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10898:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1089c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc108a0:	7c 08 03 a6 	mtlr    r0                                     
ffc108a4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc108a8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc108ac:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc108b0:	38 21 00 28 	addi    r1,r1,40                               
ffc108b4:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc108b8:	48 00 37 e5 	bl      ffc1409c <__errno>                     
ffc108bc:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc108c0:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc108c4:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc108c8:	40 9e ff c8 	bne+    cr7,ffc10890 <rtems_string_to_unsigned_long+0x7c><== NEVER TAKEN
ffc108cc:	4b ff ff cc 	b       ffc10898 <rtems_string_to_unsigned_long+0x84>
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc108d0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc108d4:	4b ff ff a8 	b       ffc1087c <rtems_string_to_unsigned_long+0x68>
                                                                      

ffc10730 <rtems_string_to_unsigned_long_long>: #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER) , int base #endif ) {
ffc10730:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10734:	7c 08 02 a6 	mflr    r0                                     
ffc10738:	93 e1 00 2c 	stw     r31,44(r1)                             
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc1073c:	7c 9f 23 79 	mr.     r31,r4                                 
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc10740:	93 81 00 20 	stw     r28,32(r1)                             
ffc10744:	7c dc 33 78 	mr      r28,r6                                 
ffc10748:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1074c:	7c bd 2b 78 	mr      r29,r5                                 
ffc10750:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10754:	7c 7e 1b 78 	mr      r30,r3                                 
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10758:	38 60 00 09 	li      r3,9                                   
  #if defined(STRING_TO_INTEGER) && !defined(STRING_TO_POINTER)       
    ,                                                                 
    int              base                                             
  #endif                                                              
)                                                                     
{                                                                     
ffc1075c:	90 01 00 34 	stw     r0,52(r1)                              
  STRING_TO_INPUT_TYPE  result;                                       
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
ffc10760:	41 82 00 64 	beq-    ffc107c4 <rtems_string_to_unsigned_long_long+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10764:	48 00 39 39 	bl      ffc1409c <__errno>                     
ffc10768:	38 00 00 00 	li      r0,0                                   
  *n    = 0;                                                          
ffc1076c:	39 20 00 00 	li      r9,0                                   
  char                 *end;                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10770:	90 03 00 00 	stw     r0,0(r3)                               
  *n    = 0;                                                          
ffc10774:	39 40 00 00 	li      r10,0                                  
ffc10778:	91 3f 00 00 	stw     r9,0(r31)                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc1077c:	7f 85 e3 78 	mr      r5,r28                                 
ffc10780:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n    = 0;                                                          
ffc10784:	91 5f 00 04 	stw     r10,4(r31)                             
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10788:	38 81 00 08 	addi    r4,r1,8                                
ffc1078c:	48 00 6e 91 	bl      ffc1761c <strtoull>                    
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10790:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  #ifdef STRING_TO_FLOAT                                              
    result = STRING_TO_METHOD( s, &end );                             
  #elif defined(STRING_TO_POINTER)                                    
    result = STRING_TO_METHOD( s, &end, 16 );                         
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
ffc10794:	7c 7c 1b 78 	mr      r28,r3                                 
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc10798:	41 9e 00 74 	beq-    cr7,ffc1080c <rtems_string_to_unsigned_long_long+0xdc>
    *endptr = end;                                                    
ffc1079c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc107a0:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc107a4:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
    return RTEMS_NOT_DEFINED;                                         
ffc107a8:	38 60 00 0b 	li      r3,11                                  
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  /* nothing was converted */                                         
  if ( end == s )                                                     
ffc107ac:	41 9e 00 18 	beq-    cr7,ffc107c4 <rtems_string_to_unsigned_long_long+0x94>
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc107b0:	2f 9c ff ff 	cmpwi   cr7,r28,-1                             
ffc107b4:	41 9e 00 30 	beq-    cr7,ffc107e4 <rtems_string_to_unsigned_long_long+0xb4>
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc107b8:	93 9f 00 00 	stw     r28,0(r31)                             
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
ffc107bc:	38 60 00 00 	li      r3,0                                   
  #endif                                                              
                                                                      
  #if defined(STRING_TO_POINTER)                                      
    *n = (STRING_TO_TYPE) (uintptr_t)result;                          
  #else                                                               
    *n = (STRING_TO_TYPE) result;                                     
ffc107c0:	90 9f 00 04 	stw     r4,4(r31)                              
  #endif                                                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc107c4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc107c8:	83 81 00 20 	lwz     r28,32(r1)                             
ffc107cc:	7c 08 03 a6 	mtlr    r0                                     
ffc107d0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc107d4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc107d8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc107dc:	38 21 00 30 	addi    r1,r1,48                               
ffc107e0:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc107e4:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc107e8:	40 9e ff d0 	bne+    cr7,ffc107b8 <rtems_string_to_unsigned_long_long+0x88><== NEVER TAKEN
ffc107ec:	90 81 00 18 	stw     r4,24(r1)                              
ffc107f0:	48 00 38 ad 	bl      ffc1409c <__errno>                     
ffc107f4:	80 03 00 00 	lwz     r0,0(r3)                               
      return RTEMS_INVALID_NUMBER;                                    
ffc107f8:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_NUMBER;                                      
  #endif                                                              
                                                                      
  #ifdef STRING_TO_MAX                                                
    /* there was an overflow */                                       
    if ( (result == STRING_TO_MAX) && (errno == ERANGE))              
ffc107fc:	80 81 00 18 	lwz     r4,24(r1)                              
ffc10800:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc10804:	40 9e ff b4 	bne+    cr7,ffc107b8 <rtems_string_to_unsigned_long_long+0x88><== NEVER TAKEN
ffc10808:	4b ff ff bc 	b       ffc107c4 <rtems_string_to_unsigned_long_long+0x94>
  #elif defined(STRING_TO_INTEGER)                                    
    result = STRING_TO_METHOD( s, &end, base );                       
  #endif                                                              
                                                                      
  /* If the user wants the end pointer back, then return it. */       
  if ( endptr )                                                       
ffc1080c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc10810:	4b ff ff 94 	b       ffc107a4 <rtems_string_to_unsigned_long_long+0x74>
                                                                      

ffc043a0 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
ffc043a0:	94 21 fe 28 	stwu    r1,-472(r1)                            
ffc043a4:	7c 08 02 a6 	mflr    r0                                     
ffc043a8:	92 e1 01 b4 	stw     r23,436(r1)                            
ffc043ac:	90 01 01 dc 	stw     r0,476(r1)                             
ffc043b0:	93 01 01 b8 	stw     r24,440(r1)                            
ffc043b4:	7c 78 1b 78 	mr      r24,r3                                 
ffc043b8:	93 81 01 c8 	stw     r28,456(r1)                            
ffc043bc:	7c bc 2b 78 	mr      r28,r5                                 
ffc043c0:	93 a1 01 cc 	stw     r29,460(r1)                            
ffc043c4:	7c 9d 23 78 	mr      r29,r4                                 
ffc043c8:	92 01 01 98 	stw     r16,408(r1)                            
ffc043cc:	92 21 01 9c 	stw     r17,412(r1)                            
ffc043d0:	92 41 01 a0 	stw     r18,416(r1)                            
ffc043d4:	92 61 01 a4 	stw     r19,420(r1)                            
ffc043d8:	92 81 01 a8 	stw     r20,424(r1)                            
ffc043dc:	92 a1 01 ac 	stw     r21,428(r1)                            
ffc043e0:	92 c1 01 b0 	stw     r22,432(r1)                            
ffc043e4:	93 21 01 bc 	stw     r25,444(r1)                            
ffc043e8:	93 41 01 c0 	stw     r26,448(r1)                            
ffc043ec:	93 61 01 c4 	stw     r27,452(r1)                            
ffc043f0:	93 c1 01 d0 	stw     r30,464(r1)                            
ffc043f4:	93 e1 01 d4 	stw     r31,468(r1)                            
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
ffc043f8:	48 01 4d 61 	bl      ffc19158 <strlen>                      
ffc043fc:	7c 64 1b 78 	mr      r4,r3                                  
ffc04400:	38 a0 00 00 	li      r5,0                                   
ffc04404:	7f 03 c3 78 	mr      r3,r24                                 
ffc04408:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0440c:	38 e0 00 00 	li      r7,0                                   
ffc04410:	48 00 0e b1 	bl      ffc052c0 <rtems_filesystem_evaluate_path>
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
ffc04414:	7c 77 1b 79 	mr.     r23,r3                                 
ffc04418:	40 82 01 dc 	bne-    ffc045f4 <rtems_tarfs_load+0x254>      
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc0441c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc04420:	3d 20 ff c2 	lis     r9,-62                                 
ffc04424:	39 29 5a 18 	addi    r9,r9,23064                            
ffc04428:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0442c:	3a 60 00 00 	li      r19,0                                  
ffc04430:	40 9e 01 b0 	bne-    cr7,ffc045e0 <rtems_tarfs_load+0x240>  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc04434:	3b f3 02 00 	addi    r31,r19,512                            
ffc04438:	7f 9f e0 40 	cmplw   cr7,r31,r28                            
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc0443c:	3f 40 ff c2 	lis     r26,-62                                
ffc04440:	3b 5a 5a 60 	addi    r26,r26,23136                          
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc04444:	3b c1 00 34 	addi    r30,r1,52                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc04448:	3a a1 00 20 	addi    r21,r1,32                              
ffc0444c:	3a c1 00 08 	addi    r22,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);                              
ffc04450:	3b 21 00 98 	addi    r25,r1,152                             
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
ffc04454:	3a 80 2f 00 	li      r20,12032                              
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc04458:	41 9d 00 98 	bgt-    cr7,ffc044f0 <rtems_tarfs_load+0x150>  <== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
ffc0445c:	7e 7d 9a 14 	add     r19,r29,r19                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc04460:	38 73 01 01 	addi    r3,r19,257                             
ffc04464:	7f 44 d3 78 	mr      r4,r26                                 
ffc04468:	38 a0 00 05 	li      r5,5                                   
ffc0446c:	48 01 4d 91 	bl      ffc191fc <strncmp>                     
ffc04470:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc04474:	40 82 00 7c 	bne-    ffc044f0 <rtems_tarfs_load+0x150>      
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc04478:	38 a0 00 63 	li      r5,99                                  
ffc0447c:	7e 64 9b 78 	mr      r4,r19                                 
ffc04480:	7f c3 f3 78 	mr      r3,r30                                 
ffc04484:	48 01 4e d1 	bl      ffc19354 <strncpy>                     
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
ffc04488:	9b 61 00 97 	stb     r27,151(r1)                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc0448c:	38 80 00 08 	li      r4,8                                   
ffc04490:	38 73 00 64 	addi    r3,r19,100                             
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
ffc04494:	8a 33 00 9c 	lbz     r17,156(r19)                           
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc04498:	48 00 9f 45 	bl      ffc0e3dc <_rtems_octal2ulong>          
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc0449c:	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);                
ffc044a0:	7c 72 1b 78 	mr      r18,r3                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc044a4:	38 73 00 7c 	addi    r3,r19,124                             
ffc044a8:	48 00 9f 35 	bl      ffc0e3dc <_rtems_octal2ulong>          
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc044ac:	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);               
ffc044b0:	7c 7b 1b 78 	mr      r27,r3                                 
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc044b4:	38 73 00 94 	addi    r3,r19,148                             
ffc044b8:	48 00 9f 25 	bl      ffc0e3dc <_rtems_octal2ulong>          
ffc044bc:	7c 70 1b 78 	mr      r16,r3                                 
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
ffc044c0:	7e 63 9b 78 	mr      r3,r19                                 
ffc044c4:	48 00 a4 7d 	bl      ffc0e940 <_rtems_tar_header_checksum>  
ffc044c8:	7f 83 80 00 	cmpw    cr7,r3,r16                             
ffc044cc:	40 9e 00 24 	bne-    cr7,ffc044f0 <rtems_tarfs_load+0x150>  <== 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) {                                        
ffc044d0:	2f 91 00 35 	cmpwi   cr7,r17,53                             
ffc044d4:	41 9e 00 c4 	beq-    cr7,ffc04598 <rtems_tarfs_load+0x1f8>  
     *        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) {                                   
ffc044d8:	2f 91 00 30 	cmpwi   cr7,r17,48                             
ffc044dc:	41 9e 00 68 	beq-    cr7,ffc04544 <rtems_tarfs_load+0x1a4>  
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc044e0:	7f f3 fb 78 	mr      r19,r31                                
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc044e4:	3b f3 02 00 	addi    r31,r19,512                            
ffc044e8:	7f 9f e0 40 	cmplw   cr7,r31,r28                            
ffc044ec:	40 9d ff 70 	ble+    cr7,ffc0445c <rtems_tarfs_load+0xbc>   <== ALWAYS TAKEN
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
ffc044f0:	80 01 01 dc 	lwz     r0,476(r1)                             
ffc044f4:	7e e3 bb 78 	mr      r3,r23                                 
ffc044f8:	82 01 01 98 	lwz     r16,408(r1)                            
ffc044fc:	7c 08 03 a6 	mtlr    r0                                     
ffc04500:	82 21 01 9c 	lwz     r17,412(r1)                            
ffc04504:	82 41 01 a0 	lwz     r18,416(r1)                            
ffc04508:	82 61 01 a4 	lwz     r19,420(r1)                            
ffc0450c:	82 81 01 a8 	lwz     r20,424(r1)                            
ffc04510:	82 a1 01 ac 	lwz     r21,428(r1)                            
ffc04514:	82 c1 01 b0 	lwz     r22,432(r1)                            
ffc04518:	82 e1 01 b4 	lwz     r23,436(r1)                            
ffc0451c:	83 01 01 b8 	lwz     r24,440(r1)                            
ffc04520:	83 21 01 bc 	lwz     r25,444(r1)                            
ffc04524:	83 41 01 c0 	lwz     r26,448(r1)                            
ffc04528:	83 61 01 c4 	lwz     r27,452(r1)                            
ffc0452c:	83 81 01 c8 	lwz     r28,456(r1)                            
ffc04530:	83 a1 01 cc 	lwz     r29,460(r1)                            
ffc04534:	83 c1 01 d0 	lwz     r30,464(r1)                            
ffc04538:	83 e1 01 d4 	lwz     r31,468(r1)                            
ffc0453c:	38 21 01 d8 	addi    r1,r1,472                              
ffc04540:	4e 80 00 20 	blr                                            
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc04544:	80 01 00 0c 	lwz     r0,12(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc04548:	7f c3 f3 78 	mr      r3,r30                                 
ffc0454c:	7e a4 ab 78 	mr      r4,r21                                 
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc04550:	90 01 00 20 	stw     r0,32(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc04554:	7e c5 b3 78 	mr      r5,r22                                 
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc04558:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0455c:	90 01 00 24 	stw     r0,36(r1)                              
ffc04560:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04564:	90 01 00 28 	stw     r0,40(r1)                              
ffc04568:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0456c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04570:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04574:	90 01 00 30 	stw     r0,48(r1)                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc04578:	48 00 af 65 	bl      ffc0f4dc <IMFS_evaluate_for_make>      
ffc0457c:	7c 73 1b 79 	mr.     r19,r3                                 
ffc04580:	41 82 00 7c 	beq-    ffc045fc <rtems_tarfs_load+0x25c>      <== ALWAYS TAKEN
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc04584:	3b 7b 01 ff 	addi    r27,r27,511                            <== NOT EXECUTED
      offset += 512 * nblocks;                                        
ffc04588:	57 7b 00 2c 	rlwinm  r27,r27,0,0,22                         <== NOT EXECUTED
ffc0458c:	7f fb fa 14 	add     r31,r27,r31                            <== NOT EXECUTED
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc04590:	7f f3 fb 78 	mr      r19,r31                                
ffc04594:	4b ff ff 50 	b       ffc044e4 <rtems_tarfs_load+0x144>      
     * - 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);                              
ffc04598:	7f 04 c3 78 	mr      r4,r24                                 
ffc0459c:	7f 23 cb 78 	mr      r3,r25                                 
ffc045a0:	48 01 46 e5 	bl      ffc18c84 <strcpy>                      
      if (full_filename[strlen(full_filename)-1] != '/')              
ffc045a4:	7f 23 cb 78 	mr      r3,r25                                 
ffc045a8:	48 01 4b b1 	bl      ffc19158 <strlen>                      
ffc045ac:	7d 36 1a 14 	add     r9,r22,r3                              
ffc045b0:	88 09 00 8f 	lbz     r0,143(r9)                             
ffc045b4:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc045b8:	41 9e 00 08 	beq-    cr7,ffc045c0 <rtems_tarfs_load+0x220>  <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
ffc045bc:	7e 99 1b 2e 	sthx    r20,r25,r3                             <== NOT EXECUTED
      strcat(full_filename, filename);                                
ffc045c0:	7f c4 f3 78 	mr      r4,r30                                 
ffc045c4:	7f 23 cb 78 	mr      r3,r25                                 
ffc045c8:	48 01 45 81 	bl      ffc18b48 <strcat>                      
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc045cc:	7f 23 cb 78 	mr      r3,r25                                 
ffc045d0:	38 80 01 ff 	li      r4,511                                 
ffc045d4:	48 00 18 cd 	bl      ffc05ea0 <mkdir>                       
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc045d8:	7f f3 fb 78 	mr      r19,r31                                
ffc045dc:	4b ff ff 08 	b       ffc044e4 <rtems_tarfs_load+0x144>      
ffc045e0:	3d 20 ff c2 	lis     r9,-62                                 
ffc045e4:	39 29 61 a8 	addi    r9,r9,25000                            
ffc045e8:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc045ec:	7e f3 bb 78 	mr      r19,r23                                
ffc045f0:	41 be fe 44 	beq-    cr7,ffc04434 <rtems_tarfs_load+0x94>   <== NEVER TAKEN
     return -1;                                                       
ffc045f4:	3a e0 ff ff 	li      r23,-1                                 
ffc045f8:	4b ff fe f8 	b       ffc044f0 <rtems_tarfs_load+0x150>      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
ffc045fc:	56 46 05 fe 	clrlwi  r6,r18,23                              
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
ffc04600:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc04604:	7e a3 ab 78 	mr      r3,r21                                 
ffc04608:	38 80 00 06 	li      r4,6                                   
ffc0460c:	60 c6 80 00 	ori     r6,r6,32768                            
ffc04610:	38 e0 00 00 	li      r7,0                                   
ffc04614:	48 00 a6 29 	bl      ffc0ec3c <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];            
ffc04618:	7c 1d fa 14 	add     r0,r29,r31                             
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
ffc0461c:	93 63 00 54 	stw     r27,84(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc04620:	3b 7b 01 ff 	addi    r27,r27,511                            
      offset += 512 * nblocks;                                        
ffc04624:	57 7b 00 2c 	rlwinm  r27,r27,0,0,22                         
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
ffc04628:	92 63 00 50 	stw     r19,80(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
ffc0462c:	7f fb fa 14 	add     r31,r27,r31                            
          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];            
ffc04630:	90 03 00 58 	stw     r0,88(r3)                              
ffc04634:	4b ff ff 5c 	b       ffc04590 <rtems_tarfs_load+0x1f0>      
                                                                      

ffc12dbc <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc12dbc:	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                                       
)                                                                     
{                                                                     
ffc12dc0:	7c 08 02 a6 	mflr    r0                                     
ffc12dc4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc12dc8:	90 01 00 0c 	stw     r0,12(r1)                              
ffc12dcc:	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;                                     
ffc12dd0:	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 )                                           
ffc12dd4:	41 82 01 34 	beq-    ffc12f08 <rtems_task_mode+0x14c>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc12dd8:	3c c0 00 00 	lis     r6,0                                   
ffc12ddc:	38 c6 31 04 	addi    r6,r6,12548                            
ffc12de0:	81 26 00 0c 	lwz     r9,12(r6)                              
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc12de4:	81 69 00 7c 	lwz     r11,124(r9)                            
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc12de8:	89 09 00 74 	lbz     r8,116(r9)                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc12dec:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc12df0:	81 69 01 30 	lwz     r11,304(r9)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc12df4:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12df8:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc12dfc:	55 07 40 2e 	rlwinm  r7,r8,8,0,23                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc12e00:	40 9e 01 18 	bne-    cr7,ffc12f18 <rtems_task_mode+0x15c>   
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc12e04:	89 0b 00 08 	lbz     r8,8(r11)                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc12e08:	39 40 00 00 	li      r10,0                                  
ffc12e0c:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12e10:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc12e14:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc12e18:	7d 07 3b 78 	or      r7,r8,r7                               
ffc12e1c:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc12e20:	55 48 8f fe 	rlwinm  r8,r10,17,31,31                        
ffc12e24:	2f 88 00 00 	cmpwi   cr7,r8,0                               
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc12e28:	70 8a 01 00 	andi.   r10,r4,256                             
ffc12e2c:	7d 40 00 26 	mfcr    r10                                    
ffc12e30:	55 4a ff fe 	rlwinm  r10,r10,31,31,31                       
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
ffc12e34:	7c e7 53 78 	or      r7,r7,r10                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc12e38:	90 e5 00 00 	stw     r7,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc12e3c:	41 82 00 14 	beq-    ffc12e50 <rtems_task_mode+0x94>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc12e40:	70 08 01 00 	andi.   r8,r0,256                              
ffc12e44:	7d 40 00 26 	mfcr    r10                                    
ffc12e48:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc12e4c:	99 49 00 74 	stb     r10,116(r9)                            
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc12e50:	70 8a 02 00 	andi.   r10,r4,512                             
ffc12e54:	41 82 00 20 	beq-    ffc12e74 <rtems_task_mode+0xb8>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc12e58:	70 0a 02 00 	andi.   r10,r0,512                             
ffc12e5c:	41 82 01 54 	beq-    ffc12fb0 <rtems_task_mode+0x1f4>       
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc12e60:	3d 40 00 00 	lis     r10,0                                  
ffc12e64:	81 4a 27 a4 	lwz     r10,10148(r10)                         
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
ffc12e68:	39 00 00 01 	li      r8,1                                   
ffc12e6c:	91 09 00 7c 	stw     r8,124(r9)                             
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc12e70:	91 49 00 78 	stw     r10,120(r9)                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc12e74:	70 88 00 01 	andi.   r8,r4,1                                
ffc12e78:	41 82 00 20 	beq-    ffc12e98 <rtems_task_mode+0xdc>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc12e7c:	39 20 00 00 	li      r9,0                                   
ffc12e80:	7d 20 00 a6 	mfmsr   r9                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc12e84:	70 0a 00 01 	andi.   r10,r0,1                               
ffc12e88:	40 82 01 18 	bne-    ffc12fa0 <rtems_task_mode+0x1e4>       
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc12e8c:	7d 50 42 a6 	mfsprg  r10,0                                  
    msr |= ppc_interrupt_get_disable_mask();                          
ffc12e90:	7d 49 4b 78 	or      r9,r10,r9                              
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc12e94:	7d 20 01 24 	mtmsr   r9                                     
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc12e98:	70 88 04 00 	andi.   r8,r4,1024                             
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc12e9c:	39 40 00 00 	li      r10,0                                  
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc12ea0:	41 82 00 54 	beq-    ffc12ef4 <rtems_task_mode+0x138>       
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc12ea4:	70 09 04 00 	andi.   r9,r0,1024                             
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
ffc12ea8:	89 2b 00 08 	lbz     r9,8(r11)                              
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc12eac:	7c 00 00 26 	mfcr    r0                                     
ffc12eb0:	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 ) {                        
ffc12eb4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc12eb8:	41 9e 00 3c 	beq-    cr7,ffc12ef4 <rtems_task_mode+0x138>   
      asr->is_enabled = is_asr_enabled;                               
ffc12ebc:	98 0b 00 08 	stb     r0,8(r11)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc12ec0:	7c 00 00 a6 	mfmsr   r0                                     
ffc12ec4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc12ec8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc12ecc:	7d 20 01 24 	mtmsr   r9                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc12ed0:	81 4b 00 18 	lwz     r10,24(r11)                            
    information->signals_pending = information->signals_posted;       
ffc12ed4:	81 2b 00 14 	lwz     r9,20(r11)                             
    information->signals_posted  = _signals;                          
ffc12ed8:	91 4b 00 14 	stw     r10,20(r11)                            
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
ffc12edc:	91 2b 00 18 	stw     r9,24(r11)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc12ee0:	7c 00 01 24 	mtmsr   r0                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc12ee4:	80 0b 00 14 	lwz     r0,20(r11)                             
        needs_asr_dispatching = true;                                 
ffc12ee8:	39 40 00 01 	li      r10,1                                  
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc12eec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12ef0:	41 9e 00 d0 	beq-    cr7,ffc12fc0 <rtems_task_mode+0x204>   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc12ef4:	3d 20 00 00 	lis     r9,0                                   
ffc12ef8:	80 09 27 ec 	lwz     r0,10220(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12efc:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc12f00:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc12f04:	41 9e 00 58 	beq-    cr7,ffc12f5c <rtems_task_mode+0x1a0>   <== ALWAYS TAKEN
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12f08:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc12f0c:	38 21 00 08 	addi    r1,r1,8                                
ffc12f10:	7c 08 03 a6 	mtlr    r0                                     
ffc12f14:	4e 80 00 20 	blr                                            
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc12f18:	89 0b 00 08 	lbz     r8,8(r11)                              
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
ffc12f1c:	60 e7 02 00 	ori     r7,r7,512                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc12f20:	39 40 00 00 	li      r10,0                                  
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc12f24:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc12f28:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc12f2c:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc12f30:	7d 07 3b 78 	or      r7,r8,r7                               
ffc12f34:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc12f38:	55 48 8f fe 	rlwinm  r8,r10,17,31,31                        
ffc12f3c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc12f40:	70 8a 01 00 	andi.   r10,r4,256                             
ffc12f44:	7d 40 00 26 	mfcr    r10                                    
ffc12f48:	55 4a ff fe 	rlwinm  r10,r10,31,31,31                       
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
ffc12f4c:	7c e7 53 78 	or      r7,r7,r10                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc12f50:	90 e5 00 00 	stw     r7,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc12f54:	41 a2 fe fc 	beq-    ffc12e50 <rtems_task_mode+0x94>        
ffc12f58:	4b ff fe e8 	b       ffc12e40 <rtems_task_mode+0x84>        
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc12f5c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc12f60:	81 26 00 0c 	lwz     r9,12(r6)                              
                                                                      
  if ( are_signals_pending ||                                         
ffc12f64:	40 9e 00 1c 	bne-    cr7,ffc12f80 <rtems_task_mode+0x1c4>   
ffc12f68:	80 06 00 10 	lwz     r0,16(r6)                              
ffc12f6c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc12f70:	41 be ff 98 	beq-    cr7,ffc12f08 <rtems_task_mode+0x14c>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc12f74:	88 09 00 74 	lbz     r0,116(r9)                             
ffc12f78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12f7c:	41 be ff 8c 	beq-    cr7,ffc12f08 <rtems_task_mode+0x14c>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc12f80:	38 00 00 01 	li      r0,1                                   
ffc12f84:	98 06 00 18 	stb     r0,24(r6)                              
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc12f88:	4b ff 8a ad 	bl      ffc0ba34 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12f8c:	80 01 00 0c 	lwz     r0,12(r1)                              
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12f90:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12f94:	7c 08 03 a6 	mtlr    r0                                     
ffc12f98:	38 21 00 08 	addi    r1,r1,8                                
ffc12f9c:	4e 80 00 20 	blr                                            
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc12fa0:	7d 50 42 a6 	mfsprg  r10,0                                  
  _CPU_MSR_GET(msr);                                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
    msr |= ppc_interrupt_get_disable_mask();                          
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc12fa4:	7d 29 50 78 	andc    r9,r9,r10                              
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc12fa8:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
ffc12fac:	4b ff fe ec 	b       ffc12e98 <rtems_task_mode+0xdc>        
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc12fb0:	70 88 00 01 	andi.   r8,r4,1                                
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
ffc12fb4:	91 49 00 7c 	stw     r10,124(r9)                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc12fb8:	41 a2 fe e0 	beq-    ffc12e98 <rtems_task_mode+0xdc>        
ffc12fbc:	4b ff fe c0 	b       ffc12e7c <rtems_task_mode+0xc0>        
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc12fc0:	39 40 00 00 	li      r10,0                                  
ffc12fc4:	4b ff ff 30 	b       ffc12ef4 <rtems_task_mode+0x138>       
                                                                      

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

ffc0a650 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
ffc0a650:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a654:	7c 08 02 a6 	mflr    r0                                     
ffc0a658:	93 e1 00 1c 	stw     r31,28(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc0a65c:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
ffc0a660:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0a664:	38 00 00 09 	li      r0,9                                   
{                                                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc0a668:	41 82 00 58 	beq-    ffc0a6c0 <rtems_task_variable_delete+0x70>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc0a66c:	38 81 00 08 	addi    r4,r1,8                                
ffc0a670:	48 00 2a 45 	bl      ffc0d0b4 <_Thread_Get>                 
  switch (location) {                                                 
ffc0a674:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a678:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a67c:	40 9e 00 5c 	bne-    cr7,ffc0a6d8 <rtems_task_variable_delete+0x88>
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
ffc0a680:	81 23 01 3c 	lwz     r9,316(r3)                             
      while (tvp) {                                                   
ffc0a684:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a688:	41 9e 00 30 	beq-    cr7,ffc0a6b8 <rtems_task_variable_delete+0x68>
        if (tvp->ptr == ptr) {                                        
ffc0a68c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0a690:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a694:	40 be 00 18 	bne+    cr7,ffc0a6ac <rtems_task_variable_delete+0x5c>
ffc0a698:	48 00 00 88 	b       ffc0a720 <rtems_task_variable_delete+0xd0>
ffc0a69c:	80 04 00 04 	lwz     r0,4(r4)                               
ffc0a6a0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a6a4:	41 9e 00 50 	beq-    cr7,ffc0a6f4 <rtems_task_variable_delete+0xa4>
ffc0a6a8:	7c 89 23 78 	mr      r9,r4                                  
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
ffc0a6ac:	80 89 00 00 	lwz     r4,0(r9)                               
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
ffc0a6b0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0a6b4:	40 9e ff e8 	bne+    cr7,ffc0a69c <rtems_task_variable_delete+0x4c><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0a6b8:	48 00 29 dd 	bl      ffc0d094 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc0a6bc:	38 00 00 09 	li      r0,9                                   
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a6c0:	7c 03 03 78 	mr      r3,r0                                  
ffc0a6c4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a6c8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a6cc:	38 21 00 20 	addi    r1,r1,32                               
ffc0a6d0:	7c 08 03 a6 	mtlr    r0                                     
ffc0a6d4:	4e 80 00 20 	blr                                            
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0a6d8:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0a6dc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a6e0:	7c 03 03 78 	mr      r3,r0                                  
ffc0a6e4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a6e8:	38 21 00 20 	addi    r1,r1,32                               
ffc0a6ec:	7c 08 03 a6 	mtlr    r0                                     
ffc0a6f0:	4e 80 00 20 	blr                                            
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
ffc0a6f4:	80 04 00 00 	lwz     r0,0(r4)                               
ffc0a6f8:	90 09 00 00 	stw     r0,0(r9)                               
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
ffc0a6fc:	48 00 01 0d 	bl      ffc0a808 <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
ffc0a700:	48 00 29 95 	bl      ffc0d094 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc0a704:	38 00 00 00 	li      r0,0                                   
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a708:	7c 03 03 78 	mr      r3,r0                                  
ffc0a70c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a710:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a714:	38 21 00 20 	addi    r1,r1,32                               
ffc0a718:	7c 08 03 a6 	mtlr    r0                                     
ffc0a71c:	4e 80 00 20 	blr                                            
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
ffc0a720:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0a724:	7d 24 4b 78 	mr      r4,r9                                  
ffc0a728:	90 03 01 3c 	stw     r0,316(r3)                             
ffc0a72c:	4b ff ff d0 	b       ffc0a6fc <rtems_task_variable_delete+0xac>
                                                                      

ffc0a730 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
ffc0a730:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a734:	7c 08 02 a6 	mflr    r0                                     
ffc0a738:	93 e1 00 1c 	stw     r31,28(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc0a73c:	7c 9f 23 79 	mr.     r31,r4                                 
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
ffc0a740:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0a744:	38 00 00 09 	li      r0,9                                   
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
ffc0a748:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0a74c:	7c be 2b 78 	mr      r30,r5                                 
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc0a750:	41 82 00 58 	beq-    ffc0a7a8 <rtems_task_variable_get+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
ffc0a754:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0a758:	41 9e 00 50 	beq-    cr7,ffc0a7a8 <rtems_task_variable_get+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc0a75c:	38 81 00 08 	addi    r4,r1,8                                
ffc0a760:	48 00 29 55 	bl      ffc0d0b4 <_Thread_Get>                 
  switch (location) {                                                 
ffc0a764:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a768:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a76c:	40 9e 00 58 	bne-    cr7,ffc0a7c4 <rtems_task_variable_get+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
ffc0a770:	81 23 01 3c 	lwz     r9,316(r3)                             
      while (tvp) {                                                   
ffc0a774:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a778:	40 be 00 14 	bne+    cr7,ffc0a78c <rtems_task_variable_get+0x5c>
ffc0a77c:	48 00 00 68 	b       ffc0a7e4 <rtems_task_variable_get+0xb4>
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
ffc0a780:	81 29 00 00 	lwz     r9,0(r9)                               
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
ffc0a784:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a788:	41 9e 00 5c 	beq-    cr7,ffc0a7e4 <rtems_task_variable_get+0xb4><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
ffc0a78c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0a790:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0a794:	40 9e ff ec 	bne+    cr7,ffc0a780 <rtems_task_variable_get+0x50>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
ffc0a798:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0a79c:	90 1e 00 00 	stw     r0,0(r30)                              
          _Thread_Enable_dispatch();                                  
ffc0a7a0:	48 00 28 f5 	bl      ffc0d094 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc0a7a4:	38 00 00 00 	li      r0,0                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a7a8:	7c 03 03 78 	mr      r3,r0                                  
ffc0a7ac:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a7b0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a7b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a7b8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a7bc:	38 21 00 20 	addi    r1,r1,32                               
ffc0a7c0:	4e 80 00 20 	blr                                            
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
ffc0a7c4:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0a7c8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a7cc:	7c 03 03 78 	mr      r3,r0                                  
ffc0a7d0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a7d4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a7d8:	38 21 00 20 	addi    r1,r1,32                               
ffc0a7dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0a7e0:	4e 80 00 20 	blr                                            
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0a7e4:	48 00 28 b1 	bl      ffc0d094 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc0a7e8:	38 00 00 09 	li      r0,9                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0a7ec:	7c 03 03 78 	mr      r3,r0                                  
ffc0a7f0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a7f4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a7f8:	7c 08 03 a6 	mtlr    r0                                     
ffc0a7fc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a800:	38 21 00 20 	addi    r1,r1,32                               
ffc0a804:	4e 80 00 20 	blr                                            
                                                                      

ffc08354 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
ffc08354:	2f 83 00 09 	cmpwi   cr7,r3,9                               
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
ffc08358:	38 00 00 09 	li      r0,9                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0835c:	41 9e 00 44 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08360:	40 9d 00 48 	ble-    cr7,ffc083a8 <rtems_termios_baud_to_index+0x54>
ffc08364:	2f 83 00 0e 	cmpwi   cr7,r3,14                              
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
ffc08368:	38 00 00 0e 	li      r0,14                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0836c:	41 9e 00 34 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08370:	40 9d 00 78 	ble-    cr7,ffc083e8 <rtems_termios_baud_to_index+0x94>
ffc08374:	2f 83 10 02 	cmpwi   cr7,r3,4098                            
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
ffc08378:	38 00 00 11 	li      r0,17                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0837c:	41 9e 00 24 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08380:	40 9d 00 d4 	ble-    cr7,ffc08454 <rtems_termios_baud_to_index+0x100>
ffc08384:	2f 83 10 03 	cmpwi   cr7,r3,4099                            
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
ffc08388:	38 00 00 12 	li      r0,18                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0838c:	41 9e 00 14 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08390:	2f 83 10 04 	cmpwi   cr7,r3,4100                            
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
ffc08394:	38 00 00 13 	li      r0,19                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08398:	41 9e 00 08 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c><== ALWAYS TAKEN
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
ffc0839c:	38 00 ff ff 	li      r0,-1                                  
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
ffc083a0:	7c 03 03 78 	mr      r3,r0                                  
ffc083a4:	4e 80 00 20 	blr                                            
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083a8:	2f 83 00 04 	cmpwi   cr7,r3,4                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
ffc083ac:	38 00 00 04 	li      r0,4                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083b0:	41 be ff f0 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc083b4:	41 9d 00 64 	bgt-    cr7,ffc08418 <rtems_termios_baud_to_index+0xc4>
ffc083b8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
ffc083bc:	38 00 00 01 	li      r0,1                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083c0:	41 be ff e0 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc083c4:	40 9d 00 ac 	ble-    cr7,ffc08470 <rtems_termios_baud_to_index+0x11c>
ffc083c8:	2f 83 00 02 	cmpwi   cr7,r3,2                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
ffc083cc:	38 00 00 02 	li      r0,2                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083d0:	41 be ff d0 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc083d4:	2f 83 00 03 	cmpwi   cr7,r3,3                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
ffc083d8:	38 00 00 03 	li      r0,3                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083dc:	41 be ff c4 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c><== ALWAYS TAKEN
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
ffc083e0:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc083e4:	4b ff ff bc 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083e8:	2f 83 00 0b 	cmpwi   cr7,r3,11                              
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
ffc083ec:	38 00 00 0b 	li      r0,11                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc083f0:	41 be ff b0 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc083f4:	41 9c 00 58 	blt-    cr7,ffc0844c <rtems_termios_baud_to_index+0xf8>
ffc083f8:	2f 83 00 0c 	cmpwi   cr7,r3,12                              
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
ffc083fc:	38 00 00 0c 	li      r0,12                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08400:	41 be ff a0 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08404:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
ffc08408:	38 00 00 0d 	li      r0,13                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0840c:	41 be ff 94 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c><== ALWAYS TAKEN
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
ffc08410:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc08414:	4b ff ff 8c 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08418:	2f 83 00 06 	cmpwi   cr7,r3,6                               
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
ffc0841c:	38 00 00 06 	li      r0,6                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08420:	41 be ff 80 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08424:	41 9c 00 20 	blt-    cr7,ffc08444 <rtems_termios_baud_to_index+0xf0>
ffc08428:	2f 83 00 07 	cmpwi   cr7,r3,7                               
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
ffc0842c:	38 00 00 07 	li      r0,7                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08430:	41 be ff 70 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08434:	2f 83 00 08 	cmpwi   cr7,r3,8                               
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
ffc08438:	38 00 00 08 	li      r0,8                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0843c:	40 9e ff 60 	bne+    cr7,ffc0839c <rtems_termios_baud_to_index+0x48><== NEVER TAKEN
ffc08440:	4b ff ff 60 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c>
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
ffc08444:	38 00 00 05 	li      r0,5                                   
ffc08448:	4b ff ff 58 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c>
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
ffc0844c:	38 00 00 0a 	li      r0,10                                  
ffc08450:	4b ff ff 50 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c>
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08454:	2f 83 00 0f 	cmpwi   cr7,r3,15                              
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
ffc08458:	38 00 00 0f 	li      r0,15                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0845c:	41 be ff 44 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08460:	2f 83 10 01 	cmpwi   cr7,r3,4097                            
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
ffc08464:	38 00 00 10 	li      r0,16                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08468:	40 9e ff 34 	bne+    cr7,ffc0839c <rtems_termios_baud_to_index+0x48><== NEVER TAKEN
ffc0846c:	4b ff ff 34 	b       ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc08470:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    case B0:        baud_index =  0;  break;                          
ffc08474:	38 00 00 00 	li      r0,0                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08478:	41 be ff 28 	beq-    cr7,ffc083a0 <rtems_termios_baud_to_index+0x4c>
ffc0847c:	4b ff ff 20 	b       ffc0839c <rtems_termios_baud_to_index+0x48>
                                                                      

ffc06304 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
ffc06304:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06308:	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(                                        
ffc0630c:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06310:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc06314:	38 a0 00 00 	li      r5,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06318:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc0631c:	3f c0 00 00 	lis     r30,0                                  
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06320:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06324:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc06328:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc0632c:	80 7e 27 98 	lwz     r3,10136(r30)                          
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc06330:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06334:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc06338:	48 00 29 79 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0633c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06340:	40 9e 01 ac 	bne-    cr7,ffc064ec <rtems_termios_close+0x1e8><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
ffc06344:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc06348:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0634c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06350:	90 1f 00 08 	stw     r0,8(r31)                              
ffc06354:	40 9e 00 d0 	bne-    cr7,ffc06424 <rtems_termios_close+0x120>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc06358:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc0635c:	3d 20 00 00 	lis     r9,0                                   
ffc06360:	39 29 28 90 	addi    r9,r9,10384                            
ffc06364:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06368:	7d 29 02 14 	add     r9,r9,r0                               
ffc0636c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc06370:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06374:	41 9e 01 1c 	beq-    cr7,ffc06490 <rtems_termios_close+0x18c>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc06378:	7c 09 03 a6 	mtctr   r0                                     
ffc0637c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06380:	4e 80 04 21 	bctrl                                          
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06384:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06388:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0638c:	41 9e 01 38 	beq-    cr7,ffc064c4 <rtems_termios_close+0x1c0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
ffc06390:	80 1f 00 9c 	lwz     r0,156(r31)                            
ffc06394:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06398:	41 9e 00 18 	beq-    cr7,ffc063b0 <rtems_termios_close+0xac><== ALWAYS TAKEN
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
ffc0639c:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc063a0:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc063a4:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc063a8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc063ac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
ffc063b0:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc063b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc063b8:	41 9e 00 b8 	beq-    cr7,ffc06470 <rtems_termios_close+0x16c>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
ffc063bc:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc063c0:	90 09 00 04 	stw     r0,4(r9)                               
ffc063c4:	81 7f 00 04 	lwz     r11,4(r31)                             
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
ffc063c8:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
ffc063cc:	41 9a 00 8c 	beq-    cr6,ffc06458 <rtems_termios_close+0x154><== ALWAYS TAKEN
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
ffc063d0:	91 2b 00 00 	stw     r9,0(r11)                              
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
ffc063d4:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc063d8:	48 00 27 fd 	bl      ffc08bd4 <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->osem);                               
ffc063dc:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc063e0:	48 00 27 f5 	bl      ffc08bd4 <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
ffc063e4:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc063e8:	48 00 27 ed 	bl      ffc08bd4 <rtems_semaphore_delete>      
    if ((tty->device.pollRead == NULL) ||                             
ffc063ec:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc063f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc063f4:	41 9e 00 58 	beq-    cr7,ffc0644c <rtems_termios_close+0x148>
ffc063f8:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc063fc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06400:	41 9e 00 4c 	beq-    cr7,ffc0644c <rtems_termios_close+0x148>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
ffc06404:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc06408:	4b ff e6 a5 	bl      ffc04aac <free>                        
    free (tty->rawOutBuf.theBuf);                                     
ffc0640c:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc06410:	4b ff e6 9d 	bl      ffc04aac <free>                        
    free (tty->cbuf);                                                 
ffc06414:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc06418:	4b ff e6 95 	bl      ffc04aac <free>                        
    free (tty);                                                       
ffc0641c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06420:	4b ff e6 8d 	bl      ffc04aac <free>                        
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc06424:	80 7e 27 98 	lwz     r3,10136(r30)                          
ffc06428:	48 00 2a 11 	bl      ffc08e38 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0642c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06430:	38 60 00 00 	li      r3,0                                   
ffc06434:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc06438:	7c 08 03 a6 	mtlr    r0                                     
ffc0643c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06440:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06444:	38 21 00 18 	addi    r1,r1,24                               
ffc06448:	4e 80 00 20 	blr                                            
    rtems_semaphore_delete (tty->isem);                               
    rtems_semaphore_delete (tty->osem);                               
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
ffc0644c:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc06450:	48 00 27 85 	bl      ffc08bd4 <rtems_semaphore_delete>      
ffc06454:	4b ff ff b0 	b       ffc06404 <rtems_termios_close+0x100>   
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc06458:	3d 60 00 00 	lis     r11,0                                  
ffc0645c:	91 2b 27 a0 	stw     r9,10144(r11)                          
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc06460:	41 be ff 74 	beq-    cr7,ffc063d4 <rtems_termios_close+0xd0>
        rtems_termios_ttyHead->back = NULL;                           
ffc06464:	38 00 00 00 	li      r0,0                                   
ffc06468:	90 09 00 04 	stw     r0,4(r9)                               
ffc0646c:	4b ff ff 68 	b       ffc063d4 <rtems_termios_close+0xd0>    
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
ffc06470:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc06474:	3d 40 00 00 	lis     r10,0                                  
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc06478:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
ffc0647c:	91 6a 27 9c 	stw     r11,10140(r10)                         
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc06480:	41 ba ff d8 	beq-    cr6,ffc06458 <rtems_termios_close+0x154>
        rtems_termios_ttyTail->forw = NULL;                           
ffc06484:	91 2b 00 00 	stw     r9,0(r11)                              
ffc06488:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0648c:	4b ff ff 44 	b       ffc063d0 <rtems_termios_close+0xcc>    
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06490:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06494:	38 80 00 00 	li      r4,0                                   
ffc06498:	38 a0 00 00 	li      r5,0                                   
ffc0649c:	48 00 28 15 	bl      ffc08cb0 <rtems_semaphore_obtain>      
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc064a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc064a4:	40 9e 00 48 	bne-    cr7,ffc064ec <rtems_termios_close+0x1e8><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
ffc064a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc064ac:	4b ff f9 05 	bl      ffc05db0 <drainOutput>                 
      rtems_semaphore_release (tty->osem);                            
ffc064b0:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc064b4:	48 00 29 85 	bl      ffc08e38 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc064b8:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc064bc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc064c0:	40 9e fe d0 	bne+    cr7,ffc06390 <rtems_termios_close+0x8c>
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
ffc064c4:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc064c8:	38 80 00 01 	li      r4,1                                   
ffc064cc:	48 00 22 4d 	bl      ffc08718 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc064d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc064d4:	40 9e 00 18 	bne-    cr7,ffc064ec <rtems_termios_close+0x1e8><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
ffc064d8:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc064dc:	38 80 00 01 	li      r4,1                                   
ffc064e0:	48 00 22 39 	bl      ffc08718 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc064e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc064e8:	41 9e fe a8 	beq+    cr7,ffc06390 <rtems_termios_close+0x8c><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc064ec:	48 00 31 51 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc07f60 <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) {
ffc07f60:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc07f64:	7c 08 02 a6 	mflr    r0                                     
ffc07f68:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc07f6c:	81 63 00 b4 	lwz     r11,180(r3)                            
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc07f70:	80 03 00 90 	lwz     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc07f74:	2f 8b 00 02 	cmpwi   cr7,r11,2                              
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc07f78:	7c 00 22 14 	add     r0,r0,r4                               
ffc07f7c:	90 03 00 90 	stw     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc07f80:	41 9e 00 4c 	beq-    cr7,ffc07fcc <rtems_termios_dequeue_characters+0x6c>
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
ffc07f84:	80 03 00 cc 	lwz     r0,204(r3)                             
ffc07f88:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc07f8c:	41 9e 00 14 	beq-    cr7,ffc07fa0 <rtems_termios_dequeue_characters+0x40>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc07f90:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07f94:	38 21 00 08 	addi    r1,r1,8                                
ffc07f98:	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);                       
ffc07f9c:	4b ff fc b0 	b       ffc07c4c <rtems_termios_refill_transmitter>
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07fa0:	3d 20 00 00 	lis     r9,0                                   
ffc07fa4:	80 09 29 44 	lwz     r0,10564(r9)                           
ffc07fa8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07fac:	41 9e 00 0c 	beq-    cr7,ffc07fb8 <rtems_termios_dequeue_characters+0x58><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc07fb0:	7c 09 03 a6 	mtctr   r0                                     
ffc07fb4:	4e 80 04 21 	bctrl                                          
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc07fb8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07fbc:	38 60 00 00 	li      r3,0                                   
ffc07fc0:	38 21 00 08 	addi    r1,r1,8                                
ffc07fc4:	7c 08 03 a6 	mtlr    r0                                     
ffc07fc8:	4e 80 00 20 	blr                                            
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
ffc07fcc:	80 63 00 c8 	lwz     r3,200(r3)                             
ffc07fd0:	38 80 00 02 	li      r4,2                                   
ffc07fd4:	48 00 07 45 	bl      ffc08718 <rtems_event_send>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc07fd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07fdc:	41 9e ff dc 	beq+    cr7,ffc07fb8 <rtems_termios_dequeue_characters+0x58><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
ffc07fe0:	48 00 16 5d 	bl      ffc0963c <rtems_fatal_error_occurred>  
                                                                      

ffc077f0 <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) {
ffc077f0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc077f4:	7c 08 02 a6 	mflr    r0                                     
ffc077f8:	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) {             
ffc077fc:	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) 
{                                                                     
ffc07800:	93 c1 00 28 	stw     r30,40(r1)                             
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
ffc07804:	3f c0 00 00 	lis     r30,0                                  
ffc07808:	3b de 28 90 	addi    r30,r30,10384                          
ffc0780c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
ffc07810:	93 61 00 1c 	stw     r27,28(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) {             
ffc07814:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc07818:	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) 
{                                                                     
ffc0781c:	7c bb 2b 78 	mr      r27,r5                                 
ffc07820:	93 a1 00 24 	stw     r29,36(r1)                             
ffc07824:	7c 9d 23 78 	mr      r29,r4                                 
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
ffc07828:	2f 80 00 00 	cmpwi   cr7,r0,0                               
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
ffc0782c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc07830:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07834:	92 c1 00 08 	stw     r22,8(r1)                              
ffc07838:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc0783c:	93 01 00 10 	stw     r24,16(r1)                             
ffc07840:	93 21 00 14 	stw     r25,20(r1)                             
ffc07844:	93 41 00 18 	stw     r26,24(r1)                             
ffc07848:	93 81 00 20 	stw     r28,32(r1)                             
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
ffc0784c:	41 9e 00 b0 	beq-    cr7,ffc078fc <rtems_termios_enqueue_raw_characters+0x10c>
    while (len--) {                                                   
ffc07850:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc07854:	41 9e 00 38 	beq-    cr7,ffc0788c <rtems_termios_enqueue_raw_characters+0x9c><== NEVER TAKEN
ffc07858:	3b 80 00 00 	li      r28,0                                  
ffc0785c:	48 00 00 14 	b       ffc07870 <rtems_termios_enqueue_raw_characters+0x80>
ffc07860:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc07864:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07868:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc0786c:	80 09 00 10 	lwz     r0,16(r9)                              
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
ffc07870:	7c 7d e0 ae 	lbzx    r3,r29,r28                             
ffc07874:	7f e4 fb 78 	mr      r4,r31                                 
ffc07878:	7c 09 03 a6 	mtctr   r0                                     
ffc0787c:	3b 9c 00 01 	addi    r28,r28,1                              
ffc07880:	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--) {                                                   
ffc07884:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc07888:	40 9e ff d8 	bne+    cr7,ffc07860 <rtems_termios_enqueue_raw_characters+0x70>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc0788c:	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;                                                         
ffc07890:	3b 40 00 00 	li      r26,0                                  
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc07894:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07898:	40 9e 00 28 	bne-    cr7,ffc078c0 <rtems_termios_enqueue_raw_characters+0xd0><== NEVER TAKEN
ffc0789c:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc078a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc078a4:	41 9e 00 1c 	beq-    cr7,ffc078c0 <rtems_termios_enqueue_raw_characters+0xd0><== NEVER TAKEN
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
ffc078a8:	7c 09 03 a6 	mtctr   r0                                     
ffc078ac:	38 7f 00 30 	addi    r3,r31,48                              
ffc078b0:	80 9f 00 e0 	lwz     r4,224(r31)                            
ffc078b4:	4e 80 04 21 	bctrl                                          
      tty->tty_rcvwakeup = 1;                                         
ffc078b8:	38 00 00 01 	li      r0,1                                   
ffc078bc:	90 1f 00 e4 	stw     r0,228(r31)                            
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
ffc078c0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc078c4:	7f 43 d3 78 	mr      r3,r26                                 
ffc078c8:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc078cc:	7c 08 03 a6 	mtlr    r0                                     
ffc078d0:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc078d4:	83 01 00 10 	lwz     r24,16(r1)                             
ffc078d8:	83 21 00 14 	lwz     r25,20(r1)                             
ffc078dc:	83 41 00 18 	lwz     r26,24(r1)                             
ffc078e0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc078e4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc078e8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc078ec:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc078f0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc078f4:	38 21 00 30 	addi    r1,r1,48                               
ffc078f8:	4e 80 00 20 	blr                                            
  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) {             
ffc078fc:	7c be 2b 78 	mr      r30,r5                                 
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc07900:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
 * NOTE: This routine runs in the context of the                      
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
ffc07904:	3b 64 ff ff 	addi    r27,r4,-1                              
ffc07908:	3b 20 00 00 	li      r25,0                                  
ffc0790c:	3b 40 00 00 	li      r26,0                                  
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc07910:	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,                          
ffc07914:	3a c3 00 4a 	addi    r22,r3,74                              
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc07918:	41 9e 01 18 	beq-    cr7,ffc07a30 <rtems_termios_enqueue_raw_characters+0x240><== NEVER TAKEN
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc0791c:	80 1f 00 b8 	lwz     r0,184(r31)                            
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
ffc07920:	8f 9b 00 01 	lbzu    r28,1(r27)                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc07924:	70 09 02 00 	andi.   r9,r0,512                              
ffc07928:	41 82 00 1c 	beq-    ffc07944 <rtems_termios_enqueue_raw_characters+0x154>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
ffc0792c:	88 1f 00 4a 	lbz     r0,74(r31)                             
ffc07930:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc07934:	41 9e 01 4c 	beq-    cr7,ffc07a80 <rtems_termios_enqueue_raw_characters+0x290>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
ffc07938:	88 1f 00 49 	lbz     r0,73(r31)                             
ffc0793c:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc07940:	41 9e 01 d4 	beq-    cr7,ffc07b14 <rtems_termios_enqueue_raw_characters+0x324><== NEVER TAKEN
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
ffc07944:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc07948:	40 9e 01 54 	bne-    cr7,ffc07a9c <rtems_termios_enqueue_raw_characters+0x2ac><== NEVER TAKEN
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
ffc0794c:	83 bf 00 60 	lwz     r29,96(r31)                            
ffc07950:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc07954:	38 1d 00 01 	addi    r0,r29,1                               
ffc07958:	7f a0 4b 96 	divwu   r29,r0,r9                              
ffc0795c:	7f bd 49 d6 	mullw   r29,r29,r9                             
ffc07960:	7f bd 00 50 	subf    r29,r29,r0                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07964:	7f 00 00 a6 	mfmsr   r24                                    
ffc07968:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0796c:	7f 00 00 78 	andc    r0,r24,r0                              
ffc07970:	7c 00 01 24 	mtmsr   r0                                     
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc07974:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc07978:	81 7f 00 64 	lwz     r11,100(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc0797c:	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)       
ffc07980:	7c 00 58 50 	subf    r0,r0,r11                              
ffc07984:	81 7f 00 c0 	lwz     r11,192(r31)                           
ffc07988:	7c 00 ea 14 	add     r0,r0,r29                              
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc0798c:	7d 40 4b 96 	divwu   r10,r0,r9                              
ffc07990:	7d 2a 49 d6 	mullw   r9,r10,r9                              
ffc07994:	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)       
ffc07998:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0799c:	40 9d 00 3c 	ble-    cr7,ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
ffc079a0:	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) &&                
ffc079a4:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc079a8:	40 82 00 30 	bne-    ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
ffc079ac:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc079b0:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc079b4:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
ffc079b8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc079bc:	70 00 04 02 	andi.   r0,r0,1026                             <== NOT EXECUTED
ffc079c0:	2f 80 04 00 	cmpwi   cr7,r0,1024                            <== NOT EXECUTED
ffc079c4:	41 9e 01 78 	beq-    cr7,ffc07b3c <rtems_termios_enqueue_raw_characters+0x34c><== NOT EXECUTED
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
ffc079c8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc079cc:	70 00 01 04 	andi.   r0,r0,260                              <== NOT EXECUTED
ffc079d0:	2f 80 01 00 	cmpwi   cr7,r0,256                             <== NOT EXECUTED
ffc079d4:	41 9e 01 a8 	beq-    cr7,ffc07b7c <rtems_termios_enqueue_raw_characters+0x38c><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc079d8:	7f 00 01 24 	mtmsr   r24                                    
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
ffc079dc:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc079e0:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc079e4:	41 9e 01 24 	beq-    cr7,ffc07b08 <rtems_termios_enqueue_raw_characters+0x318><== NEVER TAKEN
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
ffc079e8:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc079ec:	7f 89 e9 ae 	stbx    r28,r9,r29                             
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc079f0:	80 1f 00 e4 	lwz     r0,228(r31)                            
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
ffc079f4:	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 )) {
ffc079f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc079fc:	40 9e 00 28 	bne-    cr7,ffc07a24 <rtems_termios_enqueue_raw_characters+0x234><== NEVER TAKEN
ffc07a00:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc07a04:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07a08:	41 9e 00 1c 	beq-    cr7,ffc07a24 <rtems_termios_enqueue_raw_characters+0x234><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc07a0c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07a10:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc07a14:	80 9f 00 e0 	lwz     r4,224(r31)                            <== NOT EXECUTED
ffc07a18:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
ffc07a1c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc07a20:	90 1f 00 e4 	stw     r0,228(r31)                            <== NOT EXECUTED
ffc07a24:	3b de ff ff 	addi    r30,r30,-1                             
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc07a28:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc07a2c:	40 9e fe f0 	bne+    cr7,ffc0791c <rtems_termios_enqueue_raw_characters+0x12c><== NEVER TAKEN
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc07a30:	80 1f 00 78 	lwz     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc07a34:	80 7f 00 68 	lwz     r3,104(r31)                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc07a38:	7c 00 d2 14 	add     r0,r0,r26                              
ffc07a3c:	90 1f 00 78 	stw     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc07a40:	48 00 13 f9 	bl      ffc08e38 <rtems_semaphore_release>     
  return dropped;                                                     
}                                                                     
ffc07a44:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07a48:	7f 43 d3 78 	mr      r3,r26                                 
ffc07a4c:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc07a50:	7c 08 03 a6 	mtlr    r0                                     
ffc07a54:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc07a58:	83 01 00 10 	lwz     r24,16(r1)                             
ffc07a5c:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07a60:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07a64:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc07a68:	83 81 00 20 	lwz     r28,32(r1)                             
ffc07a6c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07a70:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07a74:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc07a78:	38 21 00 30 	addi    r1,r1,48                               
ffc07a7c:	4e 80 00 20 	blr                                            
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
ffc07a80:	89 3f 00 49 	lbz     r9,73(r31)                             
ffc07a84:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07a88:	41 9e 00 a0 	beq-    cr7,ffc07b28 <rtems_termios_enqueue_raw_characters+0x338><== NEVER TAKEN
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc07a8c:	80 1f 00 b8 	lwz     r0,184(r31)                            
  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--) {                                                   
ffc07a90:	3b 20 00 01 	li      r25,1                                  
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc07a94:	60 00 00 10 	ori     r0,r0,16                               
ffc07a98:	90 1f 00 b8 	stw     r0,184(r31)                            
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
ffc07a9c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07aa0:	54 00 06 b6 	rlwinm  r0,r0,0,26,27                          
ffc07aa4:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc07aa8:	40 9e ff 7c 	bne+    cr7,ffc07a24 <rtems_termios_enqueue_raw_characters+0x234><== ALWAYS TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07aac:	7f a0 00 a6 	mfmsr   r29                                    <== NOT EXECUTED
ffc07ab0:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc07ab4:	7f a0 00 78 	andc    r0,r29,r0                              <== NOT EXECUTED
ffc07ab8:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc07abc:	81 3f 00 94 	lwz     r9,148(r31)                            <== NOT EXECUTED
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
ffc07ac0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc07ac4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
ffc07ac8:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc07acc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc07ad0:	40 9e 00 10 	bne-    cr7,ffc07ae0 <rtems_termios_enqueue_raw_characters+0x2f0><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc07ad4:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
ffc07ad8:	3b de ff ff 	addi    r30,r30,-1                             <== NOT EXECUTED
ffc07adc:	4b ff ff 4c 	b       ffc07a28 <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
ffc07ae0:	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)(                                       
ffc07ae4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc07ae8:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc07aec:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc07af0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07af4:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc07af8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07afc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07b00:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc07b04:	4b ff ff d4 	b       ffc07ad8 <rtems_termios_enqueue_raw_characters+0x2e8><== NOT EXECUTED
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
ffc07b08:	3b 5a 00 01 	addi    r26,r26,1                              <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
ffc07b0c:	3b de ff ff 	addi    r30,r30,-1                             <== NOT EXECUTED
ffc07b10:	4b ff ff 18 	b       ffc07a28 <rtems_termios_enqueue_raw_characters+0x238><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc07b14:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
  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--) {                                                   
ffc07b18:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc07b1c:	54 00 07 34 	rlwinm  r0,r0,0,28,26                          <== NOT EXECUTED
ffc07b20:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
ffc07b24:	4b ff ff 78 	b       ffc07a9c <rtems_termios_enqueue_raw_characters+0x2ac><== NOT EXECUTED
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc07b28:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
  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--) {                                                   
ffc07b2c:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc07b30:	68 00 00 10 	xori    r0,r0,16                               <== NOT EXECUTED
ffc07b34:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
ffc07b38:	4b ff ff 64 	b       ffc07a9c <rtems_termios_enqueue_raw_characters+0x2ac><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc07b3c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07b40:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc07b44:	40 82 00 10 	bne-    ffc07b54 <rtems_termios_enqueue_raw_characters+0x364><== NOT EXECUTED
ffc07b48:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc07b4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc07b50:	40 be fe 88 	bne-    cr7,ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
ffc07b54:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc07b58:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc07b5c:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc07b60:	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;                             
ffc07b64:	61 29 00 02 	ori     r9,r9,2                                <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc07b68:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
ffc07b6c:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc07b70:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07b74:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07b78:	4b ff fe 60 	b       ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc07b7c:	80 1f 00 ac 	lwz     r0,172(r31)                            <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
ffc07b80:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc07b84:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
ffc07b88:	61 29 00 04 	ori     r9,r9,4                                <== NOT EXECUTED
ffc07b8c:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc07b90:	41 be fe 48 	beq-    cr7,ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
ffc07b94:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07b98:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07b9c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07ba0:	4b ff fe 38 	b       ffc079d8 <rtems_termios_enqueue_raw_characters+0x1e8><== NOT EXECUTED
                                                                      

ffc0650c <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
ffc0650c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06510:	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);
ffc06514:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06518:	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;                                            
ffc0651c:	38 00 00 00 	li      r0,0                                   
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06520:	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;                   
ffc06524:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06528:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc0652c:	83 c9 00 38 	lwz     r30,56(r9)                             
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06530:	93 81 00 10 	stw     r28,16(r1)                             
ffc06534:	93 a1 00 14 	stw     r29,20(r1)                             
ffc06538:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0653c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06540:	93 41 00 08 	stw     r26,8(r1)                              
ffc06544:	93 61 00 0c 	stw     r27,12(r1)                             
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
ffc06548:	90 03 00 0c 	stw     r0,12(r3)                              
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0654c:	80 7e 00 18 	lwz     r3,24(r30)                             
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
ffc06550:	83 9f 00 08 	lwz     r28,8(r31)                             
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06554:	48 00 27 5d 	bl      ffc08cb0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc06558:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0655c:	40 82 00 4c 	bne-    ffc065a8 <rtems_termios_ioctl+0x9c>    <== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc06560:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc06564:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc06568:	41 9e 00 28 	beq-    cr7,ffc06590 <rtems_termios_ioctl+0x84>
ffc0656c:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc06570:	41 9d 00 68 	bgt-    cr7,ffc065d8 <rtems_termios_ioctl+0xcc>
ffc06574:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06578:	41 9e 00 bc 	beq-    cr7,ffc06634 <rtems_termios_ioctl+0x128>
ffc0657c:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc06580:	40 9d 02 4c 	ble-    cr7,ffc067cc <rtems_termios_ioctl+0x2c0>
    if (tty->device.setAttributes)                                    
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
ffc06584:	7f c3 f3 78 	mr      r3,r30                                 
ffc06588:	4b ff f8 29 	bl      ffc05db0 <drainOutput>                 
    break;                                                            
ffc0658c:	48 00 00 14 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
ffc06590:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc06594:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc06598:	91 3e 00 dc 	stw     r9,220(r30)                            
ffc0659c:	91 5e 00 e0 	stw     r10,224(r30)                           
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
ffc065a0:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc065a4:	48 00 28 95 	bl      ffc08e38 <rtems_semaphore_release>     
  args->ioctl_return = sc;                                            
  return sc;                                                          
}                                                                     
ffc065a8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc065ac:	7f a3 eb 78 	mr      r3,r29                                 
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
ffc065b0:	93 bf 00 0c 	stw     r29,12(r31)                            
  return sc;                                                          
}                                                                     
ffc065b4:	7c 08 03 a6 	mtlr    r0                                     
ffc065b8:	83 41 00 08 	lwz     r26,8(r1)                              
ffc065bc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc065c0:	83 81 00 10 	lwz     r28,16(r1)                             
ffc065c4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc065c8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc065cc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc065d0:	38 21 00 20 	addi    r1,r1,32                               
ffc065d4:	4e 80 00 20 	blr                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc065d8:	3d 20 40 04 	lis     r9,16388                               
ffc065dc:	61 29 66 7f 	ori     r9,r9,26239                            
ffc065e0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc065e4:	41 9e 01 bc 	beq-    cr7,ffc067a0 <rtems_termios_ioctl+0x294><== NEVER TAKEN
ffc065e8:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc065ec:	41 9d 01 fc 	bgt-    cr7,ffc067e8 <rtems_termios_ioctl+0x2dc>
ffc065f0:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc065f4:	41 9e 02 84 	beq-    cr7,ffc06878 <rtems_termios_ioctl+0x36c>
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc065f8:	80 1e 00 cc 	lwz     r0,204(r30)                            
ffc065fc:	3d 20 00 00 	lis     r9,0                                   
ffc06600:	39 29 28 90 	addi    r9,r9,10384                            
ffc06604:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06608:	7d 29 02 14 	add     r9,r9,r0                               
ffc0660c:	80 09 00 18 	lwz     r0,24(r9)                              
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
ffc06610:	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) {          
ffc06614:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06618:	41 be ff 88 	beq-    cr7,ffc065a0 <rtems_termios_ioctl+0x94><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
ffc0661c:	7f c3 f3 78 	mr      r3,r30                                 
ffc06620:	7c 09 03 a6 	mtctr   r0                                     
ffc06624:	7f e4 fb 78 	mr      r4,r31                                 
ffc06628:	4e 80 04 21 	bctrl                                          
ffc0662c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06630:	4b ff ff 70 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
ffc06634:	3b 9e 00 30 	addi    r28,r30,48                             
ffc06638:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0663c:	7f 83 e3 78 	mr      r3,r28                                 
ffc06640:	38 a0 00 24 	li      r5,36                                  
ffc06644:	48 00 da 51 	bl      ffc14094 <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) &&                                 
ffc06648:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc0664c:	70 09 02 00 	andi.   r9,r0,512                              
ffc06650:	41 82 00 58 	beq-    ffc066a8 <rtems_termios_ioctl+0x19c>   
      !(tty->termios.c_iflag & IXON)) {                               
ffc06654:	80 1e 00 30 	lwz     r0,48(r30)                             
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
ffc06658:	70 09 04 00 	andi.   r9,r0,1024                             
ffc0665c:	40 82 00 4c 	bne-    ffc066a8 <rtems_termios_ioctl+0x19c>   <== ALWAYS TAKEN
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
ffc06660:	81 3e 00 b8 	lwz     r9,184(r30)                            <== NOT EXECUTED
ffc06664:	38 00 fd ef 	li      r0,-529                                <== NOT EXECUTED
ffc06668:	7d 20 00 38 	and     r0,r9,r0                               <== NOT EXECUTED
ffc0666c:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
ffc06670:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06674:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc06678:	41 82 00 30 	beq-    ffc066a8 <rtems_termios_ioctl+0x19c>   <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc0667c:	7f 60 00 a6 	mfmsr   r27                                    <== NOT EXECUTED
ffc06680:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc06684:	7f 60 00 78 	andc    r0,r27,r0                              <== NOT EXECUTED
ffc06688:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc0668c:	81 3e 00 94 	lwz     r9,148(r30)                            <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
ffc06690:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc06694:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
ffc06698:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc0669c:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc066a0:	40 9e 02 04 	bne-    cr7,ffc068a4 <rtems_termios_ioctl+0x398><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc066a4:	7f 60 01 24 	mtmsr   r27                                    <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
ffc066a8:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc066ac:	70 09 04 00 	andi.   r9,r0,1024                             
ffc066b0:	41 82 00 28 	beq-    ffc066d8 <rtems_termios_ioctl+0x1cc>   
ffc066b4:	80 1e 00 30 	lwz     r0,48(r30)                             
ffc066b8:	70 09 10 00 	andi.   r9,r0,4096                             
ffc066bc:	40 82 00 1c 	bne-    ffc066d8 <rtems_termios_ioctl+0x1cc>   <== ALWAYS TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
ffc066c0:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc066c4:	54 00 05 a8 	rlwinm  r0,r0,0,22,20                          <== NOT EXECUTED
ffc066c8:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
ffc066cc:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc066d0:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          <== NOT EXECUTED
ffc066d4:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
ffc066d8:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc066dc:	70 09 01 00 	andi.   r9,r0,256                              
ffc066e0:	41 82 01 ac 	beq-    ffc0688c <rtems_termios_ioctl+0x380>   <== ALWAYS TAKEN
ffc066e4:	80 1e 00 38 	lwz     r0,56(r30)                             <== NOT EXECUTED
ffc066e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc066ec:	41 9c 02 28 	blt-    cr7,ffc06914 <rtems_termios_ioctl+0x408><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
ffc066f0:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc066f4:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          <== NOT EXECUTED
ffc066f8:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
ffc066fc:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06700:	70 09 00 04 	andi.   r9,r0,4                                <== NOT EXECUTED
ffc06704:	41 82 00 24 	beq-    ffc06728 <rtems_termios_ioctl+0x21c>   <== NOT EXECUTED
ffc06708:	80 1e 00 b0 	lwz     r0,176(r30)                            <== NOT EXECUTED
ffc0670c:	2f 00 00 00 	cmpwi   cr6,r0,0                               <== NOT EXECUTED
ffc06710:	41 9a 00 18 	beq-    cr6,ffc06728 <rtems_termios_ioctl+0x21c><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
ffc06714:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06718:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc0671c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06720:	80 1e 00 38 	lwz     r0,56(r30)                             <== NOT EXECUTED
ffc06724:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
ffc06728:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc0672c:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc06730:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
ffc06734:	41 9c 01 e0 	blt-    cr7,ffc06914 <rtems_termios_ioctl+0x408><== NEVER TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
ffc06738:	80 1e 00 30 	lwz     r0,48(r30)                             
ffc0673c:	70 09 10 00 	andi.   r9,r0,4096                             
ffc06740:	41 82 00 10 	beq-    ffc06750 <rtems_termios_ioctl+0x244>   
    tty->flow_ctrl |= FL_MDXOF;                                       
ffc06744:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc06748:	61 29 04 00 	ori     r9,r9,1024                             
ffc0674c:	91 3e 00 b8 	stw     r9,184(r30)                            
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
ffc06750:	70 09 04 00 	andi.   r9,r0,1024                             
ffc06754:	41 82 00 10 	beq-    ffc06764 <rtems_termios_ioctl+0x258>   
    tty->flow_ctrl |= FL_MDXON;                                       
ffc06758:	80 1e 00 b8 	lwz     r0,184(r30)                            
ffc0675c:	60 00 02 00 	ori     r0,r0,512                              
ffc06760:	90 1e 00 b8 	stw     r0,184(r30)                            
    tty->termios = *(struct termios *)args->buffer;                   
                                                                      
    /* check for and process change in flow control options */        
    termios_set_flowctrl(tty);                                        
                                                                      
    if (tty->termios.c_lflag & ICANON) {                              
ffc06764:	83 7e 00 3c 	lwz     r27,60(r30)                            
ffc06768:	73 7b 00 02 	andi.   r27,r27,2                              
ffc0676c:	41 82 01 60 	beq-    ffc068cc <rtems_termios_ioctl+0x3c0>   
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
ffc06770:	38 00 00 00 	li      r0,0                                   
ffc06774:	90 1e 00 6c 	stw     r0,108(r30)                            
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
ffc06778:	90 1e 00 70 	stw     r0,112(r30)                            
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
ffc0677c:	90 1e 00 74 	stw     r0,116(r30)                            
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
ffc06780:	80 1e 00 a8 	lwz     r0,168(r30)                            
ffc06784:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06788:	41 be fe 18 	beq-    cr7,ffc065a0 <rtems_termios_ioctl+0x94><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
ffc0678c:	80 7e 00 10 	lwz     r3,16(r30)                             
ffc06790:	7f 84 e3 78 	mr      r4,r28                                 
ffc06794:	7c 09 03 a6 	mtctr   r0                                     
ffc06798:	4e 80 04 21 	bctrl                                          
ffc0679c:	4b ff fe 04 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
ffc067a0:	81 3e 00 60 	lwz     r9,96(r30)                             <== NOT EXECUTED
ffc067a4:	80 1e 00 5c 	lwz     r0,92(r30)                             <== NOT EXECUTED
      if ( rawnc < 0 )                                                
ffc067a8:	7c 00 48 51 	subf.   r0,r0,r9                               <== NOT EXECUTED
ffc067ac:	41 80 00 ec 	blt-    ffc06898 <rtems_termios_ioctl+0x38c>   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
ffc067b0:	81 5e 00 20 	lwz     r10,32(r30)                            <== NOT EXECUTED
ffc067b4:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc067b8:	81 7f 00 08 	lwz     r11,8(r31)                             <== NOT EXECUTED
ffc067bc:	7d 29 50 50 	subf    r9,r9,r10                              <== NOT EXECUTED
ffc067c0:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
ffc067c4:	90 0b 00 00 	stw     r0,0(r11)                              <== NOT EXECUTED
    }                                                                 
    break;                                                            
ffc067c8:	4b ff fd d8 	b       ffc065a0 <rtems_termios_ioctl+0x94>    <== NOT EXECUTED
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc067cc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc067d0:	40 9e fe 28 	bne+    cr7,ffc065f8 <rtems_termios_ioctl+0xec><== NEVER TAKEN
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
ffc067d4:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc067d8:	38 9e 00 30 	addi    r4,r30,48                              
ffc067dc:	38 a0 00 24 	li      r5,36                                  
ffc067e0:	48 00 d8 b5 	bl      ffc14094 <memcpy>                      
    break;                                                            
ffc067e4:	4b ff fd bc 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc067e8:	6c 09 40 04 	xoris   r9,r0,16388                            
ffc067ec:	2f 89 74 1a 	cmpwi   cr7,r9,29722                           
ffc067f0:	41 9e 00 78 	beq-    cr7,ffc06868 <rtems_termios_ioctl+0x35c>
ffc067f4:	6c 09 80 04 	xoris   r9,r0,32772                            
ffc067f8:	2f 89 74 1b 	cmpwi   cr7,r9,29723                           
ffc067fc:	40 9e fd fc 	bne+    cr7,ffc065f8 <rtems_termios_ioctl+0xec><== NEVER TAKEN
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc06800:	81 3e 00 cc 	lwz     r9,204(r30)                            
ffc06804:	3f 80 00 00 	lis     r28,0                                  
ffc06808:	3b 9c 28 90 	addi    r28,r28,10384                          
ffc0680c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06810:	7d 3c 4a 14 	add     r9,r28,r9                              
ffc06814:	80 09 00 04 	lwz     r0,4(r9)                               
ffc06818:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0681c:	41 9e 00 14 	beq-    cr7,ffc06830 <rtems_termios_ioctl+0x324>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc06820:	7f c3 f3 78 	mr      r3,r30                                 
ffc06824:	7c 09 03 a6 	mtctr   r0                                     
ffc06828:	4e 80 04 21 	bctrl                                          
ffc0682c:	7c 7d 1b 78 	mr      r29,r3                                 
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc06830:	81 3f 00 08 	lwz     r9,8(r31)                              
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc06834:	38 00 00 00 	li      r0,0                                   
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc06838:	81 29 00 00 	lwz     r9,0(r9)                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc0683c:	90 1e 00 d0 	stw     r0,208(r30)                            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc06840:	55 20 28 34 	rlwinm  r0,r9,5,0,26                           
ffc06844:	7c 1c 00 2e 	lwzx    r0,r28,r0                              
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc06848:	91 3e 00 cc 	stw     r9,204(r30)                            
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc0684c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06850:	41 be fd 50 	beq-    cr7,ffc065a0 <rtems_termios_ioctl+0x94><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
ffc06854:	7f c3 f3 78 	mr      r3,r30                                 
ffc06858:	7c 09 03 a6 	mtctr   r0                                     
ffc0685c:	4e 80 04 21 	bctrl                                          
ffc06860:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06864:	4b ff fd 3c 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
ffc06868:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc0686c:	80 1e 00 cc 	lwz     r0,204(r30)                            
ffc06870:	90 09 00 00 	stw     r0,0(r9)                               
    break;                                                            
ffc06874:	4b ff fd 2c 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
ffc06878:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc0687c:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc06880:	91 3e 00 d4 	stw     r9,212(r30)                            
ffc06884:	91 5e 00 d8 	stw     r10,216(r30)                           
    break;                                                            
ffc06888:	4b ff fd 18 	b       ffc065a0 <rtems_termios_ioctl+0x94>    
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
ffc0688c:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc06890:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06894:	4b ff fe a0 	b       ffc06734 <rtems_termios_ioctl+0x228>   
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
ffc06898:	81 3e 00 64 	lwz     r9,100(r30)                            <== NOT EXECUTED
ffc0689c:	7c 00 4a 14 	add     r0,r0,r9                               <== NOT EXECUTED
ffc068a0:	4b ff ff 10 	b       ffc067b0 <rtems_termios_ioctl+0x2a4>   <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
ffc068a4:	81 3e 00 84 	lwz     r9,132(r30)                            <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
ffc068a8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc068ac:	80 9e 00 7c 	lwz     r4,124(r30)                            <== NOT EXECUTED
ffc068b0:	80 1e 00 a4 	lwz     r0,164(r30)                            <== NOT EXECUTED
ffc068b4:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc068b8:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc068bc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc068c0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc068c4:	7f 60 01 24 	mtmsr   r27                                    <== NOT EXECUTED
ffc068c8:	4b ff fd e0 	b       ffc066a8 <rtems_termios_ioctl+0x19c>   <== NOT EXECUTED
    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] *                    
ffc068cc:	8b 5e 00 46 	lbz     r26,70(r30)                            
                    rtems_clock_get_ticks_per_second() / 10;          
ffc068d0:	48 00 1b 99 	bl      ffc08468 <rtems_clock_get_ticks_per_second>
      if (tty->termios.c_cc[VTIME]) {                                 
ffc068d4:	89 3e 00 46 	lbz     r9,70(r30)                             
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
ffc068d8:	3c 00 cc cc 	lis     r0,-13108                              
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
ffc068dc:	7c 63 d1 d6 	mullw   r3,r3,r26                              
                    rtems_clock_get_ticks_per_second() / 10;          
ffc068e0:	60 00 cc cd 	ori     r0,r0,52429                            
      if (tty->termios.c_cc[VTIME]) {                                 
ffc068e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
ffc068e8:	7c 03 00 16 	mulhwu  r0,r3,r0                               
ffc068ec:	54 00 e8 fe 	rlwinm  r0,r0,29,3,31                          
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
ffc068f0:	90 1e 00 54 	stw     r0,84(r30)                             
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc068f4:	41 9e 00 30 	beq-    cr7,ffc06924 <rtems_termios_ioctl+0x418>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc068f8:	89 3e 00 47 	lbz     r9,71(r30)                             
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
ffc068fc:	93 7e 00 6c 	stw     r27,108(r30)                           
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc06900:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
ffc06904:	90 1e 00 70 	stw     r0,112(r30)                            
        if (tty->termios.c_cc[VMIN])                                  
ffc06908:	41 9e 00 38 	beq-    cr7,ffc06940 <rtems_termios_ioctl+0x434>
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc0690c:	93 7e 00 74 	stw     r27,116(r30)                           
ffc06910:	4b ff fe 70 	b       ffc06780 <rtems_termios_ioctl+0x274>   
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
ffc06914:	80 1e 00 b8 	lwz     r0,184(r30)                            <== NOT EXECUTED
ffc06918:	60 00 01 00 	ori     r0,r0,256                              <== NOT EXECUTED
ffc0691c:	90 1e 00 b8 	stw     r0,184(r30)                            <== NOT EXECUTED
ffc06920:	4b ff fe 18 	b       ffc06738 <rtems_termios_ioctl+0x22c>   <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
ffc06924:	88 1e 00 47 	lbz     r0,71(r30)                             
ffc06928:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0692c:	41 9e 00 1c 	beq-    cr7,ffc06948 <rtems_termios_ioctl+0x43c><== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
ffc06930:	91 3e 00 6c 	stw     r9,108(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
ffc06934:	91 3e 00 70 	stw     r9,112(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc06938:	91 3e 00 74 	stw     r9,116(r30)                            <== NOT EXECUTED
ffc0693c:	4b ff fe 44 	b       ffc06780 <rtems_termios_ioctl+0x274>   <== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
ffc06940:	90 1e 00 74 	stw     r0,116(r30)                            
ffc06944:	4b ff fe 3c 	b       ffc06780 <rtems_termios_ioctl+0x274>   
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
ffc06948:	38 00 00 01 	li      r0,1                                   
ffc0694c:	90 1e 00 6c 	stw     r0,108(r30)                            
ffc06950:	4b ff fe 30 	b       ffc06780 <rtems_termios_ioctl+0x274>   
                                                                      

ffc05e58 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
ffc05e58:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc05e5c:	7d 80 00 26 	mfcr    r12                                    
ffc05e60:	7c 08 02 a6 	mflr    r0                                     
ffc05e64:	93 81 00 30 	stw     r28,48(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05e68:	3f 80 00 00 	lis     r28,0                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05e6c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc05e70:	7c 7e 1b 78 	mr      r30,r3                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05e74:	80 7c 27 98 	lwz     r3,10136(r28)                          
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05e78:	93 41 00 28 	stw     r26,40(r1)                             
ffc05e7c:	7c ba 2b 78 	mr      r26,r5                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05e80:	38 a0 00 00 	li      r5,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05e84:	93 a1 00 34 	stw     r29,52(r1)                             
ffc05e88:	7c 9d 23 78 	mr      r29,r4                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05e8c:	38 80 00 00 	li      r4,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05e90:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc05e94:	7c d7 33 78 	mr      r23,r6                                 
ffc05e98:	93 61 00 2c 	stw     r27,44(r1)                             
ffc05e9c:	90 01 00 44 	stw     r0,68(r1)                              
ffc05ea0:	92 61 00 0c 	stw     r19,12(r1)                             
ffc05ea4:	92 81 00 10 	stw     r20,16(r1)                             
ffc05ea8:	92 a1 00 14 	stw     r21,20(r1)                             
ffc05eac:	92 c1 00 18 	stw     r22,24(r1)                             
ffc05eb0:	93 01 00 20 	stw     r24,32(r1)                             
ffc05eb4:	93 21 00 24 	stw     r25,36(r1)                             
ffc05eb8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc05ebc:	91 81 00 08 	stw     r12,8(r1)                              
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05ec0:	48 00 2d f1 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc05ec4:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc05ec8:	40 82 00 90 	bne-    ffc05f58 <rtems_termios_open+0x100>    <== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc05ecc:	3e a0 00 00 	lis     r21,0                                  
ffc05ed0:	82 d5 27 a0 	lwz     r22,10144(r21)                         
ffc05ed4:	2e 16 00 00 	cmpwi   cr4,r22,0                              
ffc05ed8:	41 92 01 0c 	beq-    cr4,ffc05fe4 <rtems_termios_open+0x18c>
ffc05edc:	7e df b3 78 	mr      r31,r22                                
ffc05ee0:	48 00 00 10 	b       ffc05ef0 <rtems_termios_open+0x98>     
ffc05ee4:	83 ff 00 00 	lwz     r31,0(r31)                             
ffc05ee8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05eec:	41 9e 00 f8 	beq-    cr7,ffc05fe4 <rtems_termios_open+0x18c><== ALWAYS TAKEN
    if ((tty->major == major) && (tty->minor == minor))               
ffc05ef0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc05ef4:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc05ef8:	40 9e ff ec 	bne+    cr7,ffc05ee4 <rtems_termios_open+0x8c> 
ffc05efc:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc05f00:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc05f04:	40 9e ff e0 	bne+    cr7,ffc05ee4 <rtems_termios_open+0x8c> <== NEVER TAKEN
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
ffc05f08:	81 3f 00 08 	lwz     r9,8(r31)                              
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc05f0c:	81 7a 00 00 	lwz     r11,0(r26)                             
  if (!tty->refcount++) {                                             
ffc05f10:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05f14:	39 29 00 01 	addi    r9,r9,1                                
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc05f18:	93 eb 00 38 	stw     r31,56(r11)                            
  if (!tty->refcount++) {                                             
ffc05f1c:	91 3f 00 08 	stw     r9,8(r31)                              
ffc05f20:	40 9e 00 30 	bne-    cr7,ffc05f50 <rtems_termios_open+0xf8> 
    if (tty->device.firstOpen)                                        
ffc05f24:	80 1f 00 98 	lwz     r0,152(r31)                            
ffc05f28:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05f2c:	41 9e 00 18 	beq-    cr7,ffc05f44 <rtems_termios_open+0xec> <== ALWAYS TAKEN
      (*tty->device.firstOpen)(major, minor, arg);                    
ffc05f30:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc05f34:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05f38:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc05f3c:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc05f40:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05f44:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05f48:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05f4c:	41 9e 00 5c 	beq-    cr7,ffc05fa8 <rtems_termios_open+0x150>
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc05f50:	80 7c 27 98 	lwz     r3,10136(r28)                          
ffc05f54:	48 00 2e e5 	bl      ffc08e38 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05f58:	80 01 00 44 	lwz     r0,68(r1)                              
ffc05f5c:	7f 63 db 78 	mr      r3,r27                                 
ffc05f60:	81 81 00 08 	lwz     r12,8(r1)                              
ffc05f64:	7c 08 03 a6 	mtlr    r0                                     
ffc05f68:	82 61 00 0c 	lwz     r19,12(r1)                             
ffc05f6c:	82 81 00 10 	lwz     r20,16(r1)                             
ffc05f70:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05f74:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc05f78:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc05f7c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc05f80:	83 01 00 20 	lwz     r24,32(r1)                             
ffc05f84:	83 21 00 24 	lwz     r25,36(r1)                             
ffc05f88:	83 41 00 28 	lwz     r26,40(r1)                             
ffc05f8c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc05f90:	83 81 00 30 	lwz     r28,48(r1)                             
ffc05f94:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc05f98:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc05f9c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc05fa0:	38 21 00 40 	addi    r1,r1,64                               
ffc05fa4:	4e 80 00 20 	blr                                            
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
ffc05fa8:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc05fac:	3c 80 ff c0 	lis     r4,-64                                 
ffc05fb0:	38 84 7b a4 	addi    r4,r4,31652                            
ffc05fb4:	7f e5 fb 78 	mr      r5,r31                                 
ffc05fb8:	48 00 33 1d 	bl      ffc092d4 <rtems_task_start>            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05fbc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05fc0:	40 9e 02 dc 	bne-    cr7,ffc0629c <rtems_termios_open+0x444><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
ffc05fc4:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc05fc8:	3c 80 ff c0 	lis     r4,-64                                 
ffc05fcc:	38 84 7e d4 	addi    r4,r4,32468                            
ffc05fd0:	7f e5 fb 78 	mr      r5,r31                                 
ffc05fd4:	48 00 33 01 	bl      ffc092d4 <rtems_task_start>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05fd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05fdc:	41 9e ff 74 	beq+    cr7,ffc05f50 <rtems_termios_open+0xf8> <== ALWAYS TAKEN
ffc05fe0:	48 00 02 bc 	b       ffc0629c <rtems_termios_open+0x444>    <== NOT EXECUTED
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc05fe4:	38 60 00 01 	li      r3,1                                   
ffc05fe8:	38 80 00 e8 	li      r4,232                                 
ffc05fec:	4b ff e8 15 	bl      ffc04800 <calloc>                      
    if (tty == NULL) {                                                
ffc05ff0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc05ff4:	7c 79 1b 78 	mr      r25,r3                                 
ffc05ff8:	7c 7f 1b 78 	mr      r31,r3                                 
    if (tty == NULL) {                                                
ffc05ffc:	41 9e 02 68 	beq-    cr7,ffc06264 <rtems_termios_open+0x40c>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
ffc06000:	3f 00 00 00 	lis     r24,0                                  
ffc06004:	80 18 21 78 	lwz     r0,8568(r24)                           
ffc06008:	3b 18 21 78 	addi    r24,r24,8568                           
ffc0600c:	90 03 00 64 	stw     r0,100(r3)                             
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc06010:	80 63 00 64 	lwz     r3,100(r3)                             
ffc06014:	4b ff ee b5 	bl      ffc04ec8 <malloc>                      
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc06018:	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);               
ffc0601c:	90 79 00 58 	stw     r3,88(r25)                             
ffc06020:	7c 74 1b 78 	mr      r20,r3                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc06024:	41 9e 02 38 	beq-    cr7,ffc0625c <rtems_termios_open+0x404>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
ffc06028:	80 18 00 04 	lwz     r0,4(r24)                              
ffc0602c:	90 19 00 88 	stw     r0,136(r25)                            
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc06030:	80 79 00 88 	lwz     r3,136(r25)                            
ffc06034:	4b ff ee 95 	bl      ffc04ec8 <malloc>                      
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc06038:	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);             
ffc0603c:	90 79 00 7c 	stw     r3,124(r25)                            
ffc06040:	7c 73 1b 78 	mr      r19,r3                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc06044:	41 9e 02 10 	beq-    cr7,ffc06254 <rtems_termios_open+0x3fc>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc06048:	80 78 00 08 	lwz     r3,8(r24)                              
ffc0604c:	4b ff ee 7d 	bl      ffc04ec8 <malloc>                      
    if (tty->cbuf == NULL) {                                          
ffc06050:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc06054:	90 79 00 1c 	stw     r3,28(r25)                             
    if (tty->cbuf == NULL) {                                          
ffc06058:	41 9e 01 f4 	beq-    cr7,ffc0624c <rtems_termios_open+0x3f4><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc0605c:	38 00 00 00 	li      r0,0                                   
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
ffc06060:	92 d9 00 00 	stw     r22,0(r25)                             
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc06064:	90 19 00 d4 	stw     r0,212(r25)                            
    tty->tty_snd.sw_arg = NULL;                                       
ffc06068:	90 19 00 d8 	stw     r0,216(r25)                            
    tty->tty_rcv.sw_pfn = NULL;                                       
ffc0606c:	90 19 00 dc 	stw     r0,220(r25)                            
    tty->tty_rcv.sw_arg = NULL;                                       
ffc06070:	90 19 00 e0 	stw     r0,224(r25)                            
    tty->tty_rcvwakeup  = 0;                                          
ffc06074:	90 19 00 e4 	stw     r0,228(r25)                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
ffc06078:	90 19 00 04 	stw     r0,4(r25)                              
    if (rtems_termios_ttyHead != NULL)                                
ffc0607c:	41 92 00 08 	beq-    cr4,ffc06084 <rtems_termios_open+0x22c>
      rtems_termios_ttyHead->back = tty;                              
ffc06080:	93 36 00 04 	stw     r25,4(r22)                             
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
ffc06084:	3d 20 00 00 	lis     r9,0                                   
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
ffc06088:	93 35 27 a0 	stw     r25,10144(r21)                         
    if (rtems_termios_ttyTail == NULL)                                
ffc0608c:	80 09 27 9c 	lwz     r0,10140(r9)                           
ffc06090:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06094:	41 9e 02 68 	beq-    cr7,ffc062fc <rtems_termios_open+0x4a4>
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc06098:	88 78 00 0c 	lbz     r3,12(r24)                             
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc0609c:	38 80 00 01 	li      r4,1                                   
ffc060a0:	38 a0 00 54 	li      r5,84                                  
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
ffc060a4:	93 b9 00 10 	stw     r29,16(r25)                            
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc060a8:	64 63 54 52 	oris    r3,r3,21586                            
ffc060ac:	60 63 69 00 	ori     r3,r3,26880                            
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
    tty->major = major;                                               
ffc060b0:	93 d9 00 0c 	stw     r30,12(r25)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc060b4:	38 c0 00 00 	li      r6,0                                   
ffc060b8:	38 f9 00 14 	addi    r7,r25,20                              
ffc060bc:	48 00 28 f5 	bl      ffc089b0 <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)                                       
ffc060c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc060c4:	40 9e 01 d8 	bne-    cr7,ffc0629c <rtems_termios_open+0x444>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
ffc060c8:	88 78 00 0c 	lbz     r3,12(r24)                             
      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 (                                     
ffc060cc:	38 80 00 01 	li      r4,1                                   
ffc060d0:	38 a0 00 54 	li      r5,84                                  
ffc060d4:	64 63 54 52 	oris    r3,r3,21586                            
ffc060d8:	60 63 6f 00 	ori     r3,r3,28416                            
ffc060dc:	38 c0 00 00 	li      r6,0                                   
ffc060e0:	38 f9 00 18 	addi    r7,r25,24                              
ffc060e4:	48 00 28 cd 	bl      ffc089b0 <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)                                       
ffc060e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc060ec:	40 9e 01 b0 	bne-    cr7,ffc0629c <rtems_termios_open+0x444>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
ffc060f0:	88 78 00 0c 	lbz     r3,12(r24)                             
      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 (                                     
ffc060f4:	38 80 00 00 	li      r4,0                                   
ffc060f8:	38 a0 00 20 	li      r5,32                                  
ffc060fc:	64 63 54 52 	oris    r3,r3,21586                            
ffc06100:	60 63 78 00 	ori     r3,r3,30720                            
ffc06104:	38 c0 00 00 	li      r6,0                                   
ffc06108:	38 f9 00 8c 	addi    r7,r25,140                             
ffc0610c:	48 00 28 a5 	bl      ffc089b0 <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)                                       
ffc06110:	7c 60 1b 79 	mr.     r0,r3                                  
ffc06114:	40 82 01 88 	bne-    ffc0629c <rtems_termios_open+0x444>    
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc06118:	81 37 00 1c 	lwz     r9,28(r23)                             
ffc0611c:	80 97 00 00 	lwz     r4,0(r23)                              
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06120:	2f 89 00 02 	cmpwi   cr7,r9,2                               
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc06124:	80 b7 00 04 	lwz     r5,4(r23)                              
ffc06128:	80 d7 00 08 	lwz     r6,8(r23)                              
ffc0612c:	80 f7 00 0c 	lwz     r7,12(r23)                             
ffc06130:	81 17 00 10 	lwz     r8,16(r23)                             
ffc06134:	81 57 00 14 	lwz     r10,20(r23)                            
ffc06138:	81 77 00 18 	lwz     r11,24(r23)                            
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
ffc0613c:	90 19 00 94 	stw     r0,148(r25)                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc06140:	90 99 00 98 	stw     r4,152(r25)                            
ffc06144:	90 b9 00 9c 	stw     r5,156(r25)                            
ffc06148:	90 d9 00 a0 	stw     r6,160(r25)                            
ffc0614c:	90 f9 00 a4 	stw     r7,164(r25)                            
ffc06150:	91 19 00 a8 	stw     r8,168(r25)                            
ffc06154:	91 59 00 ac 	stw     r10,172(r25)                           
ffc06158:	91 79 00 b0 	stw     r11,176(r25)                           
ffc0615c:	91 39 00 b4 	stw     r9,180(r25)                            
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06160:	41 9e 01 40 	beq-    cr7,ffc062a0 <rtems_termios_open+0x448>
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
ffc06164:	80 19 00 a0 	lwz     r0,160(r25)                            
ffc06168:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0616c:	41 9e 01 08 	beq-    cr7,ffc06274 <rtems_termios_open+0x41c>
ffc06170:	80 19 00 b4 	lwz     r0,180(r25)                            
ffc06174:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06178:	41 9e 00 fc 	beq-    cr7,ffc06274 <rtems_termios_open+0x41c>
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc0617c:	39 00 25 02 	li      r8,9474                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc06180:	89 38 00 0c 	lbz     r9,12(r24)                             
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc06184:	91 19 00 30 	stw     r8,48(r25)                             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc06188:	39 00 18 05 	li      r8,6149                                
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
ffc0618c:	38 00 00 00 	li      r0,0                                   
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc06190:	91 19 00 34 	stw     r8,52(r25)                             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc06194:	39 00 08 bd 	li      r8,2237                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc06198:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
ffc0619c:	90 19 00 b8 	stw     r0,184(r25)                            
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc061a0:	39 29 00 01 	addi    r9,r9,1                                
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc061a4:	91 19 00 38 	stw     r8,56(r25)                             
    tty->termios.c_lflag =                                            
ffc061a8:	39 00 00 00 	li      r8,0                                   
ffc061ac:	61 08 82 3b 	ori     r8,r8,33339                            
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
ffc061b0:	98 19 00 4c 	stb     r0,76(r25)                             
    tty->termios.c_cc[VEOL2] = '\000';                                
ffc061b4:	98 19 00 51 	stb     r0,81(r25)                             
    tty->termios.c_cc[VSTART] = '\021';                               
ffc061b8:	38 00 00 11 	li      r0,17                                  
ffc061bc:	98 19 00 49 	stb     r0,73(r25)                             
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc061c0:	38 00 00 13 	li      r0,19                                  
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
ffc061c4:	81 59 00 64 	lwz     r10,100(r25)                           
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
ffc061c8:	91 19 00 3c 	stw     r8,60(r25)                             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc061cc:	39 00 00 03 	li      r8,3                                   
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
ffc061d0:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc061d4:	81 79 00 64 	lwz     r11,100(r25)                           
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc061d8:	98 19 00 4a 	stb     r0,74(r25)                             
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc061dc:	38 00 00 1a 	li      r0,26                                  
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc061e0:	1d 6b 00 03 	mulli   r11,r11,3                              
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc061e4:	99 19 00 41 	stb     r8,65(r25)                             
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc061e8:	39 00 00 1c 	li      r8,28                                  
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc061ec:	98 19 00 4b 	stb     r0,75(r25)                             
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc061f0:	38 00 00 12 	li      r0,18                                  
    tty->flow_ctrl = 0;                                               
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc061f4:	55 6b f0 be 	rlwinm  r11,r11,30,2,31                        
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc061f8:	99 19 00 42 	stb     r8,66(r25)                             
    tty->termios.c_cc[VERASE] = '\177';                               
ffc061fc:	39 00 00 7f 	li      r8,127                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc06200:	98 19 00 4d 	stb     r0,77(r25)                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc06204:	38 00 00 0f 	li      r0,15                                  
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
ffc06208:	99 19 00 43 	stb     r8,67(r25)                             
    tty->termios.c_cc[VKILL] = '\025';                                
ffc0620c:	39 00 00 15 	li      r8,21                                  
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc06210:	98 19 00 4e 	stb     r0,78(r25)                             
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc06214:	38 00 00 17 	li      r0,23                                  
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
ffc06218:	99 19 00 44 	stb     r8,68(r25)                             
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc0621c:	39 00 00 04 	li      r8,4                                   
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc06220:	98 19 00 4f 	stb     r0,79(r25)                             
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc06224:	38 00 00 16 	li      r0,22                                  
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc06228:	99 19 00 45 	stb     r8,69(r25)                             
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc0622c:	98 19 00 50 	stb     r0,80(r25)                             
    /* 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;                        
ffc06230:	91 59 00 bc 	stw     r10,188(r25)                           
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc06234:	91 79 00 c0 	stw     r11,192(r25)                           
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc06238:	99 38 00 0c 	stb     r9,12(r24)                             
ffc0623c:	40 9e fc cc 	bne+    cr7,ffc05f08 <rtems_termios_open+0xb0> 
      c = 'a';                                                        
ffc06240:	38 00 00 61 	li      r0,97                                  
ffc06244:	98 18 00 0c 	stb     r0,12(r24)                             
ffc06248:	4b ff fc c0 	b       ffc05f08 <rtems_termios_open+0xb0>     
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
ffc0624c:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc06250:	4b ff e8 5d 	bl      ffc04aac <free>                        <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
ffc06254:	7e 83 a3 78 	mr      r3,r20                                 
ffc06258:	4b ff e8 55 	bl      ffc04aac <free>                        
            free(tty);                                                
ffc0625c:	7f 23 cb 78 	mr      r3,r25                                 
ffc06260:	4b ff e8 4d 	bl      ffc04aac <free>                        
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc06264:	80 7c 27 98 	lwz     r3,10136(r28)                          
      return RTEMS_NO_MEMORY;                                         
ffc06268:	3b 60 00 1a 	li      r27,26                                 
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
            free((void *)(tty->rawInBuf.theBuf));                     
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc0626c:	48 00 2b cd 	bl      ffc08e38 <rtems_semaphore_release>     
      return RTEMS_NO_MEMORY;                                         
ffc06270:	4b ff fc e8 	b       ffc05f58 <rtems_termios_open+0x100>    
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
ffc06274:	88 78 00 0c 	lbz     r3,12(r24)                             
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
ffc06278:	38 80 00 00 	li      r4,0                                   
ffc0627c:	38 a0 00 24 	li      r5,36                                  
ffc06280:	64 63 54 52 	oris    r3,r3,21586                            
ffc06284:	60 63 72 00 	ori     r3,r3,29184                            
ffc06288:	38 c0 00 00 	li      r6,0                                   
ffc0628c:	38 f9 00 68 	addi    r7,r25,104                             
ffc06290:	48 00 27 21 	bl      ffc089b0 <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)                                     
ffc06294:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06298:	41 9e fe e4 	beq+    cr7,ffc0617c <rtems_termios_open+0x324><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
ffc0629c:	48 00 33 a1 	bl      ffc0963c <rtems_fatal_error_occurred>  
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
ffc062a0:	88 78 00 0c 	lbz     r3,12(r24)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
ffc062a4:	38 80 00 0a 	li      r4,10                                  
ffc062a8:	38 a0 04 00 	li      r5,1024                                
ffc062ac:	64 63 54 78 	oris    r3,r3,21624                            
ffc062b0:	60 63 54 00 	ori     r3,r3,21504                            
ffc062b4:	38 c0 05 00 	li      r6,1280                                
ffc062b8:	38 e0 00 00 	li      r7,0                                   
ffc062bc:	39 19 00 c8 	addi    r8,r25,200                             
ffc062c0:	48 00 2c 65 	bl      ffc08f24 <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)                                     
ffc062c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc062c8:	40 be ff d4 	bne-    cr7,ffc0629c <rtems_termios_open+0x444><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
ffc062cc:	88 78 00 0c 	lbz     r3,12(r24)                             
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
ffc062d0:	38 80 00 09 	li      r4,9                                   
ffc062d4:	38 a0 04 00 	li      r5,1024                                
ffc062d8:	64 63 52 78 	oris    r3,r3,21112                            
ffc062dc:	60 63 54 00 	ori     r3,r3,21504                            
ffc062e0:	38 c0 05 00 	li      r6,1280                                
ffc062e4:	38 e0 00 00 	li      r7,0                                   
ffc062e8:	39 19 00 c4 	addi    r8,r25,196                             
ffc062ec:	48 00 2c 39 	bl      ffc08f24 <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)                                     
ffc062f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc062f4:	41 9e fe 70 	beq+    cr7,ffc06164 <rtems_termios_open+0x30c><== ALWAYS TAKEN
ffc062f8:	4b ff ff a4 	b       ffc0629c <rtems_termios_open+0x444>    <== NOT EXECUTED
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
ffc062fc:	93 29 27 9c 	stw     r25,10140(r9)                          
ffc06300:	4b ff fd 98 	b       ffc06098 <rtems_termios_open+0x240>    
                                                                      

ffc06954 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
ffc06954:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06958:	7c 08 02 a6 	mflr    r0                                     
ffc0695c:	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) {           
ffc06960:	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)           
{                                                                     
ffc06964:	93 61 00 14 	stw     r27,20(r1)                             
ffc06968:	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) {           
ffc0696c:	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)           
{                                                                     
ffc06970:	93 e1 00 24 	stw     r31,36(r1)                             
ffc06974:	7c bf 2b 78 	mr      r31,r5                                 
ffc06978:	93 41 00 10 	stw     r26,16(r1)                             
ffc0697c:	93 81 00 18 	stw     r28,24(r1)                             
ffc06980:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc06984:	93 c1 00 20 	stw     r30,32(r1)                             
ffc06988:	90 81 00 08 	stw     r4,8(r1)                               
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc0698c:	41 9e 01 2c 	beq-    cr7,ffc06ab8 <rtems_termios_puts+0x164>
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc06990:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
ffc06994:	83 85 00 80 	lwz     r28,128(r5)                            
  while (len) {                                                       
ffc06998:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0699c:	41 9e 00 d0 	beq-    cr7,ffc06a6c <rtems_termios_puts+0x118><== NEVER TAKEN
                                                                      
/*                                                                    
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
ffc069a0:	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;                                 
ffc069a4:	3b a0 00 02 	li      r29,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;                                 
ffc069a8:	3b 40 00 01 	li      r26,1                                  
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
ffc069ac:	80 1f 00 88 	lwz     r0,136(r31)                            
ffc069b0:	3b 9c 00 01 	addi    r28,r28,1                              
ffc069b4:	7d 3c 03 96 	divwu   r9,r28,r0                              
ffc069b8:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc069bc:	7f 80 e0 50 	subf    r28,r0,r28                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc069c0:	7c 00 00 a6 	mfmsr   r0                                     
ffc069c4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc069c8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc069cc:	7d 20 01 24 	mtmsr   r9                                     
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
ffc069d0:	83 df 00 84 	lwz     r30,132(r31)                           
ffc069d4:	7f 9e e0 00 	cmpw    cr7,r30,r28                            
ffc069d8:	40 9e 00 40 	bne-    cr7,ffc06a18 <rtems_termios_puts+0xc4> 
      tty->rawOutBufState = rob_wait;                                 
ffc069dc:	93 bf 00 94 	stw     r29,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc069e0:	7c 00 01 24 	mtmsr   r0                                     
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc069e4:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc069e8:	38 80 00 00 	li      r4,0                                   
ffc069ec:	38 a0 00 00 	li      r5,0                                   
ffc069f0:	48 00 22 c1 	bl      ffc08cb0 <rtems_semaphore_obtain>      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc069f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc069f8:	40 9e 00 dc 	bne-    cr7,ffc06ad4 <rtems_termios_puts+0x180><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc069fc:	7c 00 00 a6 	mfmsr   r0                                     
ffc06a00:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc06a04:	7c 09 48 78 	andc    r9,r0,r9                               
ffc06a08:	7d 20 01 24 	mtmsr   r9                                     
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
ffc06a0c:	81 3f 00 84 	lwz     r9,132(r31)                            
ffc06a10:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a14:	41 9e ff c8 	beq+    cr7,ffc069dc <rtems_termios_puts+0x88> <== NEVER TAKEN
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
ffc06a18:	8d 7b 00 01 	lbzu    r11,1(r27)                             
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
ffc06a1c:	7c 1e 03 78 	mr      r30,r0                                 
        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++;              
ffc06a20:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc06a24:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc06a28:	7d 69 01 ae 	stbx    r11,r9,r0                              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
ffc06a2c:	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;                                    
ffc06a30:	93 9f 00 80 	stw     r28,128(r31)                           
    if (tty->rawOutBufState == rob_idle) {                            
ffc06a34:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06a38:	40 9e 00 20 	bne-    cr7,ffc06a58 <rtems_termios_puts+0x104>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
ffc06a3c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06a40:	70 09 00 10 	andi.   r9,r0,16                               
ffc06a44:	41 82 00 50 	beq-    ffc06a94 <rtems_termios_puts+0x140>    <== ALWAYS TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
ffc06a48:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06a4c:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc06a50:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc06a54:	93 5f 00 94 	stw     r26,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc06a58:	7f c0 01 24 	mtmsr   r30                                    
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc06a5c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc06a60:	35 20 ff ff 	addic.  r9,r0,-1                               
ffc06a64:	91 21 00 08 	stw     r9,8(r1)                               
ffc06a68:	40 82 ff 44 	bne+    ffc069ac <rtems_termios_puts+0x58>     
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc06a6c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06a70:	83 41 00 10 	lwz     r26,16(r1)                             
ffc06a74:	7c 08 03 a6 	mtlr    r0                                     
ffc06a78:	83 61 00 14 	lwz     r27,20(r1)                             
ffc06a7c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc06a80:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06a84:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06a88:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06a8c:	38 21 00 28 	addi    r1,r1,40                               
ffc06a90:	4e 80 00 20 	blr                                            
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
ffc06a94:	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,                              
ffc06a98:	38 a0 00 01 	li      r5,1                                   
ffc06a9c:	80 9f 00 7c 	lwz     r4,124(r31)                            
ffc06aa0:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc06aa4:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06aa8:	7c 84 4a 14 	add     r4,r4,r9                               
ffc06aac:	7c 09 03 a6 	mtctr   r0                                     
ffc06ab0:	4e 80 04 21 	bctrl                                          
ffc06ab4:	4b ff ff a0 	b       ffc06a54 <rtems_termios_puts+0x100>    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
ffc06ab8:	80 05 00 a4 	lwz     r0,164(r5)                             
ffc06abc:	7f 64 db 78 	mr      r4,r27                                 
ffc06ac0:	80 65 00 10 	lwz     r3,16(r5)                              
ffc06ac4:	7c 09 03 a6 	mtctr   r0                                     
ffc06ac8:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc06acc:	4e 80 04 21 	bctrl                                          
    return;                                                           
ffc06ad0:	4b ff ff 9c 	b       ffc06a6c <rtems_termios_puts+0x118>    
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
ffc06ad4:	48 00 2b 69 	bl      ffc0963c <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc07360 <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
ffc07360:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc07364:	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);
ffc07368:	38 80 00 00 	li      r4,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc0736c:	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);
ffc07370:	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;                   
ffc07374:	81 23 00 00 	lwz     r9,0(r3)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07378:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc0737c:	83 e9 00 38 	lwz     r31,56(r9)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc07380:	93 41 00 18 	stw     r26,24(r1)                             
ffc07384:	7c 7a 1b 78 	mr      r26,r3                                 
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07388:	80 7f 00 14 	lwz     r3,20(r31)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc0738c:	93 01 00 10 	stw     r24,16(r1)                             
ffc07390:	93 21 00 14 	stw     r25,20(r1)                             
ffc07394:	93 61 00 1c 	stw     r27,28(r1)                             
ffc07398:	92 c1 00 08 	stw     r22,8(r1)                              
ffc0739c:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc073a0:	93 81 00 20 	stw     r28,32(r1)                             
ffc073a4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc073a8:	93 c1 00 28 	stw     r30,40(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
ffc073ac:	83 7a 00 14 	lwz     r27,20(r26)                            
  char      *buffer = args->buffer;                                   
ffc073b0:	83 1a 00 10 	lwz     r24,16(r26)                            
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc073b4:	48 00 18 fd 	bl      ffc08cb0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc073b8:	7c 79 1b 79 	mr.     r25,r3                                 
ffc073bc:	40 82 00 48 	bne-    ffc07404 <rtems_termios_read+0xa4>     <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
ffc073c0:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc073c4:	3d 20 00 00 	lis     r9,0                                   
ffc073c8:	39 29 28 90 	addi    r9,r9,10384                            
ffc073cc:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc073d0:	7d 29 02 14 	add     r9,r9,r0                               
ffc073d4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc073d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc073dc:	41 9e 00 64 	beq-    cr7,ffc07440 <rtems_termios_read+0xe0> 
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc073e0:	7c 09 03 a6 	mtctr   r0                                     
ffc073e4:	7f e3 fb 78 	mr      r3,r31                                 
ffc073e8:	7f 44 d3 78 	mr      r4,r26                                 
ffc073ec:	4e 80 04 21 	bctrl                                          
    tty->tty_rcvwakeup = 0;                                           
ffc073f0:	38 00 00 00 	li      r0,0                                   
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc073f4:	7c 79 1b 78 	mr      r25,r3                                 
    tty->tty_rcvwakeup = 0;                                           
ffc073f8:	90 1f 00 e4 	stw     r0,228(r31)                            
    rtems_semaphore_release (tty->isem);                              
ffc073fc:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc07400:	48 00 1a 39 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
ffc07404:	80 01 00 34 	lwz     r0,52(r1)                              
ffc07408:	7f 23 cb 78 	mr      r3,r25                                 
ffc0740c:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc07410:	7c 08 03 a6 	mtlr    r0                                     
ffc07414:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc07418:	83 01 00 10 	lwz     r24,16(r1)                             
ffc0741c:	83 21 00 14 	lwz     r25,20(r1)                             
ffc07420:	83 41 00 18 	lwz     r26,24(r1)                             
ffc07424:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc07428:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0742c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc07430:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc07434:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc07438:	38 21 00 30 	addi    r1,r1,48                               
ffc0743c:	4e 80 00 20 	blr                                            
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
ffc07440:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc07444:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07448:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0744c:	41 9e 00 a8 	beq-    cr7,ffc074f4 <rtems_termios_read+0x194><== ALWAYS TAKEN
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc07450:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc07454:	41 9e 00 48 	beq-    cr7,ffc0749c <rtems_termios_read+0x13c><== NEVER TAKEN
ffc07458:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0745c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07460:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07464:	40 9c 00 38 	bge-    cr7,ffc0749c <rtems_termios_read+0x13c><== NEVER TAKEN
  }                                                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
ffc07468:	3b 18 ff ff 	addi    r24,r24,-1                             
ffc0746c:	7f 69 03 a6 	mtctr   r27                                    
ffc07470:	48 00 00 10 	b       ffc07480 <rtems_termios_read+0x120>    
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc07474:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07478:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0747c:	40 9d 00 20 	ble-    cr7,ffc0749c <rtems_termios_read+0x13c>
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc07480:	81 7f 00 1c 	lwz     r11,28(r31)                            
    count--;                                                          
ffc07484:	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++];                             
ffc07488:	7c 0b 48 ae 	lbzx    r0,r11,r9                              
ffc0748c:	39 29 00 01 	addi    r9,r9,1                                
ffc07490:	9c 18 00 01 	stbu    r0,1(r24)                              
ffc07494:	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)) {                      
ffc07498:	42 00 ff dc 	bdnz+   ffc07474 <rtems_termios_read+0x114>    
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc0749c:	80 1a 00 14 	lwz     r0,20(r26)                             
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
ffc074a0:	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;                            
ffc074a4:	7f 7b 00 50 	subf    r27,r27,r0                             
  tty->tty_rcvwakeup = 0;                                             
ffc074a8:	38 00 00 00 	li      r0,0                                   
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc074ac:	93 7a 00 1c 	stw     r27,28(r26)                            
  tty->tty_rcvwakeup = 0;                                             
ffc074b0:	90 1f 00 e4 	stw     r0,228(r31)                            
  rtems_semaphore_release (tty->isem);                                
ffc074b4:	48 00 19 85 	bl      ffc08e38 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc074b8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc074bc:	7f 23 cb 78 	mr      r3,r25                                 
ffc074c0:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc074c4:	7c 08 03 a6 	mtlr    r0                                     
ffc074c8:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc074cc:	83 01 00 10 	lwz     r24,16(r1)                             
ffc074d0:	83 21 00 14 	lwz     r25,20(r1)                             
ffc074d4:	83 41 00 18 	lwz     r26,24(r1)                             
ffc074d8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc074dc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc074e0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc074e4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc074e8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc074ec:	38 21 00 30 	addi    r1,r1,48                               
ffc074f0:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
ffc074f4:	80 1f 00 a0 	lwz     r0,160(r31)                            
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
ffc074f8:	81 3f 00 28 	lwz     r9,40(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc074fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
ffc07500:	93 3f 00 20 	stw     r25,32(r31)                            
ffc07504:	93 3f 00 24 	stw     r25,36(r31)                            
    tty->read_start_column = tty->column;                             
ffc07508:	91 3f 00 2c 	stw     r9,44(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc0750c:	41 9e 00 10 	beq-    cr7,ffc0751c <rtems_termios_read+0x1bc>
ffc07510:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc07514:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07518:	41 9e 01 bc 	beq-    cr7,ffc076d4 <rtems_termios_read+0x374>
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
ffc0751c:	83 bf 00 74 	lwz     r29,116(r31)                           
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
ffc07520:	3b c0 00 01 	li      r30,1                                  
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07524:	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)(                                       
ffc07528:	3a df 00 49 	addi    r22,r31,73                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0752c:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc07530:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc07534:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07538:	41 9e 01 44 	beq-    cr7,ffc0767c <rtems_termios_read+0x31c>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc0753c:	3b 97 21 78 	addi    r28,r23,8568                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07540:	80 1f 00 20 	lwz     r0,32(r31)                             
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07544:	81 3c 00 08 	lwz     r9,8(r28)                              
ffc07548:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0754c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07550:	41 bd 00 48 	bgt+    cr7,ffc07598 <rtems_termios_read+0x238><== ALWAYS TAKEN
ffc07554:	48 00 01 28 	b       ffc0767c <rtems_termios_read+0x31c>    <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
ffc07558:	7f a3 eb 78 	mr      r3,r29                                 
ffc0755c:	7f e4 fb 78 	mr      r4,r31                                 
ffc07560:	4b ff fc 41 	bl      ffc071a0 <siproc>                      
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07564:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc07568:	80 1f 00 60 	lwz     r0,96(r31)                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
ffc0756c:	30 63 ff ff 	addic   r3,r3,-1                               
ffc07570:	7c 63 19 10 	subfe   r3,r3,r3                               
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc07574:	83 bf 00 70 	lwz     r29,112(r31)                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07578:	7f 89 00 00 	cmpw    cr7,r9,r0                              
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
ffc0757c:	7f de 18 38 	and     r30,r30,r3                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07580:	41 9e 00 fc 	beq-    cr7,ffc0767c <rtems_termios_read+0x31c>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc07584:	81 7c 00 08 	lwz     r11,8(r28)                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07588:	81 3f 00 20 	lwz     r9,32(r31)                             
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc0758c:	38 0b ff ff 	addi    r0,r11,-1                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07590:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07594:	40 9c 00 e8 	bge-    cr7,ffc0767c <rtems_termios_read+0x31c><== NEVER TAKEN
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc07598:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc0759c:	81 7f 00 64 	lwz     r11,100(r31)                           
ffc075a0:	39 29 00 01 	addi    r9,r9,1                                
      c = tty->rawInBuf.theBuf[newHead];                              
ffc075a4:	81 1f 00 58 	lwz     r8,88(r31)                             
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc075a8:	7c 09 5b 96 	divwu   r0,r9,r11                              
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc075ac:	81 5f 00 bc 	lwz     r10,188(r31)                           
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc075b0:	7c 00 59 d6 	mullw   r0,r0,r11                              
ffc075b4:	7c 00 48 50 	subf    r0,r0,r9                               
      c = tty->rawInBuf.theBuf[newHead];                              
ffc075b8:	7f a8 00 ae 	lbzx    r29,r8,r0                              
      tty->rawInBuf.Head = newHead;                                   
ffc075bc:	90 1f 00 5c 	stw     r0,92(r31)                             
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc075c0:	81 7f 00 60 	lwz     r11,96(r31)                            
ffc075c4:	81 1f 00 64 	lwz     r8,100(r31)                            
          % tty->rawInBuf.Size)                                       
ffc075c8:	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)             
ffc075cc:	7d 68 5a 14 	add     r11,r8,r11                             
ffc075d0:	7c 00 58 50 	subf    r0,r0,r11                              
          % tty->rawInBuf.Size)                                       
ffc075d4:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc075d8:	7d 2b 49 d6 	mullw   r9,r11,r9                              
ffc075dc:	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)             
ffc075e0:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc075e4:	40 9c 00 50 	bge-    cr7,ffc07634 <rtems_termios_read+0x2d4><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
ffc075e8:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc075ec:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc075f0:	90 1f 00 b8 	stw     r0,184(r31)                            
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
ffc075f4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc075f8:	70 00 02 02 	andi.   r0,r0,514                              
ffc075fc:	2f 80 02 02 	cmpwi   cr7,r0,514                             
ffc07600:	41 9e 00 a0 	beq-    cr7,ffc076a0 <rtems_termios_read+0x340><== NEVER TAKEN
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
ffc07604:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07608:	70 09 01 00 	andi.   r9,r0,256                              
ffc0760c:	41 82 00 28 	beq-    ffc07634 <rtems_termios_read+0x2d4>    <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07610:	80 1f 00 b0 	lwz     r0,176(r31)                            <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
ffc07614:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07618:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
ffc0761c:	55 29 07 b8 	rlwinm  r9,r9,0,30,28                          <== NOT EXECUTED
ffc07620:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc07624:	41 9e 00 10 	beq-    cr7,ffc07634 <rtems_termios_read+0x2d4><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
ffc07628:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc0762c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07630:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc07634:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc07638:	70 09 00 02 	andi.   r9,r0,2                                
ffc0763c:	40 a2 ff 1c 	bne-    ffc07558 <rtems_termios_read+0x1f8>    <== ALWAYS TAKEN
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
ffc07640:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc07644:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc07648:	4b ff fb 59 	bl      ffc071a0 <siproc>                      <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc0764c:	88 1f 00 47 	lbz     r0,71(r31)                             <== NOT EXECUTED
ffc07650:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc07654:	83 bf 00 70 	lwz     r29,112(r31)                           <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
ffc07658:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0765c:	81 3f 00 5c 	lwz     r9,92(r31)                             <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
ffc07660:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc07664:	54 00 ef fe 	rlwinm  r0,r0,29,31,31                         <== NOT EXECUTED
ffc07668:	7c 00 00 d0 	neg     r0,r0                                  <== NOT EXECUTED
ffc0766c:	7f de 00 38 	and     r30,r30,r0                             <== NOT EXECUTED
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc07670:	80 1f 00 60 	lwz     r0,96(r31)                             <== NOT EXECUTED
ffc07674:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc07678:	40 9e ff 0c 	bne+    cr7,ffc07584 <rtems_termios_read+0x224><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
ffc0767c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc07680:	41 9e fd d0 	beq+    cr7,ffc07450 <rtems_termios_read+0xf0> 
      sc = rtems_semaphore_obtain(                                    
ffc07684:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc07688:	7f a5 eb 78 	mr      r5,r29                                 
ffc0768c:	80 9f 00 6c 	lwz     r4,108(r31)                            
ffc07690:	48 00 16 21 	bl      ffc08cb0 <rtems_semaphore_obtain>      
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc07694:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07698:	41 9e fe 94 	beq+    cr7,ffc0752c <rtems_termios_read+0x1cc><== ALWAYS TAKEN
ffc0769c:	4b ff fd b4 	b       ffc07450 <rtems_termios_read+0xf0>     <== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
ffc076a0:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc076a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc076a8:	41 9e 00 10 	beq-    cr7,ffc076b8 <rtems_termios_read+0x358><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
ffc076ac:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc076b0:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc076b4:	41 a2 ff 50 	beq-    ffc07604 <rtems_termios_read+0x2a4>    <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc076b8:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc076bc:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc076c0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc076c4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc076c8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc076cc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc076d0:	4b ff ff 64 	b       ffc07634 <rtems_termios_read+0x2d4>    <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc076d4:	81 3f 00 3c 	lwz     r9,60(r31)                             
ffc076d8:	71 2b 00 02 	andi.   r11,r9,2                               
ffc076dc:	41 82 00 34 	beq-    ffc07710 <rtems_termios_read+0x3b0>    
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc076e0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc076e4:	7c 09 03 a6 	mtctr   r0                                     
ffc076e8:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc076ec:	7f e4 fb 78 	mr      r4,r31                                 
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
ffc076f0:	2c 03 00 00 	cmpwi   r3,0                                   
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc076f4:	54 63 06 3e 	clrlwi  r3,r3,24                               
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
ffc076f8:	41 80 00 c0 	blt-    ffc077b8 <rtems_termios_read+0x458>    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc076fc:	4b ff fa a5 	bl      ffc071a0 <siproc>                      
ffc07700:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07704:	40 be fd 4c 	bne-    cr7,ffc07450 <rtems_termios_read+0xf0> 
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc07708:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc0770c:	4b ff ff d4 	b       ffc076e0 <rtems_termios_read+0x380>    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
ffc07710:	48 00 0d 71 	bl      ffc08480 <rtems_clock_get_ticks_since_boot>
ffc07714:	7c 7e 1b 78 	mr      r30,r3                                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc07718:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc0771c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07720:	7c 09 03 a6 	mtctr   r0                                     
ffc07724:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc07728:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0772c:	41 80 00 38 	blt-    ffc07764 <rtems_termios_read+0x404>    
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
ffc07730:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc07734:	7f e4 fb 78 	mr      r4,r31                                 
ffc07738:	4b ff fa 69 	bl      ffc071a0 <siproc>                      
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc0773c:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc07740:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc07744:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07748:	40 bc fd 08 	bge-    cr7,ffc07450 <rtems_termios_read+0xf0> <== NEVER TAKEN
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
ffc0774c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07750:	41 be ff c8 	beq-    cr7,ffc07718 <rtems_termios_read+0x3b8><== NEVER TAKEN
ffc07754:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc07758:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0775c:	41 9e ff bc 	beq+    cr7,ffc07718 <rtems_termios_read+0x3b8><== NEVER TAKEN
ffc07760:	4b ff ff b0 	b       ffc07710 <rtems_termios_read+0x3b0>    
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
ffc07764:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc07768:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0776c:	41 9e 00 28 	beq-    cr7,ffc07794 <rtems_termios_read+0x434><== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc07770:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc07774:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07778:	41 9e 00 10 	beq-    cr7,ffc07788 <rtems_termios_read+0x428><== NEVER TAKEN
ffc0777c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc07780:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07784:	40 9e 00 1c 	bne-    cr7,ffc077a0 <rtems_termios_read+0x440>
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
ffc07788:	38 60 00 01 	li      r3,1                                   
ffc0778c:	48 00 1c 79 	bl      ffc09404 <rtems_task_wake_after>       
ffc07790:	4b ff ff 88 	b       ffc07718 <rtems_termios_read+0x3b8>    
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
ffc07794:	88 1f 00 46 	lbz     r0,70(r31)                             <== NOT EXECUTED
ffc07798:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0779c:	41 be fc b4 	beq-    cr7,ffc07450 <rtems_termios_read+0xf0> <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
ffc077a0:	48 00 0c e1 	bl      ffc08480 <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
ffc077a4:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc077a8:	7c 7e 18 50 	subf    r3,r30,r3                              
ffc077ac:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc077b0:	40 9d ff d8 	ble+    cr7,ffc07788 <rtems_termios_read+0x428>
ffc077b4:	4b ff fc 9c 	b       ffc07450 <rtems_termios_read+0xf0>     
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
ffc077b8:	38 60 00 01 	li      r3,1                                   
ffc077bc:	48 00 1c 49 	bl      ffc09404 <rtems_task_wake_after>       
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc077c0:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc077c4:	4b ff ff 1c 	b       ffc076e0 <rtems_termios_read+0x380>    
                                                                      

ffc07c4c <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) {
ffc07c4c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07c50:	7c 08 02 a6 	mflr    r0                                     
ffc07c54:	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))         
ffc07c58:	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)      
{                                                                     
ffc07c5c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc07c60:	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))         
ffc07c64:	70 00 04 03 	andi.   r0,r0,1027                             
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
ffc07c68:	93 a1 00 0c 	stw     r29,12(r1)                             
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc07c6c:	2f 80 04 01 	cmpwi   cr7,r0,1025                            
 * in task-driven mode, this function is called in Tx task context    
 * in interrupt-driven mode, this function is called in TxIRQ context 
 */                                                                   
int                                                                   
rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)      
{                                                                     
ffc07c70:	93 c1 00 10 	stw     r30,16(r1)                             
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc07c74:	41 9e 01 5c 	beq-    cr7,ffc07dd0 <rtems_termios_refill_transmitter+0x184><== NEVER TAKEN
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
ffc07c78:	80 03 00 b8 	lwz     r0,184(r3)                             
ffc07c7c:	54 00 07 be 	clrlwi  r0,r0,30                               
ffc07c80:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc07c84:	41 9e 01 b4 	beq-    cr7,ffc07e38 <rtems_termios_refill_transmitter+0x1ec><== NEVER TAKEN
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
ffc07c88:	81 23 00 80 	lwz     r9,128(r3)                             
ffc07c8c:	80 03 00 84 	lwz     r0,132(r3)                             
ffc07c90:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc07c94:	41 9e 00 d8 	beq-    cr7,ffc07d6c <rtems_termios_refill_transmitter+0x120>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07c98:	7c 00 00 a6 	mfmsr   r0                                     
ffc07c9c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc07ca0:	7c 09 48 78 	andc    r9,r0,r9                               
ffc07ca4:	7d 20 01 24 	mtmsr   r9                                     
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
ffc07ca8:	39 20 00 00 	li      r9,0                                   
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
ffc07cac:	83 c3 00 90 	lwz     r30,144(r3)                            
    tty->t_dqlen = 0;                                                 
ffc07cb0:	91 23 00 90 	stw     r9,144(r3)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc07cb4:	7c 00 01 24 	mtmsr   r0                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc07cb8:	80 03 00 84 	lwz     r0,132(r3)                             
ffc07cbc:	81 23 00 88 	lwz     r9,136(r3)                             
ffc07cc0:	7c 1e 02 14 	add     r0,r30,r0                              
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc07cc4:	81 63 00 94 	lwz     r11,148(r3)                            
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc07cc8:	7f c0 4b 96 	divwu   r30,r0,r9                              
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc07ccc:	2f 8b 00 02 	cmpwi   cr7,r11,2                              
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc07cd0:	7f de 49 d6 	mullw   r30,r30,r9                             
ffc07cd4:	7f de 00 50 	subf    r30,r30,r0                             
    tty->rawOutBuf.Tail = newTail;                                    
ffc07cd8:	93 c3 00 84 	stw     r30,132(r3)                            
    if (tty->rawOutBufState == rob_wait) {                            
ffc07cdc:	41 9e 00 e8 	beq-    cr7,ffc07dc4 <rtems_termios_refill_transmitter+0x178>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
ffc07ce0:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc07ce4:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc07ce8:	41 9e 00 a0 	beq-    cr7,ffc07d88 <rtems_termios_refill_transmitter+0x13c>
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
ffc07cec:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07cf0:	70 00 02 10 	andi.   r0,r0,528                              
ffc07cf4:	2f 80 02 10 	cmpwi   cr7,r0,528                             
ffc07cf8:	41 9e 01 a8 	beq-    cr7,ffc07ea0 <rtems_termios_refill_transmitter+0x254><== NEVER TAKEN
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
ffc07cfc:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc07d00:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc07d04:	41 9d 00 b4 	bgt-    cr7,ffc07db8 <rtems_termios_refill_transmitter+0x16c>
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc07d08:	83 bf 00 80 	lwz     r29,128(r31)                           
ffc07d0c:	7f be e8 50 	subf    r29,r30,r29                            
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
ffc07d10:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07d14:	7f a5 eb 78 	mr      r5,r29                                 
ffc07d18:	70 09 06 00 	andi.   r9,r0,1536                             
ffc07d1c:	41 82 00 0c 	beq-    ffc07d28 <rtems_termios_refill_transmitter+0xdc>
ffc07d20:	38 a0 00 01 	li      r5,1                                   
        nToSend = 1;                                                  
ffc07d24:	3b a0 00 01 	li      r29,1                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc07d28:	38 00 00 01 	li      r0,1                                   
      (*tty->device.write)(                                           
ffc07d2c:	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*/                         
ffc07d30:	90 1f 00 94 	stw     r0,148(r31)                            
      (*tty->device.write)(                                           
ffc07d34:	7c 84 f2 14 	add     r4,r4,r30                              
ffc07d38:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc07d3c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07d40:	7c 09 03 a6 	mtctr   r0                                     
ffc07d44:	4e 80 04 21 	bctrl                                          
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc07d48:	93 df 00 84 	stw     r30,132(r31)                           
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07d4c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07d50:	7f a3 eb 78 	mr      r3,r29                                 
ffc07d54:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc07d58:	7c 08 03 a6 	mtlr    r0                                     
ffc07d5c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc07d60:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc07d64:	38 21 00 18 	addi    r1,r1,24                               
ffc07d68:	4e 80 00 20 	blr                                            
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc07d6c:	80 03 00 94 	lwz     r0,148(r3)                             
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
ffc07d70:	3b a0 00 00 	li      r29,0                                  
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc07d74:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc07d78:	40 9e ff d4 	bne+    cr7,ffc07d4c <rtems_termios_refill_transmitter+0x100><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
ffc07d7c:	80 63 00 8c 	lwz     r3,140(r3)                             <== NOT EXECUTED
ffc07d80:	48 00 10 b9 	bl      ffc08e38 <rtems_semaphore_release>     <== NOT EXECUTED
ffc07d84:	4b ff ff c8 	b       ffc07d4c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc07d88:	80 1f 00 d4 	lwz     r0,212(r31)                            
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
ffc07d8c:	39 20 00 00 	li      r9,0                                   
ffc07d90:	91 3f 00 94 	stw     r9,148(r31)                            
      nToSend = 0;                                                    
ffc07d94:	3b a0 00 00 	li      r29,0                                  
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc07d98:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07d9c:	41 be ff ac 	beq-    cr7,ffc07d48 <rtems_termios_refill_transmitter+0xfc><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
ffc07da0:	38 7f 00 30 	addi    r3,r31,48                              <== NOT EXECUTED
ffc07da4:	80 9f 00 d8 	lwz     r4,216(r31)                            <== NOT EXECUTED
ffc07da8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07dac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc07db0:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc07db4:	4b ff ff 98 	b       ffc07d4c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
ffc07db8:	83 bf 00 88 	lwz     r29,136(r31)                           
ffc07dbc:	7f be e8 50 	subf    r29,r30,r29                            
ffc07dc0:	4b ff ff 50 	b       ffc07d10 <rtems_termios_refill_transmitter+0xc4>
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
ffc07dc4:	80 63 00 8c 	lwz     r3,140(r3)                             
ffc07dc8:	48 00 10 71 	bl      ffc08e38 <rtems_semaphore_release>     
ffc07dcc:	4b ff ff 14 	b       ffc07ce0 <rtems_termios_refill_transmitter+0x94>
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
ffc07dd0:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc07dd4:	38 9f 00 4a 	addi    r4,r31,74                              <== NOT EXECUTED
ffc07dd8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc07ddc:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc07de0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07de4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07de8:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc07dec:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc07df0:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc07df4:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07df8:	81 7f 00 90 	lwz     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc07dfc:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07e00:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc07e04:	61 29 00 02 	ori     r9,r9,2                                <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07e08:	91 7f 00 90 	stw     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc07e0c:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc07e10:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07e14:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
ffc07e18:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07e1c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc07e20:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc07e24:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07e28:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc07e2c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc07e30:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc07e34:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     * FIXME: this .write call will generate another                  
     * dequeue callback. This will advance the "Tail" in the data     
     * buffer, although the corresponding data is not yet out!        
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
ffc07e38:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc07e3c:	38 9f 00 49 	addi    r4,r31,73                              <== NOT EXECUTED
ffc07e40:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc07e44:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc07e48:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07e4c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07e50:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc07e54:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc07e58:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc07e5c:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07e60:	81 7f 00 90 	lwz     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc07e64:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07e68:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc07e6c:	55 29 07 fa 	rlwinm  r9,r9,0,31,29                          <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc07e70:	91 7f 00 90 	stw     r11,144(r31)                           <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc07e74:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc07e78:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07e7c:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
ffc07e80:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07e84:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc07e88:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc07e8c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07e90:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc07e94:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc07e98:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc07e9c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc07ea0:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc07ea4:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc07ea8:	7c 09 48 78 	andc    r9,r0,r9                               <== NOT EXECUTED
ffc07eac:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
ffc07eb0:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc07eb4:	61 29 00 20 	ori     r9,r9,32                               <== NOT EXECUTED
ffc07eb8:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc07ebc:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc07ec0:	91 3f 00 94 	stw     r9,148(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc07ec4:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
ffc07ec8:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc07ecc:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc07ed0:	4b ff fe 7c 	b       ffc07d4c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
                                                                      

ffc07ba4 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
ffc07ba4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc07ba8:	7c 08 02 a6 	mflr    r0                                     
ffc07bac:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc07bb0:	3b a1 00 08 	addi    r29,r1,8                               
ffc07bb4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc07bb8:	3b c1 00 0c 	addi    r30,r1,12                              
ffc07bbc:	93 e1 00 24 	stw     r31,36(r1)                             
ffc07bc0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07bc4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc07bc8:	48 00 00 20 	b       ffc07be8 <rtems_termios_rxdaemon+0x44> 
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc07bcc:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc07bd0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07bd4:	7c 09 03 a6 	mtctr   r0                                     
ffc07bd8:	4e 80 04 21 	bctrl                                          
    if (c != EOF) {                                                   
ffc07bdc:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc07be0:	7c 60 1b 78 	mr      r0,r3                                  
    if (c != EOF) {                                                   
ffc07be4:	40 9e 00 50 	bne-    cr7,ffc07c34 <rtems_termios_rxdaemon+0x90>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc07be8:	7f c6 f3 78 	mr      r6,r30                                 
ffc07bec:	38 80 00 02 	li      r4,2                                   
ffc07bf0:	38 a0 00 00 	li      r5,0                                   
ffc07bf4:	38 60 00 03 	li      r3,3                                   
ffc07bf8:	48 00 09 1d 	bl      ffc08514 <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) {              
ffc07bfc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07c00:	70 09 00 01 	andi.   r9,r0,1                                
ffc07c04:	41 82 ff c8 	beq+    ffc07bcc <rtems_termios_rxdaemon+0x28> <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
ffc07c08:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc07c0c:	90 1f 00 c4 	stw     r0,196(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc07c10:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc07c14:	48 00 14 dd 	bl      ffc090f0 <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc07c18:	80 1f 00 a0 	lwz     r0,160(r31)                            <== NOT EXECUTED
ffc07c1c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07c20:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07c24:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc07c28:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc07c2c:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc07c30:	41 9e ff b8 	beq+    cr7,ffc07be8 <rtems_termios_rxdaemon+0x44><== NOT EXECUTED
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc07c34:	7f e3 fb 78 	mr      r3,r31                                 
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
ffc07c38:	98 01 00 08 	stb     r0,8(r1)                               
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc07c3c:	7f a4 eb 78 	mr      r4,r29                                 
ffc07c40:	38 a0 00 01 	li      r5,1                                   
ffc07c44:	4b ff fb ad 	bl      ffc077f0 <rtems_termios_enqueue_raw_characters>
ffc07c48:	4b ff ff a0 	b       ffc07be8 <rtems_termios_rxdaemon+0x44> 
                                                                      

ffc07ed4 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
ffc07ed4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc07ed8:	7c 08 02 a6 	mflr    r0                                     
ffc07edc:	93 c1 00 20 	stw     r30,32(r1)                             
ffc07ee0:	3f c0 00 00 	lis     r30,0                                  
ffc07ee4:	3b de 28 90 	addi    r30,r30,10384                          
ffc07ee8:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc07eec:	3b a1 00 08 	addi    r29,r1,8                               
ffc07ef0:	93 e1 00 24 	stw     r31,36(r1)                             
ffc07ef4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07ef8:	90 01 00 2c 	stw     r0,44(r1)                              
ffc07efc:	48 00 00 30 	b       ffc07f2c <rtems_termios_txdaemon+0x58> 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07f00:	81 3f 00 cc 	lwz     r9,204(r31)                            
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc07f04:	7f e3 fb 78 	mr      r3,r31                                 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07f08:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07f0c:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc07f10:	80 09 00 14 	lwz     r0,20(r9)                              
ffc07f14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07f18:	41 9e 00 0c 	beq-    cr7,ffc07f24 <rtems_termios_txdaemon+0x50><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc07f1c:	7c 09 03 a6 	mtctr   r0                                     
ffc07f20:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
ffc07f24:	7f e3 fb 78 	mr      r3,r31                                 
ffc07f28:	4b ff fd 25 	bl      ffc07c4c <rtems_termios_refill_transmitter>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc07f2c:	38 80 00 02 	li      r4,2                                   
ffc07f30:	38 a0 00 00 	li      r5,0                                   
ffc07f34:	7f a6 eb 78 	mr      r6,r29                                 
ffc07f38:	38 60 00 03 	li      r3,3                                   
ffc07f3c:	48 00 05 d9 	bl      ffc08514 <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) {              
ffc07f40:	80 01 00 08 	lwz     r0,8(r1)                               
ffc07f44:	70 09 00 01 	andi.   r9,r0,1                                
ffc07f48:	41 82 ff b8 	beq+    ffc07f00 <rtems_termios_txdaemon+0x2c> <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
ffc07f4c:	38 00 00 00 	li      r0,0                                   
ffc07f50:	90 1f 00 c8 	stw     r0,200(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc07f54:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc07f58:	48 00 11 99 	bl      ffc090f0 <rtems_task_delete>           <== NOT EXECUTED
ffc07f5c:	4b ff ff a4 	b       ffc07f00 <rtems_termios_txdaemon+0x2c> <== NOT EXECUTED
                                                                      

ffc07224 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
ffc07224:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc07228:	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);
ffc0722c:	38 80 00 00 	li      r4,0                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07230:	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);
ffc07234:	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;                   
ffc07238:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc0723c:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc07240:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07244:	93 c1 00 18 	stw     r30,24(r1)                             
ffc07248:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0724c:	80 7f 00 18 	lwz     r3,24(r31)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc07250:	93 a1 00 14 	stw     r29,20(r1)                             
ffc07254:	93 41 00 08 	stw     r26,8(r1)                              
ffc07258:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0725c:	93 81 00 10 	stw     r28,16(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07260:	48 00 1a 51 	bl      ffc08cb0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc07264:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc07268:	40 82 00 40 	bne-    ffc072a8 <rtems_termios_write+0x84>    <== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
ffc0726c:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc07270:	3d 20 00 00 	lis     r9,0                                   
ffc07274:	39 29 28 90 	addi    r9,r9,10384                            
ffc07278:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc0727c:	7d 29 02 14 	add     r9,r9,r0                               
ffc07280:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc07284:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07288:	41 9e 00 4c 	beq-    cr7,ffc072d4 <rtems_termios_write+0xb0>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
ffc0728c:	7f e3 fb 78 	mr      r3,r31                                 
ffc07290:	7c 09 03 a6 	mtctr   r0                                     
ffc07294:	7f c4 f3 78 	mr      r4,r30                                 
ffc07298:	4e 80 04 21 	bctrl                                          
ffc0729c:	7c 7d 1b 78 	mr      r29,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc072a0:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc072a4:	48 00 1b 95 	bl      ffc08e38 <rtems_semaphore_release>     
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
ffc072a8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc072ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc072b0:	83 41 00 08 	lwz     r26,8(r1)                              
ffc072b4:	7c 08 03 a6 	mtlr    r0                                     
ffc072b8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc072bc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc072c0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc072c4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc072c8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc072cc:	38 21 00 20 	addi    r1,r1,32                               
ffc072d0:	4e 80 00 20 	blr                                            
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
ffc072d4:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc072d8:	70 09 00 01 	andi.   r9,r0,1                                
ffc072dc:	41 82 00 70 	beq-    ffc0734c <rtems_termios_write+0x128>   <== NEVER TAKEN
    uint32_t   count = args->count;                                   
ffc072e0:	83 7e 00 14 	lwz     r27,20(r30)                            
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc072e4:	38 00 00 00 	li      r0,0                                   
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
ffc072e8:	83 5e 00 10 	lwz     r26,16(r30)                            
    while (count--)                                                   
ffc072ec:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc072f0:	41 9e 00 24 	beq-    cr7,ffc07314 <rtems_termios_write+0xf0><== NEVER TAKEN
ffc072f4:	3b 80 00 00 	li      r28,0                                  
      oproc (*buffer++, tty);                                         
ffc072f8:	7c 7a e0 ae 	lbzx    r3,r26,r28                             
ffc072fc:	7f e4 fb 78 	mr      r4,r31                                 
ffc07300:	3b 9c 00 01 	addi    r28,r28,1                              
ffc07304:	4b ff f7 d5 	bl      ffc06ad8 <oproc>                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc07308:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc0730c:	40 9e ff ec 	bne+    cr7,ffc072f8 <rtems_termios_write+0xd4>
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
ffc07310:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc07314:	90 1e 00 1c 	stw     r0,28(r30)                             
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
ffc07318:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0731c:	48 00 1b 1d 	bl      ffc08e38 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc07320:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07324:	7f a3 eb 78 	mr      r3,r29                                 
ffc07328:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0732c:	7c 08 03 a6 	mtlr    r0                                     
ffc07330:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc07334:	83 81 00 10 	lwz     r28,16(r1)                             
ffc07338:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0733c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc07340:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07344:	38 21 00 20 	addi    r1,r1,32                               
ffc07348:	4e 80 00 20 	blr                                            
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
ffc0734c:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc07350:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc07354:	80 9e 00 14 	lwz     r4,20(r30)                             <== NOT EXECUTED
ffc07358:	4b ff f5 fd 	bl      ffc06954 <rtems_termios_puts>          <== NOT EXECUTED
ffc0735c:	4b ff ff b4 	b       ffc07310 <rtems_termios_write+0xec>    <== NOT EXECUTED
                                                                      

ffc1afb0 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc1afb0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1afb4:	7c 08 02 a6 	mflr    r0                                     
ffc1afb8:	7c 64 1b 78 	mr      r4,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
ffc1afbc:	3c 60 00 00 	lis     r3,0                                   
ffc1afc0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1afc4:	38 63 79 5c 	addi    r3,r3,31068                            
ffc1afc8:	38 a1 00 08 	addi    r5,r1,8                                
ffc1afcc:	48 00 3c 2d 	bl      ffc1ebf8 <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1afd0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1afd4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1afd8:	41 9e 00 18 	beq-    cr7,ffc1aff0 <rtems_timer_cancel+0x40> 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1afdc:	80 01 00 1c 	lwz     r0,28(r1)                              
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1afe0:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc1afe4:	38 21 00 18 	addi    r1,r1,24                               
ffc1afe8:	7c 08 03 a6 	mtlr    r0                                     
ffc1afec:	4e 80 00 20 	blr                                            
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc1aff0:	80 03 00 38 	lwz     r0,56(r3)                              
ffc1aff4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1aff8:	41 9e 00 0c 	beq-    cr7,ffc1b004 <rtems_timer_cancel+0x54> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc1affc:	38 63 00 10 	addi    r3,r3,16                               
ffc1b000:	48 00 66 29 	bl      ffc21628 <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc1b004:	48 00 4b 0d 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1b008:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
        (void) _Watchdog_Remove( &the_timer->Ticker );                
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc1b00c:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1b010:	7c 08 03 a6 	mtlr    r0                                     
ffc1b014:	38 21 00 18 	addi    r1,r1,24                               
ffc1b018:	4e 80 00 20 	blr                                            
                                                                      

ffc1b67c <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc1b67c:	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;                 
ffc1b680:	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                        
)                                                                     
{                                                                     
ffc1b684:	7c 08 02 a6 	mflr    r0                                     
ffc1b688:	93 e1 00 34 	stw     r31,52(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc1b68c:	83 e9 28 fc 	lwz     r31,10492(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1b690:	93 21 00 1c 	stw     r25,28(r1)                             
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
ffc1b694:	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 )                                                
ffc1b698:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1b69c:	93 61 00 24 	stw     r27,36(r1)                             
ffc1b6a0:	7c db 33 78 	mr      r27,r6                                 
ffc1b6a4:	93 81 00 28 	stw     r28,40(r1)                             
ffc1b6a8:	7c 9c 23 78 	mr      r28,r4                                 
ffc1b6ac:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1b6b0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1b6b4:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1b6b8:	7c be 2b 78 	mr      r30,r5                                 
ffc1b6bc:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1b6c0:	93 01 00 18 	stw     r24,24(r1)                             
ffc1b6c4:	93 41 00 20 	stw     r26,32(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc1b6c8:	41 9e 00 38 	beq-    cr7,ffc1b700 <rtems_timer_server_fire_when+0x84>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc1b6cc:	3d 20 00 00 	lis     r9,0                                   
ffc1b6d0:	88 09 28 a4 	lbz     r0,10404(r9)                           
    return RTEMS_NOT_DEFINED;                                         
ffc1b6d4:	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 )                                                 
ffc1b6d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b6dc:	41 9e 00 24 	beq-    cr7,ffc1b700 <rtems_timer_server_fire_when+0x84><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1b6e0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc1b6e4:	3b 20 00 09 	li      r25,9                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1b6e8:	41 9e 00 18 	beq-    cr7,ffc1b700 <rtems_timer_server_fire_when+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc1b6ec:	7c 83 23 78 	mr      r3,r4                                  
ffc1b6f0:	4b ff bf 59 	bl      ffc17648 <_TOD_Validate>               
    return RTEMS_INVALID_CLOCK;                                       
ffc1b6f4:	3b 20 00 14 	li      r25,20                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc1b6f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b6fc:	40 9e 00 38 	bne-    cr7,ffc1b734 <rtems_timer_server_fire_when+0xb8>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1b700:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1b704:	7f 23 cb 78 	mr      r3,r25                                 
ffc1b708:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1b70c:	7c 08 03 a6 	mtlr    r0                                     
ffc1b710:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1b714:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1b718:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1b71c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1b720:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1b724:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1b728:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1b72c:	38 21 00 38 	addi    r1,r1,56                               
ffc1b730:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1b734:	7f 83 e3 78 	mr      r3,r28                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1b738:	3f 40 00 00 	lis     r26,0                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1b73c:	4b ff be 69 	bl      ffc175a4 <_TOD_To_seconds>             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1b740:	80 1a 28 b8 	lwz     r0,10424(r26)                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1b744:	7c 7c 1b 78 	mr      r28,r3                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1b748:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1b74c:	40 bd ff b4 	ble-    cr7,ffc1b700 <rtems_timer_server_fire_when+0x84>
ffc1b750:	3c 60 00 00 	lis     r3,0                                   
ffc1b754:	38 63 79 5c 	addi    r3,r3,31068                            
ffc1b758:	7f a4 eb 78 	mr      r4,r29                                 
ffc1b75c:	38 a1 00 08 	addi    r5,r1,8                                
ffc1b760:	48 00 34 99 	bl      ffc1ebf8 <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1b764:	83 01 00 08 	lwz     r24,8(r1)                              
ffc1b768:	7c 79 1b 78 	mr      r25,r3                                 
ffc1b76c:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc1b770:	40 9e 00 50 	bne-    cr7,ffc1b7c0 <rtems_timer_server_fire_when+0x144>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc1b774:	38 63 00 10 	addi    r3,r3,16                               
ffc1b778:	48 00 5e b1 	bl      ffc21628 <_Watchdog_Remove>            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc1b77c:	80 1a 28 b8 	lwz     r0,10424(r26)                          
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc1b780:	39 20 00 03 	li      r9,3                                   
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc1b784:	7f 80 e0 50 	subf    r28,r0,r28                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc1b788:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc1b78c:	7f 24 cb 78 	mr      r4,r25                                 
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc1b790:	91 39 00 38 	stw     r9,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 ); 
ffc1b794:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b798:	7c 09 03 a6 	mtctr   r0                                     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc1b79c:	93 19 00 18 	stw     r24,24(r25)                            
  the_watchdog->routine   = routine;                                  
ffc1b7a0:	93 d9 00 2c 	stw     r30,44(r25)                            
  the_watchdog->id        = id;                                       
ffc1b7a4:	93 b9 00 30 	stw     r29,48(r25)                            
  the_watchdog->user_data = user_data;                                
ffc1b7a8:	93 79 00 34 	stw     r27,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();
ffc1b7ac:	93 99 00 1c 	stw     r28,28(r25)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc1b7b0:	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 ); 
ffc1b7b4:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc1b7b8:	48 00 43 59 	bl      ffc1fb10 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc1b7bc:	4b ff ff 44 	b       ffc1b700 <rtems_timer_server_fire_when+0x84>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1b7c0:	3b 20 00 04 	li      r25,4                                  
ffc1b7c4:	4b ff ff 3c 	b       ffc1b700 <rtems_timer_server_fire_when+0x84>
                                                                      

ffc0ab64 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
ffc0ab64:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ab68:	7c 08 02 a6 	mflr    r0                                     
ffc0ab6c:	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) {                               
ffc0ab70:	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                                         
)                                                                     
{                                                                     
ffc0ab74:	93 41 00 08 	stw     r26,8(r1)                              
ffc0ab78:	7c 9a 23 78 	mr      r26,r4                                 
ffc0ab7c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ab80:	7c bb 2b 78 	mr      r27,r5                                 
ffc0ab84:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0ab88:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ab8c:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ab90:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ab94:	93 e1 00 1c 	stw     r31,28(r1)                             
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc0ab98:	41 82 00 3c 	beq-    ffc0abd4 <rtems_verror+0x70>           
    if (rtems_panic_in_progress++)                                    
ffc0ab9c:	3d 20 00 00 	lis     r9,0                                   
ffc0aba0:	81 69 28 0c 	lwz     r11,10252(r9)                          
ffc0aba4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0aba8:	38 0b 00 01 	addi    r0,r11,1                               
ffc0abac:	90 09 28 0c 	stw     r0,10252(r9)                           
ffc0abb0:	41 9e 00 18 	beq-    cr7,ffc0abc8 <rtems_verror+0x64>       <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0abb4:	3d 60 00 00 	lis     r11,0                                  <== NOT EXECUTED
ffc0abb8:	81 4b 28 2c 	lwz     r10,10284(r11)                         <== NOT EXECUTED
ffc0abbc:	38 0a 00 01 	addi    r0,r10,1                               <== NOT EXECUTED
ffc0abc0:	90 0b 28 2c 	stw     r0,10284(r11)                          <== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
ffc0abc4:	80 09 28 0c 	lwz     r0,10252(r9)                           <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc0abc8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
      return 0;                                                       
ffc0abcc:	3b a0 00 00 	li      r29,0                                  
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc0abd0:	41 9d 00 ac 	bgt-    cr7,ffc0ac7c <rtems_verror+0x118>      <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc0abd4:	3f e0 00 00 	lis     r31,0                                  
ffc0abd8:	81 3f 27 b0 	lwz     r9,10160(r31)                          
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
ffc0abdc:	3b 80 00 00 	li      r28,0                                  
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc0abe0:	80 69 00 08 	lwz     r3,8(r9)                               
ffc0abe4:	48 00 ff 31 	bl      ffc1ab14 <fflush>                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc0abe8:	77 c0 40 00 	andis.  r0,r30,16384                           
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
ffc0abec:	57 de 01 00 	rlwinm  r30,r30,0,4,0                          
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc0abf0:	40 82 00 ec 	bne-    ffc0acdc <rtems_verror+0x178>          
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc0abf4:	81 3f 27 b0 	lwz     r9,10160(r31)                          
ffc0abf8:	7f 44 d3 78 	mr      r4,r26                                 
ffc0abfc:	7f 65 db 78 	mr      r5,r27                                 
ffc0ac00:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0ac04:	48 01 70 a9 	bl      ffc21cac <vfprintf>                    
                                                                      
  if (status)                                                         
ffc0ac08:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc0ac0c:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  if (status)                                                         
ffc0ac10:	40 9e 00 98 	bne-    cr7,ffc0aca8 <rtems_verror+0x144>      
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
ffc0ac14:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ac18:	41 9e 00 3c 	beq-    cr7,ffc0ac54 <rtems_verror+0xf0>       
    if ((local_errno > 0) && *strerror(local_errno))                  
ffc0ac1c:	40 9d 00 18 	ble-    cr7,ffc0ac34 <rtems_verror+0xd0>       
ffc0ac20:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ac24:	48 01 13 21 	bl      ffc1bf44 <strerror>                    
ffc0ac28:	88 03 00 00 	lbz     r0,0(r3)                               
ffc0ac2c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ac30:	40 9e 00 b8 	bne-    cr7,ffc0ace8 <rtems_verror+0x184>      <== ALWAYS TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
ffc0ac34:	81 3f 27 b0 	lwz     r9,10160(r31)                          
ffc0ac38:	3c 80 ff c3 	lis     r4,-61                                 
ffc0ac3c:	38 84 bd a8 	addi    r4,r4,-16984                           
ffc0ac40:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0ac44:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ac48:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ac4c:	48 01 03 fd 	bl      ffc1b048 <fprintf>                     
ffc0ac50:	7f bd 1a 14 	add     r29,r29,r3                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc0ac54:	81 3f 27 b0 	lwz     r9,10160(r31)                          
ffc0ac58:	3c 80 ff c3 	lis     r4,-61                                 
ffc0ac5c:	38 84 b7 1c 	addi    r4,r4,-18660                           
ffc0ac60:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0ac64:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ac68:	48 01 03 e1 	bl      ffc1b048 <fprintf>                     
                                                                      
  (void) fflush(stderr);                                              
ffc0ac6c:	81 3f 27 b0 	lwz     r9,10160(r31)                          
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc0ac70:	7f a3 ea 14 	add     r29,r3,r29                             
                                                                      
  (void) fflush(stderr);                                              
ffc0ac74:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0ac78:	48 00 fe 9d 	bl      ffc1ab14 <fflush>                      
                                                                      
  return chars_written;                                               
}                                                                     
ffc0ac7c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ac80:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ac84:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0ac88:	7c 08 03 a6 	mtlr    r0                                     
ffc0ac8c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ac90:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ac94:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ac98:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ac9c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0aca0:	38 21 00 20 	addi    r1,r1,32                               
ffc0aca4:	4e 80 00 20 	blr                                            
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
ffc0aca8:	3d 20 00 00 	lis     r9,0                                   
ffc0acac:	81 29 27 b0 	lwz     r9,10160(r9)                           
ffc0acb0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0acb4:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc0acb8:	4b ff fe 81 	bl      ffc0ab38 <rtems_status_text>           
ffc0acbc:	3c 80 ff c3 	lis     r4,-61                                 
ffc0acc0:	7c 65 1b 78 	mr      r5,r3                                  
ffc0acc4:	38 84 bd 88 	addi    r4,r4,-17016                           
ffc0acc8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0accc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0acd0:	48 01 03 79 	bl      ffc1b048 <fprintf>                     
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
ffc0acd4:	7f bd 1a 14 	add     r29,r29,r3                             
ffc0acd8:	4b ff ff 3c 	b       ffc0ac14 <rtems_verror+0xb0>           
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
    local_errno = errno;                                              
ffc0acdc:	48 00 f9 a5 	bl      ffc1a680 <__errno>                     
ffc0ace0:	83 83 00 00 	lwz     r28,0(r3)                              
ffc0ace4:	4b ff ff 10 	b       ffc0abf4 <rtems_verror+0x90>           
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
    if ((local_errno > 0) && *strerror(local_errno))                  
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
ffc0ace8:	81 3f 27 b0 	lwz     r9,10160(r31)                          
ffc0acec:	7f 83 e3 78 	mr      r3,r28                                 
ffc0acf0:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc0acf4:	48 01 12 51 	bl      ffc1bf44 <strerror>                    
ffc0acf8:	3c 80 ff c3 	lis     r4,-61                                 
ffc0acfc:	7c 65 1b 78 	mr      r5,r3                                  
ffc0ad00:	38 84 bd 98 	addi    r4,r4,-17000                           
ffc0ad04:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ad08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ad0c:	48 01 03 3d 	bl      ffc1b048 <fprintf>                     
ffc0ad10:	7f bd 1a 14 	add     r29,r29,r3                             
ffc0ad14:	4b ff ff 40 	b       ffc0ac54 <rtems_verror+0xf0>           
                                                                      

ffc0538c <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
ffc0538c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc05390:	7c 08 02 a6 	mflr    r0                                     
ffc05394:	93 41 00 10 	stw     r26,16(r1)                             
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc05398:	3f 40 cc cc 	lis     r26,-13108                             
ffc0539c:	63 5a cc cd 	ori     r26,r26,52429                          
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053a0:	93 81 00 18 	stw     r28,24(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc053a4:	3f 80 7f ff 	lis     r28,32767                              
ffc053a8:	63 9c ff ff 	ori     r28,r28,65535                          
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053ac:	90 01 00 2c 	stw     r0,44(r1)                              
ffc053b0:	93 01 00 08 	stw     r24,8(r1)                              
ffc053b4:	7c 98 23 78 	mr      r24,r4                                 
ffc053b8:	93 21 00 0c 	stw     r25,12(r1)                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc053bc:	3f 20 00 00 	lis     r25,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053c0:	93 61 00 14 	stw     r27,20(r1)                             
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc053c4:	3f 60 00 00 	lis     r27,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053c8:	93 a1 00 1c 	stw     r29,28(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
ffc053cc:	3b a0 00 00 	li      r29,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053d0:	93 c1 00 20 	stw     r30,32(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
ffc053d4:	3b c0 00 00 	li      r30,0                                  
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc053d8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc053dc:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc053e0:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc053e4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc053e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc053ec:	90 1f 00 04 	stw     r0,4(r31)                              
ffc053f0:	41 9c 00 7c 	blt-    cr7,ffc0546c <scanInt+0xe0>            <== NEVER TAKEN
ffc053f4:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc053f8:	88 69 00 00 	lbz     r3,0(r9)                               
ffc053fc:	38 09 00 01 	addi    r0,r9,1                                
ffc05400:	90 1f 00 00 	stw     r0,0(r31)                              
    if (c == ':')                                                     
ffc05404:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
ffc05408:	41 9e 00 78 	beq-    cr7,ffc05480 <scanInt+0xf4>            
      break;                                                          
    if (sign == 0) {                                                  
ffc0540c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05410:	40 9e 00 10 	bne-    cr7,ffc05420 <scanInt+0x94>            
      if (c == '-') {                                                 
ffc05414:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
ffc05418:	3b a0 00 01 	li      r29,1                                  
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
ffc0541c:	41 9e 00 f0 	beq-    cr7,ffc0550c <scanInt+0x180>           
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc05420:	81 3b 27 2c 	lwz     r9,10028(r27)                          
ffc05424:	7d 29 1a 14 	add     r9,r9,r3                               
ffc05428:	88 09 00 01 	lbz     r0,1(r9)                               
ffc0542c:	70 09 00 04 	andi.   r9,r0,4                                
ffc05430:	41 82 00 a8 	beq-    ffc054d8 <scanInt+0x14c>               
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc05434:	7c 1c d0 16 	mulhwu  r0,r28,r26                             
ffc05438:	54 00 e8 fe 	rlwinm  r0,r0,29,3,31                          
ffc0543c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc05440:	41 9d 00 98 	bgt-    cr7,ffc054d8 <scanInt+0x14c>           
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc05444:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
ffc05448:	38 63 ff d0 	addi    r3,r3,-48                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc0544c:	41 9e 00 7c 	beq-    cr7,ffc054c8 <scanInt+0x13c>           
ffc05450:	1f de 00 0a 	mulli   r30,r30,10                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05454:	81 3f 00 04 	lwz     r9,4(r31)                              
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
ffc05458:	7f c3 f2 14 	add     r30,r3,r30                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc0545c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc05460:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05464:	90 1f 00 04 	stw     r0,4(r31)                              
ffc05468:	40 9c ff 8c 	bge+    cr7,ffc053f4 <scanInt+0x68>            <== ALWAYS TAKEN
ffc0546c:	80 79 27 30 	lwz     r3,10032(r25)                          <== NOT EXECUTED
ffc05470:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc05474:	48 01 10 f1 	bl      ffc16564 <__srget_r>                   <== NOT EXECUTED
    if (c == ':')                                                     
ffc05478:	2f 83 00 3a 	cmpwi   cr7,r3,58                              <== NOT EXECUTED
ffc0547c:	40 9e ff 90 	bne+    cr7,ffc0540c <scanInt+0x80>            <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
ffc05480:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return 0;                                                         
ffc05484:	38 60 00 00 	li      r3,0                                   
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
ffc05488:	41 9e 00 54 	beq-    cr7,ffc054dc <scanInt+0x150>           <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc0548c:	80 01 00 2c 	lwz     r0,44(r1)                              
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc05490:	7f dd f1 d6 	mullw   r30,r29,r30                            
  return 1;                                                           
}                                                                     
ffc05494:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc05498:	7c 08 03 a6 	mtlr    r0                                     
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
ffc0549c:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc054a0:	93 d8 00 00 	stw     r30,0(r24)                             
  return 1;                                                           
}                                                                     
ffc054a4:	83 01 00 08 	lwz     r24,8(r1)                              
ffc054a8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc054ac:	83 61 00 14 	lwz     r27,20(r1)                             
ffc054b0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc054b4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc054b8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc054bc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc054c0:	38 21 00 28 	addi    r1,r1,40                               
ffc054c4:	4e 80 00 20 	blr                                            
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc054c8:	1f de 00 0a 	mulli   r30,r30,10                             
ffc054cc:	7c 1e e0 50 	subf    r0,r30,r28                             
ffc054d0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc054d4:	40 9d ff 80 	ble+    cr7,ffc05454 <scanInt+0xc8>            <== NEVER TAKEN
      return 0;                                                       
ffc054d8:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc054dc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc054e0:	83 01 00 08 	lwz     r24,8(r1)                              
ffc054e4:	7c 08 03 a6 	mtlr    r0                                     
ffc054e8:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc054ec:	83 41 00 10 	lwz     r26,16(r1)                             
ffc054f0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc054f4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc054f8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc054fc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc05500:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc05504:	38 21 00 28 	addi    r1,r1,40                               
ffc05508:	4e 80 00 20 	blr                                            
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
ffc0550c:	3b 9c 00 01 	addi    r28,r28,1                              
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
ffc05510:	3b a0 ff ff 	li      r29,-1                                 
        limit++;                                                      
        continue;                                                     
ffc05514:	4b ff fe cc 	b       ffc053e0 <scanInt+0x54>                
                                                                      

ffc05518 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
ffc05518:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0551c:	7c 08 02 a6 	mflr    r0                                     
ffc05520:	90 01 00 24 	stw     r0,36(r1)                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc05524:	80 05 00 00 	lwz     r0,0(r5)                               
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
ffc05528:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0552c:	7c fb 3b 78 	mr      r27,r7                                 
ffc05530:	93 81 00 10 	stw     r28,16(r1)                             
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05534:	3f 80 00 00 	lis     r28,0                                  
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
ffc05538:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0553c:	7c dd 33 78 	mr      r29,r6                                 
ffc05540:	93 c1 00 18 	stw     r30,24(r1)                             
ffc05544:	7c be 2b 78 	mr      r30,r5                                 
ffc05548:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0554c:	7c 7f 1b 78 	mr      r31,r3                                 
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc05550:	90 04 00 00 	stw     r0,0(r4)                               
ffc05554:	48 00 00 58 	b       ffc055ac <scanString+0x94>             
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc05558:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0555c:	88 69 00 00 	lbz     r3,0(r9)                               
ffc05560:	38 09 00 01 	addi    r0,r9,1                                
ffc05564:	90 1f 00 00 	stw     r0,0(r31)                              
    if (c == ':') {                                                   
ffc05568:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc0556c:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc05570:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc05574:	41 9e 00 68 	beq-    cr7,ffc055dc <scanString+0xc4>         
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc05578:	41 9a 00 e4 	beq-    cr6,ffc0565c <scanString+0x144>        
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc0557c:	41 86 00 b8 	beq-    cr1,ffc05634 <scanString+0x11c>        
      return 0;                                                       
    if (*nleft < 2)                                                   
ffc05580:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc05584:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc05588:	40 9d 00 ac 	ble-    cr7,ffc05634 <scanString+0x11c>        
      return 0;                                                       
    **bufp = c;                                                       
ffc0558c:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc05590:	98 69 00 00 	stb     r3,0(r9)                               
    ++(*bufp);                                                        
ffc05594:	81 3e 00 00 	lwz     r9,0(r30)                              
    --(*nleft);                                                       
ffc05598:	81 7d 00 00 	lwz     r11,0(r29)                             
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc0559c:	39 29 00 01 	addi    r9,r9,1                                
    --(*nleft);                                                       
ffc055a0:	38 0b ff ff 	addi    r0,r11,-1                              
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc055a4:	91 3e 00 00 	stw     r9,0(r30)                              
    --(*nleft);                                                       
ffc055a8:	90 1d 00 00 	stw     r0,0(r29)                              
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc055ac:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc055b0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc055b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc055b8:	90 1f 00 04 	stw     r0,4(r31)                              
ffc055bc:	40 9c ff 9c 	bge+    cr7,ffc05558 <scanString+0x40>         
ffc055c0:	80 7c 27 30 	lwz     r3,10032(r28)                          
ffc055c4:	7f e4 fb 78 	mr      r4,r31                                 
ffc055c8:	48 01 0f 9d 	bl      ffc16564 <__srget_r>                   
    if (c == ':') {                                                   
ffc055cc:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc055d0:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc055d4:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc055d8:	40 9e ff a0 	bne+    cr7,ffc05578 <scanString+0x60>         <== ALWAYS TAKEN
        if (nlFlag)                                                   
ffc055dc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            return 0;                                                 
ffc055e0:	38 60 00 00 	li      r3,0                                   
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
ffc055e4:	40 9e 00 54 	bne-    cr7,ffc05638 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc055e8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc055ec:	38 00 00 00 	li      r0,0                                   
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc055f0:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc055f4:	98 09 00 00 	stb     r0,0(r9)                               
  ++(*bufp);                                                          
ffc055f8:	81 3e 00 00 	lwz     r9,0(r30)                              
  --(*nleft);                                                         
ffc055fc:	81 7d 00 00 	lwz     r11,0(r29)                             
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05600:	39 29 00 01 	addi    r9,r9,1                                
  --(*nleft);                                                         
ffc05604:	38 0b ff ff 	addi    r0,r11,-1                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05608:	91 3e 00 00 	stw     r9,0(r30)                              
  --(*nleft);                                                         
ffc0560c:	90 1d 00 00 	stw     r0,0(r29)                              
  return 1;                                                           
}                                                                     
ffc05610:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05614:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc05618:	7c 08 03 a6 	mtlr    r0                                     
ffc0561c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05620:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc05624:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05628:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0562c:	38 21 00 20 	addi    r1,r1,32                               
ffc05630:	4e 80 00 20 	blr                                            
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
ffc05634:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
ffc05638:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0563c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc05640:	7c 08 03 a6 	mtlr    r0                                     
ffc05644:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05648:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0564c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05650:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05654:	38 21 00 20 	addi    r1,r1,32                               
ffc05658:	4e 80 00 20 	blr                                            
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc0565c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            return 0;                                                 
ffc05660:	38 60 00 00 	li      r3,0                                   
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc05664:	41 be ff d4 	beq-    cr7,ffc05638 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc05668:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0566c:	38 00 00 00 	li      r0,0                                   
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc05670:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc05674:	98 09 00 00 	stb     r0,0(r9)                               
  ++(*bufp);                                                          
ffc05678:	81 3e 00 00 	lwz     r9,0(r30)                              
  --(*nleft);                                                         
ffc0567c:	81 7d 00 00 	lwz     r11,0(r29)                             
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05680:	39 29 00 01 	addi    r9,r9,1                                
  --(*nleft);                                                         
ffc05684:	38 0b ff ff 	addi    r0,r11,-1                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc05688:	91 3e 00 00 	stw     r9,0(r30)                              
  --(*nleft);                                                         
ffc0568c:	90 1d 00 00 	stw     r0,0(r29)                              
ffc05690:	4b ff ff 80 	b       ffc05610 <scanString+0xf8>             
                                                                      

ffc05694 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
ffc05694:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc05698:	7c 08 02 a6 	mflr    r0                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc0569c:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056a0:	93 c1 00 30 	stw     r30,48(r1)                             
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc056a4:	3b c1 00 18 	addi    r30,r1,24                              
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056a8:	93 e1 00 34 	stw     r31,52(r1)                             
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc056ac:	3b e1 00 1c 	addi    r31,r1,28                              
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056b0:	90 a1 00 18 	stw     r5,24(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc056b4:	7f c5 f3 78 	mr      r5,r30                                 
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056b8:	90 c1 00 1c 	stw     r6,28(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc056bc:	7f e6 fb 78 	mr      r6,r31                                 
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056c0:	93 61 00 24 	stw     r27,36(r1)                             
ffc056c4:	7c 9b 23 78 	mr      r27,r4                                 
ffc056c8:	93 81 00 28 	stw     r28,40(r1)                             
ffc056cc:	7c 7c 1b 78 	mr      r28,r3                                 
ffc056d0:	93 a1 00 2c 	stw     r29,44(r1)                             
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
ffc056d4:	3b a0 00 00 	li      r29,0                                  
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc056d8:	90 01 00 3c 	stw     r0,60(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc056dc:	4b ff fe 3d 	bl      ffc05518 <scanString>                  
ffc056e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc056e4:	40 9e 00 2c 	bne-    cr7,ffc05710 <scangr+0x7c>             
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
ffc056e8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc056ec:	7f a3 eb 78 	mr      r3,r29                                 
ffc056f0:	83 61 00 24 	lwz     r27,36(r1)                             
ffc056f4:	7c 08 03 a6 	mtlr    r0                                     
ffc056f8:	83 81 00 28 	lwz     r28,40(r1)                             
ffc056fc:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc05700:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc05704:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc05708:	38 21 00 38 	addi    r1,r1,56                               
ffc0570c:	4e 80 00 20 	blr                                            
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
ffc05710:	7f 83 e3 78 	mr      r3,r28                                 
ffc05714:	38 9b 00 04 	addi    r4,r27,4                               
ffc05718:	7f c5 f3 78 	mr      r5,r30                                 
ffc0571c:	7f e6 fb 78 	mr      r6,r31                                 
ffc05720:	38 e0 00 00 	li      r7,0                                   
ffc05724:	4b ff fd f5 	bl      ffc05518 <scanString>                  
ffc05728:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0572c:	41 9e ff bc 	beq+    cr7,ffc056e8 <scangr+0x54>             <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
ffc05730:	7f 83 e3 78 	mr      r3,r28                                 
ffc05734:	38 81 00 08 	addi    r4,r1,8                                
ffc05738:	4b ff fc 55 	bl      ffc0538c <scanInt>                     
ffc0573c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05740:	41 9e ff a8 	beq+    cr7,ffc056e8 <scangr+0x54>             <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
ffc05744:	7f 83 e3 78 	mr      r3,r28                                 
ffc05748:	38 81 00 0c 	addi    r4,r1,12                               
ffc0574c:	7f c5 f3 78 	mr      r5,r30                                 
ffc05750:	7f e6 fb 78 	mr      r6,r31                                 
ffc05754:	38 e0 00 01 	li      r7,1                                   
ffc05758:	4b ff fd c1 	bl      ffc05518 <scanString>                  
ffc0575c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05760:	41 be ff 88 	beq-    cr7,ffc056e8 <scangr+0x54>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
ffc05764:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05768:	39 20 00 17 	li      r9,23                                  
ffc0576c:	81 41 00 0c 	lwz     r10,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;                                                
ffc05770:	b0 1b 00 08 	sth     r0,8(r27)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05774:	88 0a 00 00 	lbz     r0,0(r10)                              
ffc05778:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0577c:	41 9e 00 30 	beq-    cr7,ffc057ac <scangr+0x118>            <== NEVER TAKEN
ffc05780:	7d 4b 53 78 	mr      r11,r10                                
ffc05784:	39 20 00 01 	li      r9,1                                   
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc05788:	68 08 00 2c 	xori    r8,r0,44                               
ffc0578c:	21 08 00 00 	subfic  r8,r8,0                                
ffc05790:	7d 09 01 94 	addze   r8,r9                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05794:	8c 0b 00 01 	lbzu    r0,1(r11)                              
ffc05798:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc0579c:	7d 09 43 78 	mr      r9,r8                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc057a0:	40 9e ff e8 	bne+    cr7,ffc05788 <scangr+0xf4>             
ffc057a4:	55 09 10 3a 	rlwinm  r9,r8,2,0,29                           
ffc057a8:	39 29 00 13 	addi    r9,r9,19                               
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc057ac:	80 01 00 1c 	lwz     r0,28(r1)                              
    return 0;                                                         
ffc057b0:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc057b4:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc057b8:	41 bc ff 30 	blt-    cr7,ffc056e8 <scangr+0x54>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc057bc:	81 01 00 18 	lwz     r8,24(r1)                              
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc057c0:	39 60 00 04 	li      r11,4                                  
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc057c4:	39 08 00 0f 	addi    r8,r8,15                               
ffc057c8:	55 08 00 36 	rlwinm  r8,r8,0,0,27                           
ffc057cc:	91 1b 00 0c 	stw     r8,12(r27)                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
ffc057d0:	91 48 00 00 	stw     r10,0(r8)                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc057d4:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc057d8:	88 09 00 00 	lbz     r0,0(r9)                               
ffc057dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc057e0:	41 9e 00 4c 	beq-    cr7,ffc0582c <scangr+0x198>            <== NEVER TAKEN
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc057e4:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc057e8:	39 60 00 01 	li      r11,1                                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
ffc057ec:	39 00 00 00 	li      r8,0                                   
ffc057f0:	48 00 00 14 	b       ffc05804 <scangr+0x170>                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc057f4:	88 09 00 00 	lbz     r0,0(r9)                               
ffc057f8:	39 29 00 01 	addi    r9,r9,1                                
ffc057fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05800:	41 9e 00 24 	beq-    cr7,ffc05824 <scangr+0x190>            
    if(*cp == ',') {                                                  
ffc05804:	2f 80 00 2c 	cmpwi   cr7,r0,44                              
ffc05808:	40 9e ff ec 	bne+    cr7,ffc057f4 <scangr+0x160>            
      *cp = '\0';                                                     
ffc0580c:	99 09 ff ff 	stb     r8,-1(r9)                              
      grp->gr_mem[memcount++] = cp + 1;                               
ffc05810:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc05814:	39 6b 00 01 	addi    r11,r11,1                              
ffc05818:	81 5b 00 0c 	lwz     r10,12(r27)                            
ffc0581c:	7d 2a 01 2e 	stwx    r9,r10,r0                              
ffc05820:	4b ff ff d4 	b       ffc057f4 <scangr+0x160>                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc05824:	81 1b 00 0c 	lwz     r8,12(r27)                             
ffc05828:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc0582c:	38 00 00 00 	li      r0,0                                   
ffc05830:	7c 08 59 2e 	stwx    r0,r8,r11                              
  return 1;                                                           
ffc05834:	3b a0 00 01 	li      r29,1                                  
ffc05838:	4b ff fe b0 	b       ffc056e8 <scangr+0x54>                 
                                                                      

ffc0583c <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
ffc0583c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc05840:	7c 08 02 a6 	mflr    r0                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc05844:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05848:	93 c1 00 30 	stw     r30,48(r1)                             
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc0584c:	3b c1 00 18 	addi    r30,r1,24                              
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05850:	93 e1 00 34 	stw     r31,52(r1)                             
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc05854:	3b e1 00 1c 	addi    r31,r1,28                              
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05858:	90 a1 00 18 	stw     r5,24(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc0585c:	7f c5 f3 78 	mr      r5,r30                                 
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05860:	90 c1 00 1c 	stw     r6,28(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc05864:	7f e6 fb 78 	mr      r6,r31                                 
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05868:	93 61 00 24 	stw     r27,36(r1)                             
ffc0586c:	7c 9b 23 78 	mr      r27,r4                                 
ffc05870:	93 81 00 28 	stw     r28,40(r1)                             
ffc05874:	7c 7c 1b 78 	mr      r28,r3                                 
ffc05878:	93 a1 00 2c 	stw     r29,44(r1)                             
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
ffc0587c:	3b a0 00 00 	li      r29,0                                  
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc05880:	90 01 00 3c 	stw     r0,60(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc05884:	4b ff fc 95 	bl      ffc05518 <scanString>                  
ffc05888:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0588c:	40 9e 00 2c 	bne-    cr7,ffc058b8 <scanpw+0x7c>             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
ffc05890:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc05894:	7f a3 eb 78 	mr      r3,r29                                 
ffc05898:	83 61 00 24 	lwz     r27,36(r1)                             
ffc0589c:	7c 08 03 a6 	mtlr    r0                                     
ffc058a0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc058a4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc058a8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc058ac:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc058b0:	38 21 00 38 	addi    r1,r1,56                               
ffc058b4:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
ffc058b8:	7f 83 e3 78 	mr      r3,r28                                 
ffc058bc:	38 9b 00 04 	addi    r4,r27,4                               
ffc058c0:	7f c5 f3 78 	mr      r5,r30                                 
ffc058c4:	7f e6 fb 78 	mr      r6,r31                                 
ffc058c8:	38 e0 00 00 	li      r7,0                                   
ffc058cc:	4b ff fc 4d 	bl      ffc05518 <scanString>                  
ffc058d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc058d4:	41 9e ff bc 	beq+    cr7,ffc05890 <scanpw+0x54>             <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
ffc058d8:	7f 83 e3 78 	mr      r3,r28                                 
ffc058dc:	38 81 00 08 	addi    r4,r1,8                                
ffc058e0:	4b ff fa ad 	bl      ffc0538c <scanInt>                     
ffc058e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc058e8:	41 9e ff a8 	beq+    cr7,ffc05890 <scanpw+0x54>             
   || !scanInt(fp, &pwgid)                                            
ffc058ec:	7f 83 e3 78 	mr      r3,r28                                 
ffc058f0:	38 81 00 0c 	addi    r4,r1,12                               
ffc058f4:	4b ff fa 99 	bl      ffc0538c <scanInt>                     
ffc058f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc058fc:	41 9e ff 94 	beq+    cr7,ffc05890 <scanpw+0x54>             
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
ffc05900:	7f 83 e3 78 	mr      r3,r28                                 
ffc05904:	38 9b 00 0c 	addi    r4,r27,12                              
ffc05908:	7f c5 f3 78 	mr      r5,r30                                 
ffc0590c:	7f e6 fb 78 	mr      r6,r31                                 
ffc05910:	38 e0 00 00 	li      r7,0                                   
ffc05914:	4b ff fc 05 	bl      ffc05518 <scanString>                  
ffc05918:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0591c:	41 9e ff 74 	beq+    cr7,ffc05890 <scanpw+0x54>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
ffc05920:	7f 83 e3 78 	mr      r3,r28                                 
ffc05924:	38 9b 00 10 	addi    r4,r27,16                              
ffc05928:	7f c5 f3 78 	mr      r5,r30                                 
ffc0592c:	7f e6 fb 78 	mr      r6,r31                                 
ffc05930:	38 e0 00 00 	li      r7,0                                   
ffc05934:	4b ff fb e5 	bl      ffc05518 <scanString>                  
ffc05938:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0593c:	41 9e ff 54 	beq+    cr7,ffc05890 <scanpw+0x54>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
ffc05940:	7f 83 e3 78 	mr      r3,r28                                 
ffc05944:	38 9b 00 14 	addi    r4,r27,20                              
ffc05948:	7f c5 f3 78 	mr      r5,r30                                 
ffc0594c:	7f e6 fb 78 	mr      r6,r31                                 
ffc05950:	38 e0 00 00 	li      r7,0                                   
ffc05954:	4b ff fb c5 	bl      ffc05518 <scanString>                  
ffc05958:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0595c:	41 9e ff 34 	beq+    cr7,ffc05890 <scanpw+0x54>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
ffc05960:	7f 83 e3 78 	mr      r3,r28                                 
ffc05964:	38 9b 00 18 	addi    r4,r27,24                              
ffc05968:	7f c5 f3 78 	mr      r5,r30                                 
ffc0596c:	7f e6 fb 78 	mr      r6,r31                                 
ffc05970:	38 e0 00 01 	li      r7,1                                   
ffc05974:	4b ff fb a5 	bl      ffc05518 <scanString>                  
ffc05978:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0597c:	41 be ff 14 	beq-    cr7,ffc05890 <scanpw+0x54>             
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc05980:	80 01 00 08 	lwz     r0,8(r1)                               
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
ffc05984:	3b a0 00 01 	li      r29,1                                  
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc05988:	b0 1b 00 08 	sth     r0,8(r27)                              
  pwd->pw_gid = pwgid;                                                
ffc0598c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05990:	b0 1b 00 0a 	sth     r0,10(r27)                             
  return 1;                                                           
ffc05994:	4b ff fe fc 	b       ffc05890 <scanpw+0x54>                 
                                                                      

ffc0989c <sched_get_priority_max>: int sched_get_priority_max( int policy ) { switch ( policy ) {
ffc0989c:	2b 83 00 04 	cmplwi  cr7,r3,4                               
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
ffc098a0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc098a4:	7c 08 02 a6 	mflr    r0                                     
ffc098a8:	90 01 00 0c 	stw     r0,12(r1)                              
  switch ( policy ) {                                                 
ffc098ac:	40 9d 00 24 	ble-    cr7,ffc098d0 <sched_get_priority_max+0x34>
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc098b0:	48 00 ae 21 	bl      ffc146d0 <__errno>                     
ffc098b4:	38 00 00 16 	li      r0,22                                  
ffc098b8:	90 03 00 00 	stw     r0,0(r3)                               
ffc098bc:	38 60 ff ff 	li      r3,-1                                  
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
}                                                                     
ffc098c0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc098c4:	38 21 00 08 	addi    r1,r1,8                                
ffc098c8:	7c 08 03 a6 	mtlr    r0                                     
ffc098cc:	4e 80 00 20 	blr                                            
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
ffc098d0:	38 00 00 01 	li      r0,1                                   
ffc098d4:	7c 03 18 30 	slw     r3,r0,r3                               
ffc098d8:	70 60 00 17 	andi.   r0,r3,23                               
ffc098dc:	41 a2 ff d4 	beq-    ffc098b0 <sched_get_priority_max+0x14> <== NEVER TAKEN
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
}                                                                     
ffc098e0:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
ffc098e4:	3d 20 00 00 	lis     r9,0                                   
ffc098e8:	88 69 27 14 	lbz     r3,10004(r9)                           
}                                                                     
ffc098ec:	38 21 00 08 	addi    r1,r1,8                                
ffc098f0:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
ffc098f4:	38 63 ff ff 	addi    r3,r3,-1                               
}                                                                     
ffc098f8:	4e 80 00 20 	blr                                            
                                                                      

ffc098fc <sched_get_priority_min>: int sched_get_priority_min( int policy ) { switch ( policy ) {
ffc098fc:	2b 83 00 04 	cmplwi  cr7,r3,4                               
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
ffc09900:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc09904:	7c 08 02 a6 	mflr    r0                                     
ffc09908:	90 01 00 0c 	stw     r0,12(r1)                              
  switch ( policy ) {                                                 
ffc0990c:	40 9d 00 24 	ble-    cr7,ffc09930 <sched_get_priority_min+0x34>
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc09910:	48 00 ad c1 	bl      ffc146d0 <__errno>                     
ffc09914:	38 00 00 16 	li      r0,22                                  
ffc09918:	90 03 00 00 	stw     r0,0(r3)                               
ffc0991c:	38 60 ff ff 	li      r3,-1                                  
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
ffc09920:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc09924:	38 21 00 08 	addi    r1,r1,8                                
ffc09928:	7c 08 03 a6 	mtlr    r0                                     
ffc0992c:	4e 80 00 20 	blr                                            
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
ffc09930:	38 00 00 01 	li      r0,1                                   
ffc09934:	7c 03 18 30 	slw     r3,r0,r3                               
ffc09938:	70 60 00 17 	andi.   r0,r3,23                               
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
ffc0993c:	38 60 00 01 	li      r3,1                                   
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
ffc09940:	41 a2 ff d0 	beq-    ffc09910 <sched_get_priority_min+0x14> <== NEVER TAKEN
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
ffc09944:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc09948:	38 21 00 08 	addi    r1,r1,8                                
ffc0994c:	7c 08 03 a6 	mtlr    r0                                     
ffc09950:	4e 80 00 20 	blr                                            
                                                                      

ffc09954 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
ffc09954:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09958:	7c 08 02 a6 	mflr    r0                                     
ffc0995c:	93 e1 00 14 	stw     r31,20(r1)                             
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
ffc09960:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
int sched_rr_get_interval(                                            
  pid_t             pid,                                              
  struct timespec  *interval                                          
)                                                                     
{                                                                     
ffc09964:	90 01 00 1c 	stw     r0,28(r1)                              
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
ffc09968:	40 82 00 30 	bne-    ffc09998 <sched_rr_get_interval+0x44>  <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
ffc0996c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc09970:	41 9e 00 50 	beq-    cr7,ffc099c0 <sched_rr_get_interval+0x6c>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
ffc09974:	3d 20 00 00 	lis     r9,0                                   
ffc09978:	80 69 27 ec 	lwz     r3,10220(r9)                           
ffc0997c:	48 00 49 c5 	bl      ffc0e340 <_Timespec_From_ticks>        
  return 0;                                                           
ffc09980:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc09984:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09988:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0998c:	38 21 00 18 	addi    r1,r1,24                               
ffc09990:	7c 08 03 a6 	mtlr    r0                                     
ffc09994:	4e 80 00 20 	blr                                            
{                                                                     
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
ffc09998:	90 81 00 08 	stw     r4,8(r1)                               
ffc0999c:	4b ff bb a1 	bl      ffc0553c <getpid>                      
ffc099a0:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc099a4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc099a8:	41 9e ff c4 	beq+    cr7,ffc0996c <sched_rr_get_interval+0x18>
    rtems_set_errno_and_return_minus_one( ESRCH );                    
ffc099ac:	48 00 ad 25 	bl      ffc146d0 <__errno>                     
ffc099b0:	38 00 00 03 	li      r0,3                                   
ffc099b4:	90 03 00 00 	stw     r0,0(r3)                               
ffc099b8:	38 60 ff ff 	li      r3,-1                                  
ffc099bc:	4b ff ff c8 	b       ffc09984 <sched_rr_get_interval+0x30>  
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc099c0:	48 00 ad 11 	bl      ffc146d0 <__errno>                     
ffc099c4:	38 00 00 16 	li      r0,22                                  
ffc099c8:	90 03 00 00 	stw     r0,0(r3)                               
ffc099cc:	38 60 ff ff 	li      r3,-1                                  
ffc099d0:	4b ff ff b4 	b       ffc09984 <sched_rr_get_interval+0x30>  
                                                                      

ffc0c1b0 <sem_open>: rtems_fatal_error_occurred( 99 ); } } #endif _Thread_Dispatch_disable_level += 1;
ffc0c1b0:	3d 20 00 00 	lis     r9,0                                   
  int         oflag,                                                  
  ...                                                                 
  /* mode_t mode, */                                                  
  /* unsigned int value */                                            
)                                                                     
{                                                                     
ffc0c1b4:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0c1b8:	7c 08 02 a6 	mflr    r0                                     
ffc0c1bc:	81 69 27 e8 	lwz     r11,10216(r9)                          
ffc0c1c0:	7d 80 00 26 	mfcr    r12                                    
ffc0c1c4:	93 c1 00 40 	stw     r30,64(r1)                             
ffc0c1c8:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c1cc:	39 6b 00 01 	addi    r11,r11,1                              
ffc0c1d0:	93 e1 00 44 	stw     r31,68(r1)                             
ffc0c1d4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c1d8:	90 01 00 4c 	stw     r0,76(r1)                              
ffc0c1dc:	93 81 00 38 	stw     r28,56(r1)                             
ffc0c1e0:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc0c1e4:	91 81 00 34 	stw     r12,52(r1)                             
ffc0c1e8:	90 a1 00 28 	stw     r5,40(r1)                              
ffc0c1ec:	90 c1 00 2c 	stw     r6,44(r1)                              
ffc0c1f0:	91 69 27 e8 	stw     r11,10216(r9)                          
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
ffc0c1f4:	54 80 bf fe 	rlwinm  r0,r4,23,31,31                         
ffc0c1f8:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc0c1fc:	40 92 00 c8 	bne-    cr4,ffc0c2c4 <sem_open+0x114>          
  /* unsigned int value */                                            
)                                                                     
{                                                                     
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
ffc0c200:	3b a0 00 00 	li      r29,0                                  
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
ffc0c204:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c208:	38 81 00 08 	addi    r4,r1,8                                
ffc0c20c:	48 00 83 41 	bl      ffc1454c <_POSIX_Semaphore_Name_to_id> 
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
ffc0c210:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0c214:	41 82 00 48 	beq-    ffc0c25c <sem_open+0xac>               
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
ffc0c218:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc0c21c:	40 9e 00 08 	bne-    cr7,ffc0c224 <sem_open+0x74>           <== NEVER TAKEN
ffc0c220:	40 92 00 c4 	bne-    cr4,ffc0c2e4 <sem_open+0x134>          
      _Thread_Enable_dispatch();                                      
ffc0c224:	48 00 3b 75 	bl      ffc0fd98 <_Thread_Enable_dispatch>     
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
ffc0c228:	48 00 bf bd 	bl      ffc181e4 <__errno>                     
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
ffc0c22c:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc0c230:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0c234:	7c 08 03 a6 	mtlr    r0                                     
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
ffc0c238:	93 83 00 00 	stw     r28,0(r3)                              
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
ffc0c23c:	7d 80 81 20 	mtcrf   8,r12                                  
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
ffc0c240:	38 60 ff ff 	li      r3,-1                                  
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
ffc0c244:	83 81 00 38 	lwz     r28,56(r1)                             
ffc0c248:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc0c24c:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc0c250:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc0c254:	38 21 00 48 	addi    r1,r1,72                               
ffc0c258:	4e 80 00 20 	blr                                            
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
ffc0c25c:	73 de 0a 00 	andi.   r30,r30,2560                           
ffc0c260:	2f 9e 0a 00 	cmpwi   cr7,r30,2560                           
ffc0c264:	41 9e 00 ac 	beq-    cr7,ffc0c310 <sem_open+0x160>          
ffc0c268:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0c26c:	3c 60 00 00 	lis     r3,0                                   
ffc0c270:	38 a1 00 10 	addi    r5,r1,16                               
ffc0c274:	38 63 30 ac 	addi    r3,r3,12460                            
ffc0c278:	48 00 2b 49 	bl      ffc0edc0 <_Objects_Get>                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
ffc0c27c:	81 23 00 18 	lwz     r9,24(r3)                              
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
ffc0c280:	90 61 00 0c 	stw     r3,12(r1)                              
    the_semaphore->open_count += 1;                                   
ffc0c284:	38 09 00 01 	addi    r0,r9,1                                
ffc0c288:	90 03 00 18 	stw     r0,24(r3)                              
    _Thread_Enable_dispatch();                                        
ffc0c28c:	48 00 3b 0d 	bl      ffc0fd98 <_Thread_Enable_dispatch>     
    _Thread_Enable_dispatch();                                        
ffc0c290:	48 00 3b 09 	bl      ffc0fd98 <_Thread_Enable_dispatch>     
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
ffc0c294:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0c298:	38 63 00 08 	addi    r3,r3,8                                
  #endif                                                              
  return id;                                                          
}                                                                     
ffc0c29c:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc0c2a0:	81 81 00 34 	lwz     r12,52(r1)                             
ffc0c2a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0c2a8:	83 81 00 38 	lwz     r28,56(r1)                             
ffc0c2ac:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc0c2b0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0c2b4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc0c2b8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc0c2bc:	38 21 00 48 	addi    r1,r1,72                               
ffc0c2c0:	4e 80 00 20 	blr                                            
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
ffc0c2c4:	38 01 00 50 	addi    r0,r1,80                               
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
ffc0c2c8:	83 a1 00 2c 	lwz     r29,44(r1)                             
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
ffc0c2cc:	90 01 00 18 	stw     r0,24(r1)                              
ffc0c2d0:	38 01 00 20 	addi    r0,r1,32                               
ffc0c2d4:	90 01 00 1c 	stw     r0,28(r1)                              
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
ffc0c2d8:	38 00 00 04 	li      r0,4                                   
ffc0c2dc:	98 01 00 14 	stb     r0,20(r1)                              
ffc0c2e0:	4b ff ff 24 	b       ffc0c204 <sem_open+0x54>               
  /*                                                                  
   *  At this point, the semaphore does not exist and everything has been
   *  checked. We should go ahead and create a semaphore.             
   */                                                                 
                                                                      
  status =_POSIX_Semaphore_Create_support(                            
ffc0c2e4:	38 80 00 00 	li      r4,0                                   
ffc0c2e8:	7f a5 eb 78 	mr      r5,r29                                 
ffc0c2ec:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0c2f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c2f4:	48 00 80 71 	bl      ffc14364 <_POSIX_Semaphore_Create_support>
ffc0c2f8:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0c2fc:	48 00 3a 9d 	bl      ffc0fd98 <_Thread_Enable_dispatch>     
                                                                      
  if ( status == -1 )                                                 
ffc0c300:	2f 9f ff ff 	cmpwi   cr7,r31,-1                             
    return SEM_FAILED;                                                
ffc0c304:	38 60 ff ff 	li      r3,-1                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( status == -1 )                                                 
ffc0c308:	40 9e ff 8c 	bne+    cr7,ffc0c294 <sem_open+0xe4>           
ffc0c30c:	4b ff ff 90 	b       ffc0c29c <sem_open+0xec>               
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
ffc0c310:	48 00 3a 89 	bl      ffc0fd98 <_Thread_Enable_dispatch>     
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
ffc0c314:	48 00 be d1 	bl      ffc181e4 <__errno>                     
ffc0c318:	38 00 00 11 	li      r0,17                                  
ffc0c31c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c320:	38 60 ff ff 	li      r3,-1                                  
ffc0c324:	4b ff ff 78 	b       ffc0c29c <sem_open+0xec>               
                                                                      

ffc0c39c <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
ffc0c39c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c3a0:	7c 08 02 a6 	mflr    r0                                     
ffc0c3a4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0c3a8:	7c 7f 1b 78 	mr      r31,r3                                 
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0c3ac:	7c 83 23 78 	mr      r3,r4                                  
ffc0c3b0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
int sem_timedwait(                                                    
  sem_t                 *sem,                                         
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
ffc0c3b4:	90 01 00 24 	stw     r0,36(r1)                              
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
ffc0c3b8:	48 00 72 dd 	bl      ffc13694 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
ffc0c3bc:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc0c3c0:	41 9e 00 28 	beq-    cr7,ffc0c3e8 <sem_timedwait+0x4c>      <== ALWAYS TAKEN
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
ffc0c3c4:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc0c3c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0c3cc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc0c3d0:	48 00 82 41 	bl      ffc14610 <_POSIX_Semaphore_Wait_support><== NOT EXECUTED
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
ffc0c3d4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc0c3d8:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc0c3dc:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc0c3e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0c3e4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
ffc0c3e8:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc0c3ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c3f0:	38 80 00 01 	li      r4,1                                   
ffc0c3f4:	48 00 82 1d 	bl      ffc14610 <_POSIX_Semaphore_Wait_support>
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
ffc0c3f8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0c3fc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0c400:	38 21 00 20 	addi    r1,r1,32                               
ffc0c404:	7c 08 03 a6 	mtlr    r0                                     
ffc0c408:	4e 80 00 20 	blr                                            
                                                                      

ffc097a0 <sigaction>: struct sigaction *oact ) { ISR_Level level; if ( oact )
ffc097a0:	2c 05 00 00 	cmpwi   r5,0                                   
int sigaction(                                                        
  int                     sig,                                        
  const struct sigaction *act,                                        
  struct sigaction       *oact                                        
)                                                                     
{                                                                     
ffc097a4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc097a8:	7c 08 02 a6 	mflr    r0                                     
ffc097ac:	93 c1 00 10 	stw     r30,16(r1)                             
ffc097b0:	7c 9e 23 78 	mr      r30,r4                                 
ffc097b4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc097b8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc097bc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc097c0:	93 a1 00 0c 	stw     r29,12(r1)                             
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
ffc097c4:	41 82 00 2c 	beq-    ffc097f0 <sigaction+0x50>              
    *oact = _POSIX_signals_Vectors[ sig ];                            
ffc097c8:	1c 03 00 0c 	mulli   r0,r3,12                               
ffc097cc:	3d 60 00 00 	lis     r11,0                                  
ffc097d0:	39 6b 31 c0 	addi    r11,r11,12736                          
ffc097d4:	7d 2b 02 14 	add     r9,r11,r0                              
ffc097d8:	7d 4b 00 2e 	lwzx    r10,r11,r0                             
ffc097dc:	81 69 00 04 	lwz     r11,4(r9)                              
ffc097e0:	80 09 00 08 	lwz     r0,8(r9)                               
ffc097e4:	91 45 00 00 	stw     r10,0(r5)                              
ffc097e8:	91 65 00 04 	stw     r11,4(r5)                              
ffc097ec:	90 05 00 08 	stw     r0,8(r5)                               
                                                                      
  if ( !sig )                                                         
ffc097f0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc097f4:	41 9e 00 cc 	beq-    cr7,ffc098c0 <sigaction+0x120>         
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
ffc097f8:	38 1f ff ff 	addi    r0,r31,-1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
ffc097fc:	2b 80 00 1f 	cmplwi  cr7,r0,31                              
ffc09800:	41 9d 00 c0 	bgt-    cr7,ffc098c0 <sigaction+0x120>         
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
ffc09804:	2f 9f 00 09 	cmpwi   cr7,r31,9                              
ffc09808:	41 9e 00 b8 	beq-    cr7,ffc098c0 <sigaction+0x120>         
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
ffc0980c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
ffc09810:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
ffc09814:	41 9e 00 58 	beq-    cr7,ffc0986c <sigaction+0xcc>          <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc09818:	7f a0 00 a6 	mfmsr   r29                                    
ffc0981c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc09820:	7f a0 00 78 	andc    r0,r29,r0                              
ffc09824:	7c 00 01 24 	mtmsr   r0                                     
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
ffc09828:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc0982c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09830:	41 9e 00 58 	beq-    cr7,ffc09888 <sigaction+0xe8>          
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
ffc09834:	7f e3 fb 78 	mr      r3,r31                                 
ffc09838:	48 00 77 2d 	bl      ffc10f64 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
ffc0983c:	1f ff 00 0c 	mulli   r31,r31,12                             
ffc09840:	81 1e 00 00 	lwz     r8,0(r30)                              
ffc09844:	3d 60 00 00 	lis     r11,0                                  
ffc09848:	81 5e 00 04 	lwz     r10,4(r30)                             
ffc0984c:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc09850:	39 6b 31 c0 	addi    r11,r11,12736                          
ffc09854:	7d 2b fa 14 	add     r9,r11,r31                             
ffc09858:	7d 0b f9 2e 	stwx    r8,r11,r31                             
ffc0985c:	91 49 00 04 	stw     r10,4(r9)                              
ffc09860:	90 09 00 08 	stw     r0,8(r9)                               
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc09864:	7f a0 01 24 	mtmsr   r29                                    
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
ffc09868:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0986c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09870:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc09874:	7c 08 03 a6 	mtlr    r0                                     
ffc09878:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0987c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09880:	38 21 00 18 	addi    r1,r1,24                               
ffc09884:	4e 80 00 20 	blr                                            
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
ffc09888:	1f ff 00 0c 	mulli   r31,r31,12                             
ffc0988c:	3d 40 ff c2 	lis     r10,-62                                
ffc09890:	39 4a 3a a4 	addi    r10,r10,15012                          
ffc09894:	7d 2a fa 14 	add     r9,r10,r31                             
ffc09898:	7d 0a f8 2e 	lwzx    r8,r10,r31                             
ffc0989c:	3d 60 00 00 	lis     r11,0                                  
ffc098a0:	81 49 00 04 	lwz     r10,4(r9)                              
ffc098a4:	39 6b 31 c0 	addi    r11,r11,12736                          
ffc098a8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc098ac:	7d 2b fa 14 	add     r9,r11,r31                             
ffc098b0:	7d 0b f9 2e 	stwx    r8,r11,r31                             
ffc098b4:	91 49 00 04 	stw     r10,4(r9)                              
ffc098b8:	90 09 00 08 	stw     r0,8(r9)                               
ffc098bc:	4b ff ff a8 	b       ffc09864 <sigaction+0xc4>              
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc098c0:	48 00 b3 7d 	bl      ffc14c3c <__errno>                     
ffc098c4:	38 00 00 16 	li      r0,22                                  
ffc098c8:	90 03 00 00 	stw     r0,0(r3)                               
ffc098cc:	38 60 ff ff 	li      r3,-1                                  
ffc098d0:	4b ff ff 9c 	b       ffc0986c <sigaction+0xcc>              
                                                                      

ffc09d54 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
ffc09d54:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc09d58:	7c 08 02 a6 	mflr    r0                                     
ffc09d5c:	93 a1 00 24 	stw     r29,36(r1)                             
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
ffc09d60:	7c 7d 1b 79 	mr.     r29,r3                                 
int sigtimedwait(                                                     
  const sigset_t         *set,                                        
  siginfo_t              *info,                                       
  const struct timespec  *timeout                                     
)                                                                     
{                                                                     
ffc09d64:	93 c1 00 28 	stw     r30,40(r1)                             
ffc09d68:	7c be 2b 78 	mr      r30,r5                                 
ffc09d6c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc09d70:	7c 9f 23 78 	mr      r31,r4                                 
ffc09d74:	90 01 00 34 	stw     r0,52(r1)                              
ffc09d78:	93 41 00 18 	stw     r26,24(r1)                             
ffc09d7c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc09d80:	93 81 00 20 	stw     r28,32(r1)                             
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
ffc09d84:	41 82 02 48 	beq-    ffc09fcc <sigtimedwait+0x278>          
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
ffc09d88:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09d8c:	41 9e 01 9c 	beq-    cr7,ffc09f28 <sigtimedwait+0x1d4>      
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
ffc09d90:	7c a3 2b 78 	mr      r3,r5                                  
ffc09d94:	48 00 4a 95 	bl      ffc0e828 <_Timespec_Is_valid>          
ffc09d98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09d9c:	41 9e 02 30 	beq-    cr7,ffc09fcc <sigtimedwait+0x278>      
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
ffc09da0:	7f c3 f3 78 	mr      r3,r30                                 
ffc09da4:	48 00 4b 15 	bl      ffc0e8b8 <_Timespec_To_ticks>          
                                                                      
    if ( !interval )                                                  
ffc09da8:	7c 64 1b 79 	mr.     r4,r3                                  
ffc09dac:	41 82 02 20 	beq-    ffc09fcc <sigtimedwait+0x278>          <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
ffc09db0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc09db4:	41 9e 01 80 	beq-    cr7,ffc09f34 <sigtimedwait+0x1e0>      <== NEVER TAKEN
                                                                      
  the_thread = _Thread_Executing;                                     
ffc09db8:	3f 80 00 00 	lis     r28,0                                  
ffc09dbc:	3b 9c 31 64 	addi    r28,r28,12644                          
ffc09dc0:	81 3c 00 0c 	lwz     r9,12(r28)                             
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc09dc4:	83 49 01 34 	lwz     r26,308(r9)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc09dc8:	7f 60 00 a6 	mfmsr   r27                                    
ffc09dcc:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc09dd0:	7f 60 00 78 	andc    r0,r27,r0                              
ffc09dd4:	7c 00 01 24 	mtmsr   r0                                     
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
ffc09dd8:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc09ddc:	80 7a 00 d4 	lwz     r3,212(r26)                            
ffc09de0:	7c 0b 18 39 	and.    r11,r0,r3                              
ffc09de4:	40 82 01 84 	bne-    ffc09f68 <sigtimedwait+0x214>          
    return the_info->si_signo;                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
ffc09de8:	3d 60 00 00 	lis     r11,0                                  
ffc09dec:	80 6b 28 84 	lwz     r3,10372(r11)                          
ffc09df0:	7c 0b 18 39 	and.    r11,r0,r3                              
ffc09df4:	40 82 00 d0 	bne-    ffc09ec4 <sigtimedwait+0x170>          
ffc09df8:	3d 60 00 00 	lis     r11,0                                  
ffc09dfc:	81 4b 28 38 	lwz     r10,10296(r11)                         
ffc09e00:	38 0a 00 01 	addi    r0,r10,1                               
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
ffc09e04:	39 40 ff ff 	li      r10,-1                                 
ffc09e08:	91 5f 00 00 	stw     r10,0(r31)                             
ffc09e0c:	90 0b 28 38 	stw     r0,10296(r11)                          
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
ffc09e10:	38 00 00 04 	li      r0,4                                   
ffc09e14:	90 09 00 34 	stw     r0,52(r9)                              
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
ffc09e18:	3d 60 00 00 	lis     r11,0                                  
ffc09e1c:	39 6b 33 4c 	addi    r11,r11,13132                          
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
ffc09e20:	80 1d 00 00 	lwz     r0,0(r29)                              
    the_thread->Wait.return_argument = the_info;                      
ffc09e24:	93 e9 00 28 	stw     r31,40(r9)                             
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
ffc09e28:	90 09 00 30 	stw     r0,48(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;
ffc09e2c:	38 00 00 01 	li      r0,1                                   
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
ffc09e30:	91 69 00 44 	stw     r11,68(r9)                             
ffc09e34:	90 0b 00 30 	stw     r0,48(r11)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc09e38:	7f 60 01 24 	mtmsr   r27                                    
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
    the_thread->Wait.return_argument = the_info;                      
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
ffc09e3c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e40:	3c 60 00 00 	lis     r3,0                                   
ffc09e44:	38 a5 e3 04 	addi    r5,r5,-7420                            
ffc09e48:	38 63 33 4c 	addi    r3,r3,13132                            
ffc09e4c:	48 00 40 49 	bl      ffc0de94 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
ffc09e50:	48 00 39 c5 	bl      ffc0d814 <_Thread_Enable_dispatch>     
  /*                                                                  
   * When the thread is set free by a signal, it is need to eliminate 
   * the signal.                                                      
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
ffc09e54:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc09e58:	7f 43 d3 78 	mr      r3,r26                                 
ffc09e5c:	7f e5 fb 78 	mr      r5,r31                                 
ffc09e60:	38 c0 00 00 	li      r6,0                                   
ffc09e64:	38 e0 00 00 	li      r7,0                                   
ffc09e68:	48 00 7a 35 	bl      ffc1189c <_POSIX_signals_Clear_signals>
  /* Set errno only if return code is not EINTR or                    
   * if EINTR was caused by a signal being caught, which              
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
ffc09e6c:	81 3c 00 0c 	lwz     r9,12(r28)                             
ffc09e70:	80 09 00 34 	lwz     r0,52(r9)                              
ffc09e74:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc09e78:	40 9e 01 68 	bne-    cr7,ffc09fe0 <sigtimedwait+0x28c>      
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
ffc09e7c:	83 df 00 00 	lwz     r30,0(r31)                             
ffc09e80:	39 60 00 01 	li      r11,1                                  
ffc09e84:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc09e88:	39 3e ff ff 	addi    r9,r30,-1                              
ffc09e8c:	7d 69 48 30 	slw     r9,r11,r9                              
ffc09e90:	7d 2b 00 39 	and.    r11,r9,r0                              
ffc09e94:	41 82 01 4c 	beq-    ffc09fe0 <sigtimedwait+0x28c>          
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
ffc09e98:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09e9c:	7f c3 f3 78 	mr      r3,r30                                 
ffc09ea0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc09ea4:	7c 08 03 a6 	mtlr    r0                                     
ffc09ea8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09eac:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09eb0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09eb4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09eb8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09ebc:	38 21 00 30 	addi    r1,r1,48                               
ffc09ec0:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
ffc09ec4:	4b ff fe 35 	bl      ffc09cf8 <_POSIX_signals_Get_lowest>   
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
ffc09ec8:	7f e5 fb 78 	mr      r5,r31                                 
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
ffc09ecc:	7c 7e 1b 78 	mr      r30,r3                                 
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
ffc09ed0:	7f c4 f3 78 	mr      r4,r30                                 
ffc09ed4:	7f 43 d3 78 	mr      r3,r26                                 
ffc09ed8:	38 c0 00 01 	li      r6,1                                   
ffc09edc:	38 e0 00 00 	li      r7,0                                   
ffc09ee0:	48 00 79 bd 	bl      ffc1189c <_POSIX_signals_Clear_signals>
ffc09ee4:	7f 60 01 24 	mtmsr   r27                                    
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
ffc09ee8:	38 00 00 01 	li      r0,1                                   
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
ffc09eec:	93 df 00 00 	stw     r30,0(r31)                             
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
ffc09ef0:	7f c3 f3 78 	mr      r3,r30                                 
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
ffc09ef4:	90 1f 00 04 	stw     r0,4(r31)                              
    the_info->si_value.sival_int = 0;                                 
ffc09ef8:	38 00 00 00 	li      r0,0                                   
ffc09efc:	90 1f 00 08 	stw     r0,8(r31)                              
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
ffc09f00:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09f04:	83 41 00 18 	lwz     r26,24(r1)                             
ffc09f08:	7c 08 03 a6 	mtlr    r0                                     
ffc09f0c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09f10:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09f14:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09f18:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09f1c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09f20:	38 21 00 30 	addi    r1,r1,48                               
ffc09f24:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
ffc09f28:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
ffc09f2c:	38 80 00 00 	li      r4,0                                   
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
ffc09f30:	40 9e fe 88 	bne+    cr7,ffc09db8 <sigtimedwait+0x64>       
                                                                      
  the_thread = _Thread_Executing;                                     
ffc09f34:	3f 80 00 00 	lis     r28,0                                  
ffc09f38:	3b 9c 31 64 	addi    r28,r28,12644                          
ffc09f3c:	81 3c 00 0c 	lwz     r9,12(r28)                             
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
ffc09f40:	3b e1 00 08 	addi    r31,r1,8                               
                                                                      
  the_thread = _Thread_Executing;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
ffc09f44:	83 49 01 34 	lwz     r26,308(r9)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  asm volatile (                                                      
ffc09f48:	7f 60 00 a6 	mfmsr   r27                                    
ffc09f4c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc09f50:	7f 60 00 78 	andc    r0,r27,r0                              
ffc09f54:	7c 00 01 24 	mtmsr   r0                                     
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
ffc09f58:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc09f5c:	80 7a 00 d4 	lwz     r3,212(r26)                            
ffc09f60:	7c 0b 18 39 	and.    r11,r0,r3                              
ffc09f64:	41 82 fe 84 	beq+    ffc09de8 <sigtimedwait+0x94>           
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
ffc09f68:	4b ff fd 91 	bl      ffc09cf8 <_POSIX_signals_Get_lowest>   
    _POSIX_signals_Clear_signals(                                     
ffc09f6c:	7f e5 fb 78 	mr      r5,r31                                 
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
ffc09f70:	90 7f 00 00 	stw     r3,0(r31)                              
ffc09f74:	7c 64 1b 78 	mr      r4,r3                                  
    _POSIX_signals_Clear_signals(                                     
ffc09f78:	38 c0 00 00 	li      r6,0                                   
ffc09f7c:	7f 43 d3 78 	mr      r3,r26                                 
ffc09f80:	38 e0 00 00 	li      r7,0                                   
ffc09f84:	48 00 79 19 	bl      ffc1189c <_POSIX_signals_Clear_signals>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  asm volatile (                                                      
ffc09f88:	7f 60 01 24 	mtmsr   r27                                    
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
ffc09f8c:	38 00 00 01 	li      r0,1                                   
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
ffc09f90:	83 df 00 00 	lwz     r30,0(r31)                             
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
ffc09f94:	90 1f 00 04 	stw     r0,4(r31)                              
    the_info->si_value.sival_int = 0;                                 
ffc09f98:	38 00 00 00 	li      r0,0                                   
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
ffc09f9c:	7f c3 f3 78 	mr      r3,r30                                 
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
ffc09fa0:	90 1f 00 08 	stw     r0,8(r31)                              
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
ffc09fa4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09fa8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc09fac:	7c 08 03 a6 	mtlr    r0                                     
ffc09fb0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc09fb4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc09fb8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc09fbc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09fc0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09fc4:	38 21 00 30 	addi    r1,r1,48                               
ffc09fc8:	4e 80 00 20 	blr                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
                                                                      
    if ( !interval )                                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc09fcc:	48 00 b4 b9 	bl      ffc15484 <__errno>                     
ffc09fd0:	38 00 00 16 	li      r0,22                                  
ffc09fd4:	90 03 00 00 	stw     r0,0(r3)                               
ffc09fd8:	3b c0 ff ff 	li      r30,-1                                 
ffc09fdc:	4b ff fe bc 	b       ffc09e98 <sigtimedwait+0x144>          
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
    errno = _Thread_Executing->Wait.return_code;                      
ffc09fe0:	48 00 b4 a5 	bl      ffc15484 <__errno>                     
ffc09fe4:	81 3c 00 0c 	lwz     r9,12(r28)                             
    return -1;                                                        
ffc09fe8:	3b c0 ff ff 	li      r30,-1                                 
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
    errno = _Thread_Executing->Wait.return_code;                      
ffc09fec:	80 09 00 34 	lwz     r0,52(r9)                              
ffc09ff0:	90 03 00 00 	stw     r0,0(r3)                               
    return -1;                                                        
ffc09ff4:	4b ff fe a4 	b       ffc09e98 <sigtimedwait+0x144>          
                                                                      

ffc0c330 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
ffc0c330:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c334:	7c 08 02 a6 	mflr    r0                                     
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
ffc0c338:	38 a0 00 00 	li      r5,0                                   
                                                                      
int sigwait(                                                          
  const sigset_t  *set,                                               
  int             *sig                                                
)                                                                     
{                                                                     
ffc0c33c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c340:	7c 9f 23 78 	mr      r31,r4                                 
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
ffc0c344:	38 80 00 00 	li      r4,0                                   
                                                                      
int sigwait(                                                          
  const sigset_t  *set,                                               
  int             *sig                                                
)                                                                     
{                                                                     
ffc0c348:	90 01 00 14 	stw     r0,20(r1)                              
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
ffc0c34c:	4b ff fd 1d 	bl      ffc0c068 <sigtimedwait>                
                                                                      
  if ( status != -1 ) {                                               
ffc0c350:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  int             *sig                                                
)                                                                     
{                                                                     
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
ffc0c354:	7c 60 1b 78 	mr      r0,r3                                  
                                                                      
  if ( status != -1 ) {                                               
ffc0c358:	41 9e 00 28 	beq-    cr7,ffc0c380 <sigwait+0x50>            
    if ( sig )                                                        
ffc0c35c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
      *sig = status;                                                  
    return 0;                                                         
ffc0c360:	38 60 00 00 	li      r3,0                                   
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
ffc0c364:	41 9e 00 08 	beq-    cr7,ffc0c36c <sigwait+0x3c>            <== NEVER TAKEN
      *sig = status;                                                  
ffc0c368:	90 1f 00 00 	stw     r0,0(r31)                              
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
ffc0c36c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c370:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c374:	38 21 00 10 	addi    r1,r1,16                               
ffc0c378:	7c 08 03 a6 	mtlr    r0                                     
ffc0c37c:	4e 80 00 20 	blr                                            
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
ffc0c380:	48 00 af d9 	bl      ffc17358 <__errno>                     
}                                                                     
ffc0c384:	80 01 00 14 	lwz     r0,20(r1)                              
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
ffc0c388:	80 63 00 00 	lwz     r3,0(r3)                               
}                                                                     
ffc0c38c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c390:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c394:	38 21 00 10 	addi    r1,r1,16                               
ffc0c398:	4e 80 00 20 	blr                                            
                                                                      

ffc071a0 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc071a0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc071a4:	7c 08 02 a6 	mflr    r0                                     
ffc071a8:	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)) {
ffc071ac:	80 04 00 3c 	lwz     r0,60(r4)                              
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc071b0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc071b4:	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)) {
ffc071b8:	70 09 0e 78 	andi.   r9,r0,3704                             
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc071bc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc071c0:	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)) {
ffc071c4:	40 82 00 1c 	bne-    ffc071e0 <siproc+0x40>                 <== ALWAYS TAKEN
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc071c8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc071cc:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc071d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc071d4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc071d8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
ffc071dc:	4b ff fd d8 	b       ffc06fb4 <iproc>                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
ffc071e0:	80 64 00 18 	lwz     r3,24(r4)                              
ffc071e4:	38 a0 00 00 	li      r5,0                                   
ffc071e8:	38 80 00 00 	li      r4,0                                   
ffc071ec:	48 00 1a c5 	bl      ffc08cb0 <rtems_semaphore_obtain>      
    i = iproc (c, tty);                                               
ffc071f0:	7f e4 fb 78 	mr      r4,r31                                 
ffc071f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc071f8:	4b ff fd bd 	bl      ffc06fb4 <iproc>                       
ffc071fc:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc07200:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc07204:	48 00 1c 35 	bl      ffc08e38 <rtems_semaphore_release>     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc07208:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0720c:	7f c3 f3 78 	mr      r3,r30                                 
ffc07210:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc07214:	7c 08 03 a6 	mtlr    r0                                     
ffc07218:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0721c:	38 21 00 10 	addi    r1,r1,16                               
ffc07220:	4e 80 00 20 	blr                                            
                                                                      

ffc08e54 <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
ffc08e54:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc08e58:	7c 08 02 a6 	mflr    r0                                     
ffc08e5c:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc08e60:	7c 7d 1b 78 	mr      r29,r3                                 
ffc08e64:	90 01 00 3c 	stw     r0,60(r1)                              
ffc08e68:	93 c1 00 30 	stw     r30,48(r1)                             
ffc08e6c:	7c 9e 23 78 	mr      r30,r4                                 
ffc08e70:	93 e1 00 34 	stw     r31,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 ) )
ffc08e74:	48 01 01 39 	bl      ffc18fac <strlen>                      
ffc08e78:	3b e1 00 08 	addi    r31,r1,8                               
ffc08e7c:	7c 64 1b 78 	mr      r4,r3                                  
ffc08e80:	38 a0 00 00 	li      r5,0                                   
ffc08e84:	7f a3 eb 78 	mr      r3,r29                                 
ffc08e88:	7f e6 fb 78 	mr      r6,r31                                 
ffc08e8c:	38 e0 00 01 	li      r7,1                                   
ffc08e90:	4b ff e5 75 	bl      ffc07404 <rtems_filesystem_evaluate_path>
    return -1;                                                        
ffc08e94:	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 ) )
ffc08e98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e9c:	40 be 00 3c 	bne+    cr7,ffc08ed8 <statvfs+0x84>            <== NEVER TAKEN
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
ffc08ea0:	83 a1 00 18 	lwz     r29,24(r1)                             
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
ffc08ea4:	38 80 00 00 	li      r4,0                                   
ffc08ea8:	38 a0 00 38 	li      r5,56                                  
ffc08eac:	7f c3 f3 78 	mr      r3,r30                                 
ffc08eb0:	48 00 ef 15 	bl      ffc17dc4 <memset>                      
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
ffc08eb4:	81 3d 00 28 	lwz     r9,40(r29)                             
ffc08eb8:	38 7d 00 1c 	addi    r3,r29,28                              
ffc08ebc:	80 09 00 44 	lwz     r0,68(r9)                              
ffc08ec0:	7f c4 f3 78 	mr      r4,r30                                 
ffc08ec4:	7c 09 03 a6 	mtctr   r0                                     
ffc08ec8:	4e 80 04 21 	bctrl                                          
ffc08ecc:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc08ed0:	7f e3 fb 78 	mr      r3,r31                                 
ffc08ed4:	4b ff e6 8d 	bl      ffc07560 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc08ed8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc08edc:	7f a3 eb 78 	mr      r3,r29                                 
ffc08ee0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc08ee4:	7c 08 03 a6 	mtlr    r0                                     
ffc08ee8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc08eec:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc08ef0:	38 21 00 38 	addi    r1,r1,56                               
ffc08ef4:	4e 80 00 20 	blr                                            
                                                                      

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

ffc082b8 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
ffc082b8:	2c 04 00 00 	cmpwi   r4,0                                   
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
ffc082bc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc082c0:	7c 08 02 a6 	mflr    r0                                     
ffc082c4:	93 c1 00 08 	stw     r30,8(r1)                              
ffc082c8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc082cc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc082d0:	7c bf 2b 78 	mr      r31,r5                                 
ffc082d4:	90 01 00 14 	stw     r0,20(r1)                              
  switch (opt) {                                                      
ffc082d8:	41 82 00 50 	beq-    ffc08328 <tcsetattr+0x70>              
ffc082dc:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc082e0:	41 9e 00 2c 	beq-    cr7,ffc0830c <tcsetattr+0x54>          
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc082e4:	48 00 d9 f5 	bl      ffc15cd8 <__errno>                     
ffc082e8:	38 00 00 86 	li      r0,134                                 
ffc082ec:	90 03 00 00 	stw     r0,0(r3)                               
ffc082f0:	38 60 ff ff 	li      r3,-1                                  
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
ffc082f4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc082f8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc082fc:	7c 08 03 a6 	mtlr    r0                                     
ffc08300:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08304:	38 21 00 10 	addi    r1,r1,16                               
ffc08308:	4e 80 00 20 	blr                                            
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc0830c:	38 80 00 03 	li      r4,3                                   
ffc08310:	38 a0 00 00 	li      r5,0                                   
ffc08314:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08318:	48 00 95 19 	bl      ffc11830 <ioctl>                       
ffc0831c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    	return -1;                                                       
ffc08320:	38 60 ff ff 	li      r3,-1                                  
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc08324:	41 9c 00 18 	blt-    cr7,ffc0833c <tcsetattr+0x84>          <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc08328:	7f c3 f3 78 	mr      r3,r30                                 
ffc0832c:	38 80 00 02 	li      r4,2                                   
ffc08330:	7f e5 fb 78 	mr      r5,r31                                 
ffc08334:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08338:	48 00 94 f9 	bl      ffc11830 <ioctl>                       
  }                                                                   
}                                                                     
ffc0833c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08340:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc08344:	7c 08 03 a6 	mtlr    r0                                     
ffc08348:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0834c:	38 21 00 10 	addi    r1,r1,16                               
ffc08350:	4e 80 00 20 	blr                                            
                                                                      

ffc08c48 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
ffc08c48:	7d 80 00 26 	mfcr    r12                                    
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
ffc08c4c:	2f 83 00 01 	cmpwi   cr7,r3,1                               
int timer_create(                                                     
  clockid_t        clock_id,                                          
  struct sigevent *evp,                                               
  timer_t         *timerid                                            
)                                                                     
{                                                                     
ffc08c50:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc08c54:	7c 08 02 a6 	mflr    r0                                     
ffc08c58:	93 c1 00 10 	stw     r30,16(r1)                             
ffc08c5c:	7c be 2b 78 	mr      r30,r5                                 
ffc08c60:	93 e1 00 14 	stw     r31,20(r1)                             
ffc08c64:	7c 9f 23 78 	mr      r31,r4                                 
ffc08c68:	90 01 00 1c 	stw     r0,28(r1)                              
ffc08c6c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc08c70:	91 81 00 08 	stw     r12,8(r1)                              
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
ffc08c74:	40 9e 01 04 	bne-    cr7,ffc08d78 <timer_create+0x130>      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
ffc08c78:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc08c7c:	41 9e 00 fc 	beq-    cr7,ffc08d78 <timer_create+0x130>      
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
ffc08c80:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc08c84:	41 92 00 2c 	beq-    cr4,ffc08cb0 <timer_create+0x68>       
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
ffc08c88:	81 24 00 00 	lwz     r9,0(r4)                               
ffc08c8c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc08c90:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc08c94:	41 9d 00 e4 	bgt-    cr7,ffc08d78 <timer_create+0x130>      <== NEVER TAKEN
         ( evp->sigev_notify != SIGEV_SIGNAL ) ) {                    
       /* The value of the field sigev_notify is not valid */         
       rtems_set_errno_and_return_minus_one( EINVAL );                
     }                                                                
                                                                      
     if ( !evp->sigev_signo )                                         
ffc08c98:	81 24 00 04 	lwz     r9,4(r4)                               
ffc08c9c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08ca0:	41 9e 00 d8 	beq-    cr7,ffc08d78 <timer_create+0x130>      <== NEVER TAKEN
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
ffc08ca4:	39 29 ff ff 	addi    r9,r9,-1                               
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
ffc08ca8:	2b 89 00 1f 	cmplwi  cr7,r9,31                              
ffc08cac:	41 9d 00 cc 	bgt-    cr7,ffc08d78 <timer_create+0x130>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc08cb0:	3d 20 00 00 	lis     r9,0                                   
ffc08cb4:	81 69 28 14 	lwz     r11,10260(r9)                          
ffc08cb8:	38 0b 00 01 	addi    r0,r11,1                               
ffc08cbc:	90 09 28 14 	stw     r0,10260(r9)                           
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Allocate( void )
{                                                                     
  return (POSIX_Timer_Control *) _Objects_Allocate( &_POSIX_Timer_Information );
ffc08cc0:	3f a0 00 00 	lis     r29,0                                  
ffc08cc4:	3b bd 2f 2c 	addi    r29,r29,12076                          
ffc08cc8:	7f a3 eb 78 	mr      r3,r29                                 
ffc08ccc:	48 00 28 d9 	bl      ffc0b5a4 <_Objects_Allocate>           
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
ffc08cd0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc08cd4:	41 82 00 d8 	beq-    ffc08dac <timer_create+0x164>          
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
ffc08cd8:	38 00 00 02 	li      r0,2                                   
ffc08cdc:	98 03 00 3c 	stb     r0,60(r3)                              
  ptimer->thread_id = _Thread_Executing->Object.id;                   
ffc08ce0:	3d 20 00 00 	lis     r9,0                                   
ffc08ce4:	81 29 31 70 	lwz     r9,12656(r9)                           
ffc08ce8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc08cec:	90 03 00 38 	stw     r0,56(r3)                              
                                                                      
  if ( evp != NULL ) {                                                
ffc08cf0:	41 92 00 1c 	beq-    cr4,ffc08d0c <timer_create+0xc4>       
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
ffc08cf4:	81 7f 00 00 	lwz     r11,0(r31)                             
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
ffc08cf8:	81 3f 00 04 	lwz     r9,4(r31)                              
    ptimer->inf.sigev_value  = evp->sigev_value;                      
ffc08cfc:	80 1f 00 08 	lwz     r0,8(r31)                              
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
ffc08d00:	91 63 00 40 	stw     r11,64(r3)                             
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
ffc08d04:	91 23 00 44 	stw     r9,68(r3)                              
    ptimer->inf.sigev_value  = evp->sigev_value;                      
ffc08d08:	90 03 00 48 	stw     r0,72(r3)                              
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc08d0c:	81 23 00 08 	lwz     r9,8(r3)                               
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
ffc08d10:	38 00 00 00 	li      r0,0                                   
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc08d14:	81 5d 00 1c 	lwz     r10,28(r29)                            
ffc08d18:	55 2b 13 ba 	rlwinm  r11,r9,2,14,29                         
ffc08d1c:	90 03 00 68 	stw     r0,104(r3)                             
  ptimer->timer_data.it_value.tv_sec     = 0;                         
ffc08d20:	90 03 00 5c 	stw     r0,92(r3)                              
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
ffc08d24:	90 03 00 60 	stw     r0,96(r3)                              
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
ffc08d28:	90 03 00 54 	stw     r0,84(r3)                              
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
ffc08d2c:	90 03 00 58 	stw     r0,88(r3)                              
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08d30:	90 03 00 18 	stw     r0,24(r3)                              
  the_watchdog->routine   = routine;                                  
ffc08d34:	90 03 00 2c 	stw     r0,44(r3)                              
  the_watchdog->id        = id;                                       
ffc08d38:	90 03 00 30 	stw     r0,48(r3)                              
  the_watchdog->user_data = user_data;                                
ffc08d3c:	90 03 00 34 	stw     r0,52(r3)                              
ffc08d40:	7c 6a 59 2e 	stwx    r3,r10,r11                             
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
ffc08d44:	90 03 00 0c 	stw     r0,12(r3)                              
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
ffc08d48:	91 3e 00 00 	stw     r9,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc08d4c:	48 00 3d 8d 	bl      ffc0cad8 <_Thread_Enable_dispatch>     
  return 0;                                                           
ffc08d50:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc08d54:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08d58:	81 81 00 08 	lwz     r12,8(r1)                              
ffc08d5c:	7c 08 03 a6 	mtlr    r0                                     
ffc08d60:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc08d64:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc08d68:	7d 80 81 20 	mtcrf   8,r12                                  
ffc08d6c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc08d70:	38 21 00 18 	addi    r1,r1,24                               
ffc08d74:	4e 80 00 20 	blr                                            
                                                                      
     if ( !evp->sigev_signo )                                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
ffc08d78:	48 00 ba 91 	bl      ffc14808 <__errno>                     
ffc08d7c:	38 00 00 16 	li      r0,22                                  
ffc08d80:	90 03 00 00 	stw     r0,0(r3)                               
ffc08d84:	38 60 ff ff 	li      r3,-1                                  
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
ffc08d88:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08d8c:	81 81 00 08 	lwz     r12,8(r1)                              
ffc08d90:	7c 08 03 a6 	mtlr    r0                                     
ffc08d94:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc08d98:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc08d9c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc08da0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc08da4:	38 21 00 18 	addi    r1,r1,24                               
ffc08da8:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
    _Thread_Enable_dispatch();                                        
ffc08dac:	48 00 3d 2d 	bl      ffc0cad8 <_Thread_Enable_dispatch>     
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
ffc08db0:	48 00 ba 59 	bl      ffc14808 <__errno>                     
ffc08db4:	38 00 00 0b 	li      r0,11                                  
ffc08db8:	90 03 00 00 	stw     r0,0(r3)                               
ffc08dbc:	38 60 ff ff 	li      r3,-1                                  
ffc08dc0:	4b ff ff 94 	b       ffc08d54 <timer_create+0x10c>          
                                                                      

ffc08dc4 <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
ffc08dc4:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc08dc8:	7c 08 02 a6 	mflr    r0                                     
ffc08dcc:	93 a1 00 34 	stw     r29,52(r1)                             
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
ffc08dd0:	7c bd 2b 79 	mr.     r29,r5                                 
  timer_t                  timerid,                                   
  int                      flags,                                     
  const struct itimerspec *value,                                     
  struct itimerspec       *ovalue                                     
)                                                                     
{                                                                     
ffc08dd4:	93 81 00 30 	stw     r28,48(r1)                             
ffc08dd8:	7c 9c 23 78 	mr      r28,r4                                 
ffc08ddc:	93 c1 00 38 	stw     r30,56(r1)                             
ffc08de0:	7c de 33 78 	mr      r30,r6                                 
ffc08de4:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc08de8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08dec:	90 01 00 44 	stw     r0,68(r1)                              
ffc08df0:	93 61 00 2c 	stw     r27,44(r1)                             
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
ffc08df4:	41 82 01 c4 	beq-    ffc08fb8 <timer_settime+0x1f4>         <== NEVER TAKEN
                                                                      
  /*                                                                  
   * First, it verifies if the structure "value" is correct           
   * if the number of nanoseconds is not correct return EINVAL        
   */                                                                 
  if ( !_Timespec_Is_valid( &(value->it_value) ) ) {                  
ffc08df8:	38 7d 00 08 	addi    r3,r29,8                               
ffc08dfc:	48 00 4d 2d 	bl      ffc0db28 <_Timespec_Is_valid>          
ffc08e00:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e04:	41 9e 01 b4 	beq-    cr7,ffc08fb8 <timer_settime+0x1f4>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
ffc08e08:	7f a3 eb 78 	mr      r3,r29                                 
ffc08e0c:	48 00 4d 1d 	bl      ffc0db28 <_Timespec_Is_valid>          
ffc08e10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e14:	41 9e 01 a4 	beq-    cr7,ffc08fb8 <timer_settime+0x1f4>     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
ffc08e18:	2f 9c 00 04 	cmpwi   cr7,r28,4                              
ffc08e1c:	41 9e 01 24 	beq-    cr7,ffc08f40 <timer_settime+0x17c>     
ffc08e20:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc08e24:	40 9e 01 94 	bne-    cr7,ffc08fb8 <timer_settime+0x1f4>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
ffc08e28:	80 1d 00 0c 	lwz     r0,12(r29)                             
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
    _Objects_Get( &_POSIX_Timer_Information, (Objects_Id) id, location );
ffc08e2c:	3c 60 00 00 	lis     r3,0                                   
ffc08e30:	81 5d 00 00 	lwz     r10,0(r29)                             
ffc08e34:	7f e4 fb 78 	mr      r4,r31                                 
ffc08e38:	81 7d 00 04 	lwz     r11,4(r29)                             
ffc08e3c:	38 63 2f 2c 	addi    r3,r3,12076                            
ffc08e40:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc08e44:	38 a1 00 08 	addi    r5,r1,8                                
ffc08e48:	90 01 00 20 	stw     r0,32(r1)                              
ffc08e4c:	91 41 00 14 	stw     r10,20(r1)                             
ffc08e50:	91 61 00 18 	stw     r11,24(r1)                             
ffc08e54:	91 21 00 1c 	stw     r9,28(r1)                              
ffc08e58:	48 00 2d 69 	bl      ffc0bbc0 <_Objects_Get>                
ffc08e5c:	7c 7f 1b 78 	mr      r31,r3                                 
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
ffc08e60:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08e64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08e68:	40 9e 01 50 	bne-    cr7,ffc08fb8 <timer_settime+0x1f4>     <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
ffc08e6c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08e70:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08e74:	40 9e 00 10 	bne-    cr7,ffc08e84 <timer_settime+0xc0>      
ffc08e78:	80 01 00 20 	lwz     r0,32(r1)                              
ffc08e7c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08e80:	41 9e 01 4c 	beq-    cr7,ffc08fcc <timer_settime+0x208>     
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
ffc08e84:	7f a3 eb 78 	mr      r3,r29                                 
ffc08e88:	48 00 4d 31 	bl      ffc0dbb8 <_Timespec_To_ticks>          
ffc08e8c:	90 7f 00 64 	stw     r3,100(r31)                            
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
ffc08e90:	38 61 00 1c 	addi    r3,r1,28                               
ffc08e94:	48 00 4d 25 	bl      ffc0dbb8 <_Timespec_To_ticks>          
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
ffc08e98:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc08e9c:	3c c0 ff c1 	lis     r6,-63                                 
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
ffc08ea0:	7c 64 1b 78 	mr      r4,r3                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
ffc08ea4:	38 c6 90 50 	addi    r6,r6,-28592                           
ffc08ea8:	38 7f 00 10 	addi    r3,r31,16                              
ffc08eac:	7f e7 fb 78 	mr      r7,r31                                 
ffc08eb0:	48 00 81 41 	bl      ffc10ff0 <_POSIX_Timer_Insert_helper>  
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
ffc08eb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08eb8:	41 9e 00 5c 	beq-    cr7,ffc08f14 <timer_settime+0x150>     
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
ffc08ebc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08ec0:	41 9e 00 24 	beq-    cr7,ffc08ee4 <timer_settime+0x120>     
         *ovalue = ptimer->timer_data;                                
ffc08ec4:	81 5f 00 54 	lwz     r10,84(r31)                            
ffc08ec8:	81 7f 00 58 	lwz     r11,88(r31)                            
ffc08ecc:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc08ed0:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc08ed4:	91 5e 00 00 	stw     r10,0(r30)                             
ffc08ed8:	91 7e 00 04 	stw     r11,4(r30)                             
ffc08edc:	91 3e 00 08 	stw     r9,8(r30)                              
ffc08ee0:	90 1e 00 0c 	stw     r0,12(r30)                             
       ptimer->timer_data = normalize;                                
ffc08ee4:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
       _TOD_Get( &ptimer->time );                                     
ffc08ee8:	38 7f 00 6c 	addi    r3,r31,108                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
         *ovalue = ptimer->timer_data;                                
       ptimer->timer_data = normalize;                                
ffc08eec:	90 1f 00 54 	stw     r0,84(r31)                             
ffc08ef0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc08ef4:	90 1f 00 58 	stw     r0,88(r31)                             
ffc08ef8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08efc:	90 1f 00 5c 	stw     r0,92(r31)                             
ffc08f00:	80 01 00 20 	lwz     r0,32(r1)                              
ffc08f04:	90 1f 00 60 	stw     r0,96(r31)                             
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
ffc08f08:	38 00 00 03 	li      r0,3                                   
ffc08f0c:	98 1f 00 3c 	stb     r0,60(r31)                             
       _TOD_Get( &ptimer->time );                                     
ffc08f10:	48 00 20 49 	bl      ffc0af58 <_TOD_Get>                    
       _Thread_Enable_dispatch();                                     
ffc08f14:	48 00 3b c5 	bl      ffc0cad8 <_Thread_Enable_dispatch>     
       return 0;                                                      
ffc08f18:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
ffc08f1c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc08f20:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc08f24:	7c 08 03 a6 	mtlr    r0                                     
ffc08f28:	83 81 00 30 	lwz     r28,48(r1)                             
ffc08f2c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc08f30:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc08f34:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc08f38:	38 21 00 40 	addi    r1,r1,64                               
ffc08f3c:	4e 80 00 20 	blr                                            
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
ffc08f40:	81 5d 00 00 	lwz     r10,0(r29)                             
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
ffc08f44:	3b 81 00 0c 	addi    r28,r1,12                              
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
ffc08f48:	81 7d 00 04 	lwz     r11,4(r29)                             
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
ffc08f4c:	7f 83 e3 78 	mr      r3,r28                                 
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
ffc08f50:	81 3d 00 08 	lwz     r9,8(r29)                              
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
ffc08f54:	3b 61 00 1c 	addi    r27,r1,28                              
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
ffc08f58:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc08f5c:	91 41 00 14 	stw     r10,20(r1)                             
ffc08f60:	91 61 00 18 	stw     r11,24(r1)                             
ffc08f64:	91 21 00 1c 	stw     r9,28(r1)                              
ffc08f68:	90 01 00 20 	stw     r0,32(r1)                              
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
ffc08f6c:	48 00 1f ed 	bl      ffc0af58 <_TOD_Get>                    
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
ffc08f70:	7f 83 e3 78 	mr      r3,r28                                 
ffc08f74:	7f 64 db 78 	mr      r4,r27                                 
ffc08f78:	48 00 4b 75 	bl      ffc0daec <_Timespec_Greater_than>      
ffc08f7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08f80:	40 9e 00 38 	bne-    cr7,ffc08fb8 <timer_settime+0x1f4>     
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
ffc08f84:	7f 64 db 78 	mr      r4,r27                                 
ffc08f88:	7f 83 e3 78 	mr      r3,r28                                 
ffc08f8c:	7f 65 db 78 	mr      r5,r27                                 
ffc08f90:	48 00 4b d5 	bl      ffc0db64 <_Timespec_Subtract>          
ffc08f94:	3c 60 00 00 	lis     r3,0                                   
ffc08f98:	7f e4 fb 78 	mr      r4,r31                                 
ffc08f9c:	38 63 2f 2c 	addi    r3,r3,12076                            
ffc08fa0:	38 a1 00 08 	addi    r5,r1,8                                
ffc08fa4:	48 00 2c 1d 	bl      ffc0bbc0 <_Objects_Get>                
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
ffc08fa8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08fac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08fb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08fb4:	41 be fe b8 	beq-    cr7,ffc08e6c <timer_settime+0xa8>      
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
ffc08fb8:	48 00 b8 51 	bl      ffc14808 <__errno>                     
ffc08fbc:	38 00 00 16 	li      r0,22                                  
ffc08fc0:	90 03 00 00 	stw     r0,0(r3)                               
ffc08fc4:	38 60 ff ff 	li      r3,-1                                  
ffc08fc8:	4b ff ff 54 	b       ffc08f1c <timer_settime+0x158>         
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
ffc08fcc:	38 63 00 10 	addi    r3,r3,16                               
ffc08fd0:	48 00 53 0d 	bl      ffc0e2dc <_Watchdog_Remove>            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
ffc08fd4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08fd8:	41 9e 00 24 	beq-    cr7,ffc08ffc <timer_settime+0x238>     
           *ovalue = ptimer->timer_data;                              
ffc08fdc:	81 5f 00 54 	lwz     r10,84(r31)                            
ffc08fe0:	81 7f 00 58 	lwz     r11,88(r31)                            
ffc08fe4:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc08fe8:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc08fec:	91 5e 00 00 	stw     r10,0(r30)                             
ffc08ff0:	91 7e 00 04 	stw     r11,4(r30)                             
ffc08ff4:	91 3e 00 08 	stw     r9,8(r30)                              
ffc08ff8:	90 1e 00 0c 	stw     r0,12(r30)                             
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
ffc08ffc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09000:	90 1f 00 54 	stw     r0,84(r31)                             
ffc09004:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09008:	90 1f 00 58 	stw     r0,88(r31)                             
ffc0900c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09010:	90 1f 00 5c 	stw     r0,92(r31)                             
ffc09014:	80 01 00 20 	lwz     r0,32(r1)                              
ffc09018:	90 1f 00 60 	stw     r0,96(r31)                             
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
ffc0901c:	38 00 00 04 	li      r0,4                                   
ffc09020:	98 1f 00 3c 	stb     r0,60(r31)                             
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
ffc09024:	48 00 3a b5 	bl      ffc0cad8 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
ffc09028:	80 01 00 44 	lwz     r0,68(r1)                              
         ptimer->timer_data = normalize;                              
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
ffc0902c:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
ffc09030:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc09034:	7c 08 03 a6 	mtlr    r0                                     
ffc09038:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0903c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc09040:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc09044:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc09048:	38 21 00 40 	addi    r1,r1,64                               
ffc0904c:	4e 80 00 20 	blr                                            
                                                                      

ffc08af8 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
ffc08af8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08afc:	7c 08 02 a6 	mflr    r0                                     
ffc08b00:	93 e1 00 24 	stw     r31,36(r1)                             
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
ffc08b04:	3f e0 00 00 	lis     r31,0                                  
ffc08b08:	3b ff 35 34 	addi    r31,r31,13620                          
                                                                      
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
ffc08b0c:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
ffc08b10:	80 1f 00 1c 	lwz     r0,28(r31)                             
                                                                      
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
ffc08b14:	93 c1 00 20 	stw     r30,32(r1)                             
ffc08b18:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
ffc08b1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
ffc08b20:	93 81 00 18 	stw     r28,24(r1)                             
ffc08b24:	93 a1 00 1c 	stw     r29,28(r1)                             
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
ffc08b28:	41 9e 00 ac 	beq-    cr7,ffc08bd4 <ualarm+0xdc>             
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
ffc08b2c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08b30:	48 00 52 05 	bl      ffc0dd34 <_Watchdog_Remove>            
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
ffc08b34:	3b a0 00 00 	li      r29,0                                  
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
ffc08b38:	38 63 ff fe 	addi    r3,r3,-2                               
ffc08b3c:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc08b40:	40 9d 00 b4 	ble-    cr7,ffc08bf4 <ualarm+0xfc>             <== ALWAYS TAKEN
  /*                                                                  
   *  If useconds is non-zero, then the caller wants to schedule      
   *  the alarm repeatedly at that interval.  If the interval is      
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
ffc08b44:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08b48:	41 be 00 68 	beq+    cr7,ffc08bb0 <ualarm+0xb8>             
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
ffc08b4c:	3c 00 43 1b 	lis     r0,17179                               
ffc08b50:	60 00 de 83 	ori     r0,r0,56963                            
ffc08b54:	7c 1e 00 16 	mulhwu  r0,r30,r0                              
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
ffc08b58:	3b 81 00 08 	addi    r28,r1,8                               
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
ffc08b5c:	54 00 74 be 	rlwinm  r0,r0,14,18,31                         
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
ffc08b60:	54 0b 40 2e 	rlwinm  r11,r0,8,0,23                          
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
ffc08b64:	90 01 00 08 	stw     r0,8(r1)                               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
ffc08b68:	54 09 18 38 	rlwinm  r9,r0,3,0,28                           
ffc08b6c:	7d 29 58 50 	subf    r9,r9,r11                              
ffc08b70:	55 2b 30 32 	rlwinm  r11,r9,6,0,25                          
ffc08b74:	7d 29 58 50 	subf    r9,r9,r11                              
ffc08b78:	7d 29 02 14 	add     r9,r9,r0                               
ffc08b7c:	55 29 30 32 	rlwinm  r9,r9,6,0,25                           
ffc08b80:	7f c9 f0 50 	subf    r30,r9,r30                             
ffc08b84:	1f de 03 e8 	mulli   r30,r30,1000                           
    ticks = _Timespec_To_ticks( &tp );                                
ffc08b88:	7f 83 e3 78 	mr      r3,r28                                 
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
ffc08b8c:	93 c1 00 0c 	stw     r30,12(r1)                             
    ticks = _Timespec_To_ticks( &tp );                                
ffc08b90:	48 00 49 55 	bl      ffc0d4e4 <_Timespec_To_ticks>          
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
ffc08b94:	7f 83 e3 78 	mr      r3,r28                                 
ffc08b98:	48 00 49 4d 	bl      ffc0d4e4 <_Timespec_To_ticks>          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08b9c:	7f e4 fb 78 	mr      r4,r31                                 
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08ba0:	90 7f 00 0c 	stw     r3,12(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08ba4:	3c 60 00 00 	lis     r3,0                                   
ffc08ba8:	38 63 2d 88 	addi    r3,r3,11656                            
ffc08bac:	48 00 4f b9 	bl      ffc0db64 <_Watchdog_Insert>            
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
ffc08bb0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc08bb4:	7f a3 eb 78 	mr      r3,r29                                 
ffc08bb8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc08bbc:	7c 08 03 a6 	mtlr    r0                                     
ffc08bc0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc08bc4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc08bc8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc08bcc:	38 21 00 28 	addi    r1,r1,40                               
ffc08bd0:	4e 80 00 20 	blr                                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc08bd4:	3d 20 ff c1 	lis     r9,-63                                 
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08bd8:	90 1f 00 08 	stw     r0,8(r31)                              
  the_watchdog->routine   = routine;                                  
ffc08bdc:	39 29 8a a8 	addi    r9,r9,-30040                           
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
ffc08be0:	3b a0 00 00 	li      r29,0                                  
ffc08be4:	91 3f 00 1c 	stw     r9,28(r31)                             
  the_watchdog->id        = id;                                       
ffc08be8:	90 1f 00 20 	stw     r0,32(r31)                             
  the_watchdog->user_data = user_data;                                
ffc08bec:	90 1f 00 24 	stw     r0,36(r31)                             
ffc08bf0:	4b ff ff 54 	b       ffc08b44 <ualarm+0x4c>                 
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
ffc08bf4:	81 3f 00 0c 	lwz     r9,12(r31)                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
ffc08bf8:	38 81 00 08 	addi    r4,r1,8                                
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
ffc08bfc:	80 7f 00 14 	lwz     r3,20(r31)                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
      remaining += tp.tv_nsec / 1000;                                 
ffc08c00:	3f a0 10 62 	lis     r29,4194                               
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
ffc08c04:	80 1f 00 18 	lwz     r0,24(r31)                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
      remaining += tp.tv_nsec / 1000;                                 
ffc08c08:	63 bd 4d d3 	ori     r29,r29,19923                          
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
ffc08c0c:	7c 63 4a 14 	add     r3,r3,r9                               
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
ffc08c10:	7c 60 18 50 	subf    r3,r0,r3                               
ffc08c14:	48 00 48 31 	bl      ffc0d444 <_Timespec_From_ticks>        
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
ffc08c18:	80 01 00 08 	lwz     r0,8(r1)                               
      remaining += tp.tv_nsec / 1000;                                 
ffc08c1c:	81 21 00 0c 	lwz     r9,12(r1)                              
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
ffc08c20:	54 0a 40 2e 	rlwinm  r10,r0,8,0,23                          
ffc08c24:	54 0b 18 38 	rlwinm  r11,r0,3,0,28                          
ffc08c28:	7d 6b 50 50 	subf    r11,r11,r10                            
      remaining += tp.tv_nsec / 1000;                                 
ffc08c2c:	7f a9 e8 96 	mulhw   r29,r9,r29                             
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
ffc08c30:	55 6a 30 32 	rlwinm  r10,r11,6,0,25                         
ffc08c34:	7d 6b 50 50 	subf    r11,r11,r10                            
ffc08c38:	7c 0b 02 14 	add     r0,r11,r0                              
      remaining += tp.tv_nsec / 1000;                                 
ffc08c3c:	7f bd 36 70 	srawi   r29,r29,6                              
ffc08c40:	7d 29 fe 70 	srawi   r9,r9,31                               
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
ffc08c44:	54 00 30 32 	rlwinm  r0,r0,6,0,25                           
      remaining += tp.tv_nsec / 1000;                                 
ffc08c48:	7f a9 e8 50 	subf    r29,r9,r29                             
ffc08c4c:	7f bd 02 14 	add     r29,r29,r0                             
ffc08c50:	4b ff fe f4 	b       ffc08b44 <ualarm+0x4c>                 
                                                                      

ffc0936c <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
ffc0936c:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc09370:	7c 08 02 a6 	mflr    r0                                     
ffc09374:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc09378:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0937c:	90 01 00 54 	stw     r0,84(r1)                              
ffc09380:	93 61 00 3c 	stw     r27,60(r1)                             
ffc09384:	93 81 00 40 	stw     r28,64(r1)                             
ffc09388:	93 a1 00 44 	stw     r29,68(r1)                             
ffc0938c:	93 c1 00 48 	stw     r30,72(r1)                             
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
ffc09390:	4b ff c8 39 	bl      ffc05bc8 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc09394:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09398:	40 82 01 3c 	bne-    ffc094d4 <unlink+0x168>                
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc0939c:	3b c1 00 0c 	addi    r30,r1,12                              
ffc093a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc093a4:	38 81 00 08 	addi    r4,r1,8                                
ffc093a8:	7f c5 f3 78 	mr      r5,r30                                 
ffc093ac:	4b ff dc 4d 	bl      ffc06ff8 <rtems_filesystem_get_start_loc>
ffc093b0:	3b a0 00 00 	li      r29,0                                  
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc093b4:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc093b8:	80 01 00 0c 	lwz     r0,12(r1)                              
  name = path + parentpathlen;                                        
ffc093bc:	7f bf ea 14 	add     r29,r31,r29                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc093c0:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc093c4:	90 01 00 20 	stw     r0,32(r1)                              
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc093c8:	3b e1 00 20 	addi    r31,r1,32                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc093cc:	80 01 00 10 	lwz     r0,16(r1)                              
ffc093d0:	90 01 00 24 	stw     r0,36(r1)                              
ffc093d4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc093d8:	90 01 00 28 	stw     r0,40(r1)                              
ffc093dc:	80 01 00 18 	lwz     r0,24(r1)                              
ffc093e0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc093e4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc093e8:	90 01 00 30 	stw     r0,48(r1)                              
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc093ec:	48 01 01 fd 	bl      ffc195e8 <strlen>                      
ffc093f0:	7c 64 1b 78 	mr      r4,r3                                  
ffc093f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc093f8:	4b ff c8 31 	bl      ffc05c28 <rtems_filesystem_prefix_separators>
ffc093fc:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc09400:	7f a3 eb 78 	mr      r3,r29                                 
ffc09404:	48 01 01 e5 	bl      ffc195e8 <strlen>                      
ffc09408:	38 a0 00 00 	li      r5,0                                   
ffc0940c:	7c 64 1b 78 	mr      r4,r3                                  
ffc09410:	7f e6 fb 78 	mr      r6,r31                                 
ffc09414:	7f a3 eb 78 	mr      r3,r29                                 
ffc09418:	38 e0 00 00 	li      r7,0                                   
ffc0941c:	4b ff c6 85 	bl      ffc05aa0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc09420:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09424:	40 9e 00 74 	bne-    cr7,ffc09498 <unlink+0x12c>            
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
ffc09428:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc0942c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09430:	80 09 00 10 	lwz     r0,16(r9)                              
ffc09434:	7c 09 03 a6 	mtctr   r0                                     
ffc09438:	4e 80 04 21 	bctrl                                          
ffc0943c:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc09440:	41 9e 00 c8 	beq-    cr7,ffc09508 <unlink+0x19c>            
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
ffc09444:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc09448:	7f e4 fb 78 	mr      r4,r31                                 
ffc0944c:	7f c3 f3 78 	mr      r3,r30                                 
ffc09450:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09454:	7c 09 03 a6 	mtctr   r0                                     
ffc09458:	4e 80 04 21 	bctrl                                          
ffc0945c:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc09460:	7f e3 fb 78 	mr      r3,r31                                 
ffc09464:	4b ff c8 45 	bl      ffc05ca8 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc09468:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0946c:	40 9e 00 38 	bne-    cr7,ffc094a4 <unlink+0x138>            
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
ffc09470:	80 01 00 54 	lwz     r0,84(r1)                              
ffc09474:	7f 63 db 78 	mr      r3,r27                                 
ffc09478:	83 81 00 40 	lwz     r28,64(r1)                             
ffc0947c:	7c 08 03 a6 	mtlr    r0                                     
ffc09480:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc09484:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc09488:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc0948c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc09490:	38 21 00 50 	addi    r1,r1,80                               
ffc09494:	4e 80 00 20 	blr                                            
  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 )                                             
ffc09498:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc0949c:	3b 60 ff ff 	li      r27,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc094a0:	41 9e ff d0 	beq+    cr7,ffc09470 <unlink+0x104>            <== NEVER TAKEN
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
ffc094a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc094a8:	4b ff c8 01 	bl      ffc05ca8 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc094ac:	80 01 00 54 	lwz     r0,84(r1)                              
ffc094b0:	7f 63 db 78 	mr      r3,r27                                 
ffc094b4:	83 81 00 40 	lwz     r28,64(r1)                             
ffc094b8:	7c 08 03 a6 	mtlr    r0                                     
ffc094bc:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc094c0:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc094c4:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc094c8:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc094cc:	38 21 00 50 	addi    r1,r1,80                               
ffc094d0:	4e 80 00 20 	blr                                            
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
ffc094d4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc094d8:	3b c1 00 0c 	addi    r30,r1,12                              
ffc094dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc094e0:	7f a4 eb 78 	mr      r4,r29                                 
ffc094e4:	38 a0 00 02 	li      r5,2                                   
ffc094e8:	7f c6 f3 78 	mr      r6,r30                                 
ffc094ec:	38 e0 00 00 	li      r7,0                                   
ffc094f0:	4b ff c6 5d 	bl      ffc05b4c <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc094f4:	3b 60 ff ff 	li      r27,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
ffc094f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc094fc:	40 be ff 74 	bne-    cr7,ffc09470 <unlink+0x104>            <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc09500:	3b 80 00 01 	li      r28,1                                  
ffc09504:	4b ff fe b4 	b       ffc093b8 <unlink+0x4c>                 
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
ffc09508:	7f e3 fb 78 	mr      r3,r31                                 
ffc0950c:	4b ff c7 9d 	bl      ffc05ca8 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc09510:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc09514:	41 be 00 0c 	beq+    cr7,ffc09520 <unlink+0x1b4>            
      rtems_filesystem_freenode( &parentloc );                        
ffc09518:	7f c3 f3 78 	mr      r3,r30                                 
ffc0951c:	4b ff c7 8d 	bl      ffc05ca8 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EISDIR );                   
ffc09520:	48 00 ef 29 	bl      ffc18448 <__errno>                     
ffc09524:	38 00 00 15 	li      r0,21                                  
ffc09528:	90 03 00 00 	stw     r0,0(r3)                               
ffc0952c:	3b 60 ff ff 	li      r27,-1                                 
ffc09530:	4b ff ff 40 	b       ffc09470 <unlink+0x104>                
                                                                      

ffc0950c <unmount>: */ int unmount( const char *path ) {
ffc0950c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc09510:	7c 08 02 a6 	mflr    r0                                     
ffc09514:	93 c1 00 28 	stw     r30,40(r1)                             
ffc09518:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0951c:	90 01 00 34 	stw     r0,52(r1)                              
ffc09520:	93 e1 00 2c 	stw     r31,44(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 ) )
ffc09524:	48 00 c6 4d 	bl      ffc15b70 <strlen>                      
ffc09528:	3b e1 00 08 	addi    r31,r1,8                               
ffc0952c:	7c 64 1b 78 	mr      r4,r3                                  
ffc09530:	38 a0 00 00 	li      r5,0                                   
ffc09534:	7f c3 f3 78 	mr      r3,r30                                 
ffc09538:	7f e6 fb 78 	mr      r6,r31                                 
ffc0953c:	38 e0 00 01 	li      r7,1                                   
ffc09540:	4b ff c2 91 	bl      ffc057d0 <rtems_filesystem_evaluate_path>
ffc09544:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09548:	40 9e 00 98 	bne-    cr7,ffc095e0 <unmount+0xd4>            
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
ffc0954c:	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 ){                 
ffc09550:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09554:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc09558:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0955c:	40 9e 00 a4 	bne-    cr7,ffc09600 <unmount+0xf4>            
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc09560:	7f e3 fb 78 	mr      r3,r31                                 
ffc09564:	4b ff c3 c9 	bl      ffc0592c <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 )                
ffc09568:	3d 20 00 00 	lis     r9,0                                   
ffc0956c:	81 29 27 9c 	lwz     r9,10140(r9)                           
ffc09570:	80 09 00 14 	lwz     r0,20(r9)                              
ffc09574:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc09578:	41 9e 00 bc 	beq-    cr7,ffc09634 <unmount+0x128>           
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
ffc0957c:	80 9e 00 2c 	lwz     r4,44(r30)                             
ffc09580:	3c 60 ff c1 	lis     r3,-63                                 
ffc09584:	38 63 94 f8 	addi    r3,r3,-27400                           
ffc09588:	4b ff cf 29 	bl      ffc064b0 <rtems_filesystem_mount_iterate>
ffc0958c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09590:	40 9e 00 a4 	bne-    cr7,ffc09634 <unmount+0x128>           
   *  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 )             
ffc09594:	7f c3 f3 78 	mr      r3,r30                                 
ffc09598:	4b ff c8 09 	bl      ffc05da0 <rtems_libio_is_open_files_in_fs>
ffc0959c:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc095a0:	41 9e 00 94 	beq-    cr7,ffc09634 <unmount+0x128>           
   * 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 )             
ffc095a4:	81 3e 00 14 	lwz     r9,20(r30)                             
ffc095a8:	7f c3 f3 78 	mr      r3,r30                                 
    return -1;                                                        
ffc095ac:	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 )             
ffc095b0:	80 09 00 28 	lwz     r0,40(r9)                              
ffc095b4:	7c 09 03 a6 	mtctr   r0                                     
ffc095b8:	4e 80 04 21 	bctrl                                          
ffc095bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc095c0:	41 9e 00 a0 	beq-    cr7,ffc09660 <unmount+0x154>           <== ALWAYS TAKEN
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc095c4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc095c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc095cc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc095d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc095d4:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc095d8:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc095dc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc095e0:	80 01 00 34 	lwz     r0,52(r1)                              
   *    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;                                                        
ffc095e4:	3b e0 ff ff 	li      r31,-1                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc095e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc095ec:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc095f0:	7c 08 03 a6 	mtlr    r0                                     
ffc095f4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc095f8:	38 21 00 30 	addi    r1,r1,48                               
ffc095fc:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
ffc09600:	7f e3 fb 78 	mr      r3,r31                                 
ffc09604:	4b ff c3 29 	bl      ffc0592c <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc09608:	3b e0 ff ff 	li      r31,-1                                 
ffc0960c:	48 00 ae b9 	bl      ffc144c4 <__errno>                     
ffc09610:	38 00 00 0d 	li      r0,13                                  
ffc09614:	90 03 00 00 	stw     r0,0(r3)                               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc09618:	7f e3 fb 78 	mr      r3,r31                                 
ffc0961c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc09620:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09624:	7c 08 03 a6 	mtlr    r0                                     
ffc09628:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0962c:	38 21 00 30 	addi    r1,r1,48                               
ffc09630:	4e 80 00 20 	blr                                            
   *  descriptors that are currently active and reference nodes in the
   *  file system that we are trying to unmount                       
   */                                                                 
                                                                      
  if ( rtems_libio_is_open_files_in_fs( mt_entry ) == 1 )             
    rtems_set_errno_and_return_minus_one( EBUSY );                    
ffc09634:	48 00 ae 91 	bl      ffc144c4 <__errno>                     
ffc09638:	38 00 00 10 	li      r0,16                                  
ffc0963c:	90 03 00 00 	stw     r0,0(r3)                               
ffc09640:	3b e0 ff ff 	li      r31,-1                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc09644:	7f e3 fb 78 	mr      r3,r31                                 
ffc09648:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0964c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc09650:	7c 08 03 a6 	mtlr    r0                                     
ffc09654:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc09658:	38 21 00 30 	addi    r1,r1,48                               
ffc0965c:	4e 80 00 20 	blr                                            
   *  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){          
ffc09660:	81 3e 00 28 	lwz     r9,40(r30)                             
ffc09664:	7f c3 f3 78 	mr      r3,r30                                 
ffc09668:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0966c:	7c 09 03 a6 	mtctr   r0                                     
ffc09670:	4e 80 04 21 	bctrl                                          
ffc09674:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09678:	40 9e 00 58 	bne-    cr7,ffc096d0 <unmount+0x1c4>           <== NEVER TAKEN
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0967c:	3f e0 00 00 	lis     r31,0                                  
ffc09680:	80 7f 28 20 	lwz     r3,10272(r31)                          
ffc09684:	38 80 00 00 	li      r4,0                                   
ffc09688:	38 a0 00 00 	li      r5,0                                   
ffc0968c:	48 00 0c ad 	bl      ffc0a338 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc09690:	7f c3 f3 78 	mr      r3,r30                                 
ffc09694:	48 00 1b 19 	bl      ffc0b1ac <_Chain_Extract>              
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc09698:	80 7f 28 20 	lwz     r3,10272(r31)                          
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
ffc0969c:	3b e0 00 00 	li      r31,0                                  
ffc096a0:	48 00 0e 21 	bl      ffc0a4c0 <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 );                          
ffc096a4:	38 7e 00 08 	addi    r3,r30,8                               
ffc096a8:	4b ff c2 85 	bl      ffc0592c <rtems_filesystem_freenode>   
  free( mt_entry );                                                   
ffc096ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc096b0:	4b ff c2 a9 	bl      ffc05958 <free>                        
                                                                      
  return 0;                                                           
}                                                                     
ffc096b4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc096b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc096bc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc096c0:	7c 08 03 a6 	mtlr    r0                                     
ffc096c4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc096c8:	38 21 00 30 	addi    r1,r1,48                               
ffc096cc:	4e 80 00 20 	blr                                            
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
ffc096d0:	81 3e 00 14 	lwz     r9,20(r30)                             <== NOT EXECUTED
ffc096d4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc096d8:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
ffc096dc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc096e0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc096e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc096e8:	41 9e fe dc 	beq+    cr7,ffc095c4 <unmount+0xb8>            <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
ffc096ec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc096f0:	48 00 15 d5 	bl      ffc0acc4 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc07fe4 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
ffc07fe4:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc07fe8:	7d 80 00 26 	mfcr    r12                                    
ffc07fec:	7c 08 02 a6 	mflr    r0                                     
ffc07ff0:	93 21 00 3c 	stw     r25,60(r1)                             
ffc07ff4:	7c 99 23 78 	mr      r25,r4                                 
ffc07ff8:	93 e1 00 54 	stw     r31,84(r1)                             
ffc07ffc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08000:	90 01 00 5c 	stw     r0,92(r1)                              
ffc08004:	92 a1 00 2c 	stw     r21,44(r1)                             
ffc08008:	92 c1 00 30 	stw     r22,48(r1)                             
ffc0800c:	92 e1 00 34 	stw     r23,52(r1)                             
ffc08010:	93 01 00 38 	stw     r24,56(r1)                             
ffc08014:	93 41 00 40 	stw     r26,64(r1)                             
ffc08018:	93 61 00 44 	stw     r27,68(r1)                             
ffc0801c:	93 81 00 48 	stw     r28,72(r1)                             
ffc08020:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc08024:	93 c1 00 50 	stw     r30,80(r1)                             
ffc08028:	91 81 00 28 	stw     r12,40(r1)                             
  for (; *fmt != '\0'; fmt++) {                                       
ffc0802c:	88 63 00 00 	lbz     r3,0(r3)                               
ffc08030:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08034:	41 9e 02 00 	beq-    cr7,ffc08234 <vprintk+0x250>           <== NEVER TAKEN
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
ffc08038:	3f 00 00 00 	lis     r24,0                                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc0803c:	3a c1 00 08 	addi    r22,r1,8                               
ffc08040:	3e e0 ff c2 	lis     r23,-62                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
ffc08044:	3e a0 ff c2 	lis     r21,-62                                
ffc08048:	48 00 00 1c 	b       ffc08064 <vprintk+0x80>                
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
ffc0804c:	80 18 27 1c 	lwz     r0,10012(r24)                          
ffc08050:	7c 09 03 a6 	mtctr   r0                                     
ffc08054:	4e 80 04 21 	bctrl                                          
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc08058:	8c 7f 00 01 	lbzu    r3,1(r31)                              
ffc0805c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08060:	41 9e 01 d4 	beq-    cr7,ffc08234 <vprintk+0x250>           
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
ffc08064:	2f 83 00 25 	cmpwi   cr7,r3,37                              
ffc08068:	40 be ff e4 	bne-    cr7,ffc0804c <vprintk+0x68>            
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc0806c:	8d 3f 00 01 	lbzu    r9,1(r31)                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
ffc08070:	3b 40 00 20 	li      r26,32                                 
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc08074:	2f 89 00 30 	cmpwi   cr7,r9,48                              
ffc08078:	41 9e 02 3c 	beq-    cr7,ffc082b4 <vprintk+0x2d0>           
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc0807c:	2f 89 00 2d 	cmpwi   cr7,r9,45                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc08080:	39 60 00 00 	li      r11,0                                  
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc08084:	41 9e 02 44 	beq-    cr7,ffc082c8 <vprintk+0x2e4>           
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc08088:	38 09 ff d0 	addi    r0,r9,-48                              
ffc0808c:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc08090:	2b 80 00 09 	cmplwi  cr7,r0,9                               
ffc08094:	3b c0 00 00 	li      r30,0                                  
ffc08098:	41 9d 00 24 	bgt-    cr7,ffc080bc <vprintk+0xd8>            
      width *= 10;                                                    
ffc0809c:	1f de 00 0a 	mulli   r30,r30,10                             
      width += ((unsigned) *fmt - '0');                               
ffc080a0:	7f de 4a 14 	add     r30,r30,r9                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc080a4:	8d 3f 00 01 	lbzu    r9,1(r31)                              
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
ffc080a8:	3b de ff d0 	addi    r30,r30,-48                            
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc080ac:	38 09 ff d0 	addi    r0,r9,-48                              
ffc080b0:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc080b4:	2b 80 00 09 	cmplwi  cr7,r0,9                               
ffc080b8:	40 9d ff e4 	ble+    cr7,ffc0809c <vprintk+0xb8>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc080bc:	2f 89 00 6c 	cmpwi   cr7,r9,108                             
ffc080c0:	41 9e 01 ec 	beq-    cr7,ffc082ac <vprintk+0x2c8>           
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
ffc080c4:	2f 89 00 63 	cmpwi   cr7,r9,99                              
ffc080c8:	41 9e 01 b0 	beq-    cr7,ffc08278 <vprintk+0x294>           
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
ffc080cc:	2f 89 00 73 	cmpwi   cr7,r9,115                             
ffc080d0:	41 9e 02 20 	beq-    cr7,ffc082f0 <vprintk+0x30c>           
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
ffc080d4:	2f 89 00 6f 	cmpwi   cr7,r9,111                             
ffc080d8:	41 9e 02 0c 	beq-    cr7,ffc082e4 <vprintk+0x300>           
ffc080dc:	2f 89 00 4f 	cmpwi   cr7,r9,79                              
ffc080e0:	41 9e 02 04 	beq-    cr7,ffc082e4 <vprintk+0x300>           
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
ffc080e4:	2f 89 00 69 	cmpwi   cr7,r9,105                             
ffc080e8:	41 9e 00 58 	beq-    cr7,ffc08140 <vprintk+0x15c>           
ffc080ec:	2f 89 00 49 	cmpwi   cr7,r9,73                              
ffc080f0:	41 9e 00 50 	beq-    cr7,ffc08140 <vprintk+0x15c>           
ffc080f4:	2f 89 00 64 	cmpwi   cr7,r9,100                             
ffc080f8:	41 9e 00 48 	beq-    cr7,ffc08140 <vprintk+0x15c>           
                c == 'd' || c == 'D' ) {                              
ffc080fc:	2f 89 00 44 	cmpwi   cr7,r9,68                              
ffc08100:	41 9e 00 40 	beq-    cr7,ffc08140 <vprintk+0x15c>           
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
ffc08104:	2f 89 00 75 	cmpwi   cr7,r9,117                             
ffc08108:	41 9e 03 14 	beq-    cr7,ffc0841c <vprintk+0x438>           
ffc0810c:	2f 89 00 55 	cmpwi   cr7,r9,85                              
ffc08110:	41 9e 03 0c 	beq-    cr7,ffc0841c <vprintk+0x438>           
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
ffc08114:	2f 89 00 78 	cmpwi   cr7,r9,120                             
ffc08118:	41 9e 03 34 	beq-    cr7,ffc0844c <vprintk+0x468>           
ffc0811c:	2f 89 00 58 	cmpwi   cr7,r9,88                              
ffc08120:	41 9e 03 2c 	beq-    cr7,ffc0844c <vprintk+0x468>           
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
ffc08124:	2f 89 00 70 	cmpwi   cr7,r9,112                             
ffc08128:	41 9e 03 24 	beq-    cr7,ffc0844c <vprintk+0x468>           
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
ffc0812c:	80 18 27 1c 	lwz     r0,10012(r24)                          
ffc08130:	7d 23 4b 78 	mr      r3,r9                                  
ffc08134:	7c 09 03 a6 	mtctr   r0                                     
ffc08138:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc0813c:	4b ff ff 1c 	b       ffc08058 <vprintk+0x74>                
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
ffc08140:	39 20 00 01 	li      r9,1                                   
ffc08144:	3b a0 00 0a 	li      r29,10                                 
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc08148:	89 79 00 00 	lbz     r11,0(r25)                             
ffc0814c:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc08150:	40 9c 01 84 	bge-    cr7,ffc082d4 <vprintk+0x2f0>           
ffc08154:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc08158:	81 59 00 08 	lwz     r10,8(r25)                             
ffc0815c:	39 6b 00 01 	addi    r11,r11,1                              
ffc08160:	99 79 00 00 	stb     r11,0(r25)                             
ffc08164:	7d 4a 02 14 	add     r10,r10,r0                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc08168:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc0816c:	83 8a 00 00 	lwz     r28,0(r10)                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc08170:	41 9e 00 0c 	beq-    cr7,ffc0817c <vprintk+0x198>           
ffc08174:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc08178:	41 9c 02 b0 	blt-    cr7,ffc08428 <vprintk+0x444>           
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc0817c:	7c 1c eb 96 	divwu   r0,r28,r29                             
ffc08180:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08184:	57 a7 06 3e 	clrlwi  r7,r29,24                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc08188:	39 20 00 00 	li      r9,0                                   
  while ((n = unsigned_num / base) > 0) {                             
ffc0818c:	40 be 00 10 	bne+    cr7,ffc0819c <vprintk+0x1b8>           
ffc08190:	48 00 02 c8 	b       ffc08458 <vprintk+0x474>               
ffc08194:	7c 1c 03 78 	mr      r28,r0                                 
ffc08198:	7d 60 5b 78 	mr      r0,r11                                 
ffc0819c:	7d 60 eb 96 	divwu   r11,r0,r29                             
ffc081a0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
    toPrint[count++] = (char) (unsigned_num - (n * base));            
ffc081a4:	7d 07 01 d6 	mullw   r8,r7,r0                               
ffc081a8:	7d 41 4a 14 	add     r10,r1,r9                              
ffc081ac:	7f 88 e0 50 	subf    r28,r8,r28                             
ffc081b0:	9b 8a 00 08 	stb     r28,8(r10)                             
ffc081b4:	39 29 00 01 	addi    r9,r9,1                                
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc081b8:	40 9e ff dc 	bne+    cr7,ffc08194 <vprintk+0x1b0>           
ffc081bc:	3b 69 00 01 	addi    r27,r9,1                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc081c0:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
ffc081c4:	7d 21 4a 14 	add     r9,r1,r9                               
ffc081c8:	98 09 00 08 	stb     r0,8(r9)                               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc081cc:	40 9c 00 24 	bge-    cr7,ffc081f0 <vprintk+0x20c>           
ffc081d0:	3b 98 27 1c 	addi    r28,r24,10012                          
    BSP_output_char(lead);                                            
ffc081d4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc081d8:	7f 43 d3 78 	mr      r3,r26                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc081dc:	3b de ff ff 	addi    r30,r30,-1                             
    BSP_output_char(lead);                                            
ffc081e0:	7c 09 03 a6 	mtctr   r0                                     
ffc081e4:	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-- )                                  
ffc081e8:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc081ec:	41 9c ff e8 	blt+    cr7,ffc081d4 <vprintk+0x1f0>           
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc081f0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc081f4:	41 be fe 64 	beq-    cr7,ffc08058 <vprintk+0x74>            <== NEVER TAKEN
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc081f8:	7f b6 da 14 	add     r29,r22,r27                            
ffc081fc:	3b c0 00 00 	li      r30,0                                  
ffc08200:	3b 98 27 1c 	addi    r28,r24,10012                          
ffc08204:	3b 57 a1 7c 	addi    r26,r23,-24196                         
                                                                      
  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)])]); 
ffc08208:	8d 3d ff ff 	lbzu    r9,-1(r29)                             
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc0820c:	3b de 00 01 	addi    r30,r30,1                              
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
ffc08210:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08214:	7c 7a 48 ae 	lbzx    r3,r26,r9                              
ffc08218:	7c 09 03 a6 	mtctr   r0                                     
ffc0821c:	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++) {                                       
ffc08220:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc08224:	41 9d ff e4 	bgt+    cr7,ffc08208 <vprintk+0x224>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc08228:	8c 7f 00 01 	lbzu    r3,1(r31)                              
ffc0822c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08230:	40 9e fe 34 	bne+    cr7,ffc08064 <vprintk+0x80>            <== ALWAYS TAKEN
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
ffc08234:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc08238:	81 81 00 28 	lwz     r12,40(r1)                             
ffc0823c:	7c 08 03 a6 	mtlr    r0                                     
ffc08240:	82 a1 00 2c 	lwz     r21,44(r1)                             
ffc08244:	82 c1 00 30 	lwz     r22,48(r1)                             
ffc08248:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0824c:	82 e1 00 34 	lwz     r23,52(r1)                             
ffc08250:	83 01 00 38 	lwz     r24,56(r1)                             
ffc08254:	83 21 00 3c 	lwz     r25,60(r1)                             
ffc08258:	83 41 00 40 	lwz     r26,64(r1)                             
ffc0825c:	83 61 00 44 	lwz     r27,68(r1)                             
ffc08260:	83 81 00 48 	lwz     r28,72(r1)                             
ffc08264:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc08268:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc0826c:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc08270:	38 21 00 58 	addi    r1,r1,88                               
ffc08274:	4e 80 00 20 	blr                                            
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc08278:	89 39 00 00 	lbz     r9,0(r25)                              
ffc0827c:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc08280:	40 9c 01 6c 	bge-    cr7,ffc083ec <vprintk+0x408>           <== NEVER TAKEN
ffc08284:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc08288:	81 79 00 08 	lwz     r11,8(r25)                             
ffc0828c:	39 29 00 01 	addi    r9,r9,1                                
ffc08290:	99 39 00 00 	stb     r9,0(r25)                              
ffc08294:	7d 6b 02 14 	add     r11,r11,r0                             
      BSP_output_char(chr);                                           
ffc08298:	80 18 27 1c 	lwz     r0,10012(r24)                          
ffc0829c:	88 6b 00 03 	lbz     r3,3(r11)                              
ffc082a0:	7c 09 03 a6 	mtctr   r0                                     
ffc082a4:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc082a8:	4b ff fd b0 	b       ffc08058 <vprintk+0x74>                
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
ffc082ac:	8d 3f 00 01 	lbzu    r9,1(r31)                              
ffc082b0:	4b ff fe 14 	b       ffc080c4 <vprintk+0xe0>                
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
ffc082b4:	8d 3f 00 01 	lbzu    r9,1(r31)                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
ffc082b8:	3b 40 00 30 	li      r26,48                                 
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc082bc:	39 60 00 00 	li      r11,0                                  
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc082c0:	2f 89 00 2d 	cmpwi   cr7,r9,45                              
ffc082c4:	40 9e fd c4 	bne+    cr7,ffc08088 <vprintk+0xa4>            <== ALWAYS TAKEN
      minus = true;                                                   
      fmt++;                                                          
ffc082c8:	8d 3f 00 01 	lbzu    r9,1(r31)                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
ffc082cc:	39 60 00 01 	li      r11,1                                  
ffc082d0:	4b ff fd b8 	b       ffc08088 <vprintk+0xa4>                
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc082d4:	81 59 00 04 	lwz     r10,4(r25)                             
ffc082d8:	38 0a 00 04 	addi    r0,r10,4                               
ffc082dc:	90 19 00 04 	stw     r0,4(r25)                              
ffc082e0:	4b ff fe 88 	b       ffc08168 <vprintk+0x184>               
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
ffc082e4:	39 20 00 00 	li      r9,0                                   
ffc082e8:	3b a0 00 08 	li      r29,8                                  
ffc082ec:	4b ff fe 5c 	b       ffc08148 <vprintk+0x164>               
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc082f0:	89 39 00 00 	lbz     r9,0(r25)                              
ffc082f4:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc082f8:	40 9c 01 04 	bge-    cr7,ffc083fc <vprintk+0x418>           <== NEVER TAKEN
ffc082fc:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
ffc08300:	81 59 00 08 	lwz     r10,8(r25)                             
ffc08304:	39 29 00 01 	addi    r9,r9,1                                
ffc08308:	99 39 00 00 	stb     r9,0(r25)                              
ffc0830c:	7d 4a 02 14 	add     r10,r10,r0                             
ffc08310:	83 6a 00 00 	lwz     r27,0(r10)                             
                                                                      
      if ( str == NULL ) {                                            
ffc08314:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc08318:	41 9e 00 fc 	beq-    cr7,ffc08414 <vprintk+0x430>           
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
ffc0831c:	88 1b 00 00 	lbz     r0,0(r27)                              
ffc08320:	3b a0 00 00 	li      r29,0                                  
ffc08324:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08328:	41 9e 00 14 	beq-    cr7,ffc0833c <vprintk+0x358>           
ffc0832c:	3b bd 00 01 	addi    r29,r29,1                              
ffc08330:	7c 1b e8 ae 	lbzx    r0,r27,r29                             
ffc08334:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08338:	40 9e ff f4 	bne+    cr7,ffc0832c <vprintk+0x348>           
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
ffc0833c:	2e 0b 00 00 	cmpwi   cr4,r11,0                              
ffc08340:	40 92 00 30 	bne-    cr4,ffc08370 <vprintk+0x38c>           
        for ( i=len ; i<width ; i++ )                                 
ffc08344:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc08348:	40 9c 00 28 	bge-    cr7,ffc08370 <vprintk+0x38c>           
ffc0834c:	7f ba eb 78 	mr      r26,r29                                
ffc08350:	3b 98 27 1c 	addi    r28,r24,10012                          
          BSP_output_char(' ');                                       
ffc08354:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc08358:	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++ )                                 
ffc0835c:	3b 5a 00 01 	addi    r26,r26,1                              
          BSP_output_char(' ');                                       
ffc08360:	7c 09 03 a6 	mtctr   r0                                     
ffc08364:	4e 80 04 21 	bctrl                                          
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc08368:	7f 9a f0 40 	cmplw   cr7,r26,r30                            
ffc0836c:	41 9c ff e8 	blt+    cr7,ffc08354 <vprintk+0x370>           
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
ffc08370:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08374:	40 9e 00 10 	bne-    cr7,ffc08384 <vprintk+0x3a0>           
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc08378:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0837c:	41 9e 00 40 	beq-    cr7,ffc083bc <vprintk+0x3d8>           
ffc08380:	7f be eb 78 	mr      r30,r29                                
ffc08384:	88 7b 00 00 	lbz     r3,0(r27)                              
ffc08388:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0838c:	41 9e 00 30 	beq-    cr7,ffc083bc <vprintk+0x3d8>           <== NEVER TAKEN
        BSP_output_char(*str);                                        
ffc08390:	80 18 27 1c 	lwz     r0,10012(r24)                          
ffc08394:	3b 98 27 1c 	addi    r28,r24,10012                          
ffc08398:	7c 09 03 a6 	mtctr   r0                                     
ffc0839c:	4e 80 04 21 	bctrl                                          
ffc083a0:	48 00 00 10 	b       ffc083b0 <vprintk+0x3cc>               
ffc083a4:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc083a8:	7c 09 03 a6 	mtctr   r0                                     
ffc083ac:	4e 80 04 21 	bctrl                                          
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc083b0:	8c 7b 00 01 	lbzu    r3,1(r27)                              
ffc083b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc083b8:	40 9e ff ec 	bne+    cr7,ffc083a4 <vprintk+0x3c0>           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
ffc083bc:	41 b2 fc 9c 	beq-    cr4,ffc08058 <vprintk+0x74>            
        for ( i=len ; i<width ; i++ )                                 
ffc083c0:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc083c4:	40 bc fc 94 	bge-    cr7,ffc08058 <vprintk+0x74>            
ffc083c8:	3b 98 27 1c 	addi    r28,r24,10012                          
          BSP_output_char(' ');                                       
ffc083cc:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc083d0:	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++ )                                 
ffc083d4:	3b bd 00 01 	addi    r29,r29,1                              
          BSP_output_char(' ');                                       
ffc083d8:	7c 09 03 a6 	mtctr   r0                                     
ffc083dc:	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++ )                                 
ffc083e0:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc083e4:	41 9c ff e8 	blt+    cr7,ffc083cc <vprintk+0x3e8>           
ffc083e8:	4b ff fc 70 	b       ffc08058 <vprintk+0x74>                
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc083ec:	81 79 00 04 	lwz     r11,4(r25)                             <== NOT EXECUTED
ffc083f0:	38 0b 00 04 	addi    r0,r11,4                               <== NOT EXECUTED
ffc083f4:	90 19 00 04 	stw     r0,4(r25)                              <== NOT EXECUTED
ffc083f8:	4b ff fe a0 	b       ffc08298 <vprintk+0x2b4>               <== NOT EXECUTED
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc083fc:	81 59 00 04 	lwz     r10,4(r25)                             <== NOT EXECUTED
ffc08400:	38 0a 00 04 	addi    r0,r10,4                               <== NOT EXECUTED
ffc08404:	90 19 00 04 	stw     r0,4(r25)                              <== NOT EXECUTED
ffc08408:	83 6a 00 00 	lwz     r27,0(r10)                             <== NOT EXECUTED
                                                                      
      if ( str == NULL ) {                                            
ffc0840c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc08410:	40 9e ff 0c 	bne+    cr7,ffc0831c <vprintk+0x338>           <== NOT EXECUTED
        str = "";                                                     
ffc08414:	3b 75 96 a8 	addi    r27,r21,-26968                         
ffc08418:	4b ff ff 04 	b       ffc0831c <vprintk+0x338>               
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
ffc0841c:	39 20 00 00 	li      r9,0                                   
ffc08420:	3b a0 00 0a 	li      r29,10                                 
ffc08424:	4b ff fd 24 	b       ffc08148 <vprintk+0x164>               
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc08428:	80 18 27 1c 	lwz     r0,10012(r24)                          
ffc0842c:	38 60 00 2d 	li      r3,45                                  
    unsigned_num = (unsigned long) -num;                              
ffc08430:	7f 9c 00 d0 	neg     r28,r28                                
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc08434:	7c 09 03 a6 	mtctr   r0                                     
ffc08438:	4e 80 04 21 	bctrl                                          
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
ffc0843c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc08440:	41 be fd 3c 	beq-    cr7,ffc0817c <vprintk+0x198>           
ffc08444:	3b de ff ff 	addi    r30,r30,-1                             
ffc08448:	4b ff fd 34 	b       ffc0817c <vprintk+0x198>               
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
ffc0844c:	39 20 00 00 	li      r9,0                                   
ffc08450:	3b a0 00 10 	li      r29,16                                 
ffc08454:	4b ff fc f4 	b       ffc08148 <vprintk+0x164>               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc08458:	7f 80 e3 78 	mr      r0,r28                                 
ffc0845c:	3b 60 00 01 	li      r27,1                                  
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc08460:	39 20 00 00 	li      r9,0                                   
ffc08464:	4b ff fd 5c 	b       ffc081c0 <vprintk+0x1dc>               
                                                                      

ffc18d9c <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
ffc18d9c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc18da0:	7c 08 02 a6 	mflr    r0                                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18da4:	3d 20 00 00 	lis     r9,0                                   
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc18da8:	90 01 00 14 	stw     r0,20(r1)                              
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18dac:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc18db0:	93 e1 00 0c 	stw     r31,12(r1)                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc18db4:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc18db8:	40 9c 00 8c 	bge-    cr7,ffc18e44 <write+0xa8>              
  iop = rtems_libio_iop( fd );                                        
ffc18dbc:	3d 60 00 00 	lis     r11,0                                  
ffc18dc0:	83 eb 27 8c 	lwz     r31,10124(r11)                         
ffc18dc4:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc18dc8:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc18dcc:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc18dd0:	71 6a 01 00 	andi.   r10,r11,256                            
ffc18dd4:	41 82 00 70 	beq-    ffc18e44 <write+0xa8>                  
  rtems_libio_check_buffer( buffer );                                 
ffc18dd8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc18ddc:	41 9e 00 7c 	beq-    cr7,ffc18e58 <write+0xbc>              <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc18de0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc18de4:	38 60 00 00 	li      r3,0                                   
ffc18de8:	41 9e 00 48 	beq-    cr7,ffc18e30 <write+0x94>              
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
ffc18dec:	71 60 00 04 	andi.   r0,r11,4                               
ffc18df0:	41 82 00 68 	beq-    ffc18e58 <write+0xbc>                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
ffc18df4:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc18df8:	7f e3 fb 78 	mr      r3,r31                                 
ffc18dfc:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc18e00:	7c 09 03 a6 	mtctr   r0                                     
ffc18e04:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc18e08:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18e0c:	40 81 00 24 	ble-    ffc18e30 <write+0x94>                  
    iop->offset += rc;                                                
ffc18e10:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc18e14:	7c 6a 1b 78 	mr      r10,r3                                 
ffc18e18:	81 9f 00 14 	lwz     r12,20(r31)                            
ffc18e1c:	7c 69 fe 70 	srawi   r9,r3,31                               
ffc18e20:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc18e24:	7d 29 59 14 	adde    r9,r9,r11                              
ffc18e28:	91 3f 00 10 	stw     r9,16(r31)                             
ffc18e2c:	91 5f 00 14 	stw     r10,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc18e30:	80 01 00 14 	lwz     r0,20(r1)                              
ffc18e34:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc18e38:	38 21 00 10 	addi    r1,r1,16                               
ffc18e3c:	7c 08 03 a6 	mtlr    r0                                     
ffc18e40:	4e 80 00 20 	blr                                            
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
ffc18e44:	4b ff a5 f1 	bl      ffc13434 <__errno>                     
ffc18e48:	38 00 00 09 	li      r0,9                                   
ffc18e4c:	90 03 00 00 	stw     r0,0(r3)                               
ffc18e50:	38 60 ff ff 	li      r3,-1                                  
ffc18e54:	4b ff ff dc 	b       ffc18e30 <write+0x94>                  
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
ffc18e58:	4b ff a5 dd 	bl      ffc13434 <__errno>                     
ffc18e5c:	38 00 00 16 	li      r0,22                                  
ffc18e60:	90 03 00 00 	stw     r0,0(r3)                               
ffc18e64:	38 60 ff ff 	li      r3,-1                                  
ffc18e68:	4b ff ff c8 	b       ffc18e30 <write+0x94>                  
                                                                      

ffc09c14 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
ffc09c14:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc09c18:	7c 08 02 a6 	mflr    r0                                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09c1c:	3d 20 00 00 	lis     r9,0                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09c20:	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 );                                         
ffc09c24:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09c28:	93 61 00 14 	stw     r27,20(r1)                             
ffc09c2c:	7c bb 2b 78 	mr      r27,r5                                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09c30:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09c34:	93 21 00 0c 	stw     r25,12(r1)                             
ffc09c38:	93 41 00 10 	stw     r26,16(r1)                             
ffc09c3c:	93 81 00 18 	stw     r28,24(r1)                             
ffc09c40:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc09c44:	93 c1 00 20 	stw     r30,32(r1)                             
ffc09c48:	93 e1 00 24 	stw     r31,36(r1)                             
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09c4c:	40 9c 01 5c 	bge-    cr7,ffc09da8 <writev+0x194>            
  iop = rtems_libio_iop( fd );                                        
ffc09c50:	3d 20 00 00 	lis     r9,0                                   
ffc09c54:	83 29 27 8c 	lwz     r25,10124(r9)                          
ffc09c58:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc09c5c:	7f 39 1a 14 	add     r25,r25,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc09c60:	80 19 00 18 	lwz     r0,24(r25)                             
ffc09c64:	70 09 01 00 	andi.   r9,r0,256                              
ffc09c68:	41 82 01 40 	beq-    ffc09da8 <writev+0x194>                
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
ffc09c6c:	70 09 00 04 	andi.   r9,r0,4                                
ffc09c70:	41 82 00 f8 	beq-    ffc09d68 <writev+0x154>                <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc09c74:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc09c78:	41 9e 00 f0 	beq-    cr7,ffc09d68 <writev+0x154>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc09c7c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09c80:	40 9d 00 e8 	ble-    cr7,ffc09d68 <writev+0x154>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc09c84:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc09c88:	41 9d 00 e0 	bgt-    cr7,ffc09d68 <writev+0x154>            <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc09c8c:	7c 9d 23 78 	mr      r29,r4                                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc09c90:	7c a9 03 a6 	mtctr   r5                                     
ffc09c94:	7c 89 23 78 	mr      r9,r4                                  
ffc09c98:	39 00 00 01 	li      r8,1                                   
ffc09c9c:	39 60 00 00 	li      r11,0                                  
ffc09ca0:	48 00 00 08 	b       ffc09ca8 <writev+0x94>                 
   *  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++ ) {                    
ffc09ca4:	7c 0b 03 78 	mr      r11,r0                                 
                                                                      
    /*                                                                
     *  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 )                                       
ffc09ca8:	80 09 00 00 	lwz     r0,0(r9)                               
ffc09cac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09cb0:	41 9e 00 b8 	beq-    cr7,ffc09d68 <writev+0x154>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc09cb4:	81 49 00 04 	lwz     r10,4(r9)                              
   *  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++ ) {                    
ffc09cb8:	39 29 00 08 	addi    r9,r9,8                                
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc09cbc:	7c 0b 52 14 	add     r0,r11,r10                             
    if ( total < old || total > SSIZE_MAX )                           
ffc09cc0:	7f 80 58 00 	cmpw    cr7,r0,r11                             
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc09cc4:	31 4a ff ff 	addic   r10,r10,-1                             
ffc09cc8:	7d 4a 51 10 	subfe   r10,r10,r10                            
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc09ccc:	2f 00 7f ff 	cmpwi   cr6,r0,32767                           
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc09cd0:	7d 08 50 38 	and     r8,r8,r10                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc09cd4:	41 9c 00 94 	blt-    cr7,ffc09d68 <writev+0x154>            
ffc09cd8:	41 99 00 90 	bgt-    cr6,ffc09d68 <writev+0x154>            <== NEVER TAKEN
   *  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++ ) {                    
ffc09cdc:	42 00 ff c8 	bdnz+   ffc09ca4 <writev+0x90>                 
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc09ce0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    return 0;                                                         
ffc09ce4:	3b 40 00 00 	li      r26,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc09ce8:	40 9e 00 90 	bne-    cr7,ffc09d78 <writev+0x164>            
ffc09cec:	3b 80 00 00 	li      r28,0                                  
ffc09cf0:	48 00 00 10 	b       ffc09d00 <writev+0xec>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc09cf4:	7f 9b e0 00 	cmpw    cr7,r27,r28                            
ffc09cf8:	3b bd 00 08 	addi    r29,r29,8                              
ffc09cfc:	40 9d 00 7c 	ble-    cr7,ffc09d78 <writev+0x164>            
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc09d00:	80 bd 00 04 	lwz     r5,4(r29)                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc09d04:	3b 9c 00 01 	addi    r28,r28,1                              
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc09d08:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09d0c:	41 9e ff e8 	beq+    cr7,ffc09cf4 <writev+0xe0>             <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
ffc09d10:	81 39 00 24 	lwz     r9,36(r25)                             
ffc09d14:	7f 23 cb 78 	mr      r3,r25                                 
ffc09d18:	80 9d 00 00 	lwz     r4,0(r29)                              
ffc09d1c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09d20:	7c 09 03 a6 	mtctr   r0                                     
ffc09d24:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc09d28:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09d2c:	41 80 00 90 	blt-    ffc09dbc <writev+0x1a8>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc09d30:	41 82 00 28 	beq-    ffc09d58 <writev+0x144>                <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc09d34:	81 39 00 10 	lwz     r9,16(r25)                             
ffc09d38:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09d3c:	81 59 00 14 	lwz     r10,20(r25)                            
ffc09d40:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc09d44:	7f 5a 1a 14 	add     r26,r26,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc09d48:	7d 4a f8 14 	addc    r10,r10,r31                            
ffc09d4c:	7d 29 f1 14 	adde    r9,r9,r30                              
ffc09d50:	91 39 00 10 	stw     r9,16(r25)                             
ffc09d54:	91 59 00 14 	stw     r10,20(r25)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc09d58:	80 1d 00 04 	lwz     r0,4(r29)                              
ffc09d5c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc09d60:	41 9e ff 94 	beq+    cr7,ffc09cf4 <writev+0xe0>             <== ALWAYS TAKEN
ffc09d64:	48 00 00 14 	b       ffc09d78 <writev+0x164>                
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc09d68:	48 00 aa e9 	bl      ffc14850 <__errno>                     
ffc09d6c:	38 00 00 16 	li      r0,22                                  
ffc09d70:	90 03 00 00 	stw     r0,0(r3)                               
ffc09d74:	3b 40 ff ff 	li      r26,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc09d78:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc09d7c:	7f 43 d3 78 	mr      r3,r26                                 
ffc09d80:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc09d84:	7c 08 03 a6 	mtlr    r0                                     
ffc09d88:	83 41 00 10 	lwz     r26,16(r1)                             
ffc09d8c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc09d90:	83 81 00 18 	lwz     r28,24(r1)                             
ffc09d94:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc09d98:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc09d9c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc09da0:	38 21 00 28 	addi    r1,r1,40                               
ffc09da4:	4e 80 00 20 	blr                                            
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
ffc09da8:	48 00 aa a9 	bl      ffc14850 <__errno>                     
ffc09dac:	38 00 00 09 	li      r0,9                                   
ffc09db0:	90 03 00 00 	stw     r0,0(r3)                               
ffc09db4:	3b 40 ff ff 	li      r26,-1                                 
ffc09db8:	4b ff ff c0 	b       ffc09d78 <writev+0x164>                
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc09dbc:	3b 40 ff ff 	li      r26,-1                                 
ffc09dc0:	4b ff ff b8 	b       ffc09d78 <writev+0x164>                <== NOT EXECUTED